ARM: dts: ti/omap: dra7: Fix PCIe PHY divided clock generation
Subsystems (3)
PATCH 1/1 ARM: dts: ti/omap: dra7: Fix PCIe PHY divided clock generation
From: Danny Baumann <[email protected]>
Commit d0bdd8bb7f35a2b4434a3ef665f9cfc3aba886c7 ("ARM: dts: ti/omap:
dra7: fix redundant clock divider definition") removed the ti,dividers property in favor of the ti,max-div property. That particular divider is 'backwards', though (0 = 'divide by 2', 1 = 'do not divide, see AM574x TRM, table 3-846 on page 939), so the removal of that property inverted the driver behavior.
Restore previous behavior by restoring the ti,dividers property and fix the redundancy by removing the ti,max-div property instead.
Fixes d0bdd8bb7f35 ("ARM: dts: ti/omap: dra7: fix redundant clock divider definition")
Cc Andreas Kemnade <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc [email protected] # 6.13+
Signed-off-by Danny Baumann <[email protected]>
--- arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi +1 -1
@@ -1376,8 +1376,8 @@ optfclk_pciephy_div: clock-optfclk-pciephy-div-8@4a00821c { clocks = <&apll_pcie_ck>; #clock-cells = <0>; reg = <0x021c>; + ti,dividers = <2>, <1>; ti,bit-shift = <8>; - ti,max-div = <2>; }; apll_pcie_clkvcoldo: clock-apll-pcie-clkvcoldo {
Signature · 1 line
2.52.0