From: Danny Baumann <dannybaumann@web.de>
To: devicetree@vger.kernel.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org, aaro.koskinen@iki.fi,
andreas@kemnade.info, khilman@baylibre.com, rogerq@kernel.org,
tony@atomide.com
Cc: Danny Baumann <danny.baumann@legrand.com>, stable@vger.kernel.org
Subject: [PATCH] ARM: dts: ti/omap: dra7: Fix PCIe PHY divided clock generation
Date: Fri, 30 Jan 2026 10:35:50 +0100 [thread overview]
Message-ID: <20260130093550.751250-1-dannybaumann@web.de> (raw)
From: Danny Baumann <danny.baumann@legrand.com>
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 <andreas@kemnade.info>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: stable@vger.kernel.org # 6.13+
Signed-off-by: Danny Baumann <danny.baumann@legrand.com>
---
arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi b/arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi
index 0de16ee262cf..615a8fb47776 100644
--- a/arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi
+++ b/arch/arm/boot/dts/ti/omap/dra7xx-clocks.dtsi
@@ -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 {
--
2.52.0
reply other threads:[~2026-01-30 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260130093550.751250-1-dannybaumann@web.de \
--to=dannybaumann@web.de \
--cc=aaro.koskinen@iki.fi \
--cc=andreas@kemnade.info \
--cc=danny.baumann@legrand.com \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=rogerq@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox