Skip to content

Commit d2bfa3f

Browse files
Kuldeep Singhvzapolskiy
authored andcommitted
ARM: dts: lpc32xx: Update spi clock properties
PL022 binding require two clocks to be defined but NXP LPC32xx platform doesn't comply with the bindings and define only one clock i.e apb_pclk. Update SPI clocks and clocks-names property by adding appropriate clock reference to make it compliant with the bindings. Noteworthy, strictly speaking the change tackles DT ABI by changing the order in the list of clock-names property values, however this level of impact is considered as acceptable. Cc: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com> [vzapolskiy: rebased and minor update to the commit message] Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
1 parent 867589d commit d2bfa3f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172
compatible = "arm,pl022", "arm,primecell";
173173
reg = <0x20084000 0x1000>;
174174
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
175-
clocks = <&clk LPC32XX_CLK_SSP0>;
176-
clock-names = "apb_pclk";
175+
clocks = <&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>;
176+
clock-names = "sspclk", "apb_pclk";
177177
#address-cells = <1>;
178178
#size-cells = <0>;
179179
status = "disabled";
@@ -196,8 +196,8 @@
196196
compatible = "arm,pl022", "arm,primecell";
197197
reg = <0x2008c000 0x1000>;
198198
interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
199-
clocks = <&clk LPC32XX_CLK_SSP1>;
200-
clock-names = "apb_pclk";
199+
clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>;
200+
clock-names = "sspclk", "apb_pclk";
201201
#address-cells = <1>;
202202
#size-cells = <0>;
203203
status = "disabled";

0 commit comments

Comments
 (0)