]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: lpc32xx: Update spi clock properties
authorKuldeep Singh <singh.kuldeep87k@gmail.com>
Wed, 24 Dec 2025 04:52:05 +0000 (06:52 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Fri, 9 Jan 2026 07:15:39 +0000 (09:15 +0200)
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>
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi

index e780451fd3352e8b0cf6d0c37c301246aec4e333..206c66bdfe41eabfdf5929c39d9ca27ace435a83 100644 (file)
                                compatible = "arm,pl022", "arm,primecell";
                                reg = <0x20084000 0x1000>;
                                interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&clk LPC32XX_CLK_SSP0>;
-                               clock-names = "apb_pclk";
+                               clocks = <&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>;
+                               clock-names = "sspclk", "apb_pclk";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                status = "disabled";
                                compatible = "arm,pl022", "arm,primecell";
                                reg = <0x2008c000 0x1000>;
                                interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&clk LPC32XX_CLK_SSP1>;
-                               clock-names = "apb_pclk";
+                               clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>;
+                               clock-names = "sspclk", "apb_pclk";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                status = "disabled";