]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: seattle: Update spi clock properties
authorKuldeep Singh <singh.kuldeep87k@gmail.com>
Tue, 5 Nov 2024 21:18:39 +0000 (15:18 -0600)
committerArnd Bergmann <arnd@arndb.de>
Tue, 12 Nov 2024 21:47:47 +0000 (22:47 +0100)
PL022 binding require two clocks to be defined but AMD seattle platform
does't comply with binding 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 bindings.

CC: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20241105-dts-spi-fixes-v2-1-623501e5d1ca@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi

index 690020589d41fe5cc3c5fec5e23f9547a63064e6..d3d931eb7677796fe46d09d946d7e7b6b8b9b231 100644 (file)
                        reg = <0 0xe1020000 0 0x1000>;
                        spi-controller;
                        interrupts = <0 330 4>;
-                       clocks = <&uartspiclk_100mhz>;
-                       clock-names = "apb_pclk";
+                       clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>;
+                       clock-names = "sspclk", "apb_pclk";
                };
 
                spi1: spi@e1030000 {
                        reg = <0 0xe1030000 0 0x1000>;
                        spi-controller;
                        interrupts = <0 329 4>;
-                       clocks = <&uartspiclk_100mhz>;
-                       clock-names = "apb_pclk";
+                       clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>;
+                       clock-names = "sspclk", "apb_pclk";
                        num-cs = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;