]> Git Repo - J-linux.git/commitdiff
arm64: dts: lg131x: Update spi clock properties
authorKuldeep Singh <[email protected]>
Tue, 5 Nov 2024 21:18:40 +0000 (15:18 -0600)
committerArnd Bergmann <[email protected]>
Tue, 12 Nov 2024 21:47:47 +0000 (22:47 +0100)
PL022 binding require two clocks to be defined but LG1312 and LG1313
platforms don't comply with bindings and define only one clock.

Update spi clocks and clocks-names property by adding appropriate clock
reference to make it compliant with bindings.

CC: Chanho Min <[email protected]>
Signed-off-by: Kuldeep Singh <[email protected]>
Signed-off-by: Rob Herring (Arm) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
arch/arm64/boot/dts/lg/lg1312.dtsi
arch/arm64/boot/dts/lg/lg1313.dtsi

index b864ffa74ea8b6ff72afbd698eab4d30ad990a37..bb0bcc6875dc9d9b8599bca77669c1065941d31f 100644 (file)
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x0 0xfe800000 0x1000>;
                        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk_bus>;
-                       clock-names = "apb_pclk";
+                       clocks = <&clk_bus>, <&clk_bus>;
+                       clock-names = "sspclk", "apb_pclk";
                };
                spi1: spi@fe900000 {
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x0 0xfe900000 0x1000>;
                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk_bus>;
-                       clock-names = "apb_pclk";
+                       clocks = <&clk_bus>, <&clk_bus>;
+                       clock-names = "sspclk", "apb_pclk";
                };
                dmac0: dma-controller@c1128000 {
                        compatible = "arm,pl330", "arm,primecell";
index 996fb39bb50c1f2074ddd5ac03f191091920c96b..c07d670bc4659d18c4bd7b11062d193dcaa1797e 100644 (file)
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x0 0xfe800000 0x1000>;
                        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk_bus>;
-                       clock-names = "apb_pclk";
+                       clocks = <&clk_bus>, <&clk_bus>;
+                       clock-names = "sspclk", "apb_pclk";
                };
                spi1: spi@fe900000 {
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x0 0xfe900000 0x1000>;
                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk_bus>;
-                       clock-names = "apb_pclk";
+                       clocks = <&clk_bus>, <&clk_bus>;
+                       clock-names = "sspclk", "apb_pclk";
                };
                dmac0: dma-controller@c1128000 {
                        compatible = "arm,pl330", "arm,primecell";
This page took 0.06372 seconds and 4 git commands to generate.