ARM: dts: bcm-cygnus: Update spi clock properties
Subsystems (2)
PATCH 1/1 ARM: dts: bcm-cygnus: Update spi clock properties
PL022 binding require two clocks to be defined but broadcom cygnus platform doesn'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.
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/bcm-cygnus.dtsi +6 -6
@@ -397,8 +397,8 @@ spi0: spi@18028000 { #size-cells = <0>; interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; pinctrl-0 = <&spi_0>; - clocks = <&axi81_clk>; - clock-names = "apb_pclk"; + clocks = <&axi81_clk>, <&axi81_clk>; + clock-names = "sspclk", "apb_pclk"; status = "disabled"; };
@@ -409,8 +409,8 @@ spi1: spi@18029000 { #size-cells = <0>; interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; pinctrl-0 = <&spi_1>; - clocks = <&axi81_clk>; - clock-names = "apb_pclk"; + clocks = <&axi81_clk>, <&axi81_clk>; + clock-names = "sspclk", "apb_pclk"; status = "disabled"; };
@@ -421,8 +421,8 @@ spi2: spi@1802a000 { #size-cells = <0>; interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; pinctrl-0 = <&spi_2>; - clocks = <&axi81_clk>; - clock-names = "apb_pclk"; + clocks = <&axi81_clk>, <&axi81_clk>; + clock-names = "sspclk", "apb_pclk"; status = "disabled"; };
Signature · 1 line
2.25.1
Quoted 8 lines · Kuldeep Singh
PL022 binding require two clocks to be defined but broadcom cygnus platform doesn'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 Florian Fainelli <[email protected]>Signed-off-by Kuldeep Singh <[email protected]>
Florian, this patch was initially based on stblinux,devicetree-arm64. I just checked on devicetree branch, and it can apply cleanly anyway. I hope there shouldn't be any need to send patch again. Please let me know in case something needs to be taken care. Thanks!
-Kuldeep
Florian Fainelli
AppliedQuoted 9 lines · Kuldeep Singh
PL022 binding require two clocks to be defined but broadcom cygnus platform doesn'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 Florian Fainelli <[email protected]>Signed-off-by Kuldeep Singh <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel