dt-bindings: clock: ti,DM814x-ADPLL: Convert to DT schema
Subsystems (2)
PATCH v3 1/1 dt-bindings: clock: ti,DM814x-ADPLL: Convert to DT schema
Convert the Texas Instruments DM814x ADPLL clock binding to DT schema format. Add 'clock-output-names' as required which was missing in legacy binding, as the driver (clk-adpll.c) mandates it and fails probing if it is missing.
---
Changes in v3:
- Rebased to latest mainline rc.
- Collected tag.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Droped description for items clock-output-names
- Dropped extra example
- Link to v1: https://lore.kernel.org/r/[email protected]
--- .../devicetree/bindings/clock/ti/adpll.txt | 39 ---------- .../bindings/clock/ti/ti,dm814-adpll-clock.yaml | 88 ++++++++++++++++++++++ 2 files changed, 88 insertions(+), 39 deletions(-)
Documentation/devicetree/bindings/clock/ti/adpll.txt deleted +0 -39
@@ -1,39 +0,0 @@ -Binding for Texas Instruments ADPLL clock. - -This binding uses the common clock binding[1]. It assumes a -register-mapped ADPLL with two to three selectable input clocks -and three to four children. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be one of "ti,dm814-adpll-s-clock" or - "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL -- #clock-cells : from common clock binding; shall be set to 1. -- clocks : link phandles of parent clocks clkinp and clkinpulow, note - that the adpll-s-clock also has an optional clkinphif -- reg : address and length of the register set for controlling the ADPLL. - -Examples: - adpll_mpu_ck: adpll@40 { - #clock-cells = <1>; - compatible = "ti,dm814-adpll-s-clock"; - reg = <0x40 0x40>; - clocks = <&devosc_ck &devosc_ck &devosc_ck>; - clock-names = "clkinp", "clkinpulow", "clkinphif"; - clock-output-names = "481c5040.adpll.dcoclkldo", - "481c5040.adpll.clkout", - "481c5040.adpll.clkoutx2", - "481c5040.adpll.clkouthif"; - }; - - adpll_dsp_ck: adpll@80 { - #clock-cells = <1>; - compatible = "ti,dm814-adpll-lj-clock"; - reg = <0x80 0x30>; - clocks = <&devosc_ck &devosc_ck>; - clock-names = "clkinp", "clkinpulow"; - clock-output-names = "481c5080.adpll.dcoclkldo", - "481c5080.adpll.clkout", - "481c5080.adpll.clkoutldo"; - };
Documentation/devicetree/bindings/clock/ti/ti,dm814-adpll-clock.yaml new file +88 -0
88 lines not on this page · raw message
---
base-commit: 9f0346dcbea363787186c94ef94dd01aaa215afa
change-id: 20260725-ti-adpll-ddfd84e4ef18
Best regards,
Signature · 1 line
Bhargav
Brian Masney
AppliedQuoted 1 line · Bhargav Joshi
dt-bindings: clock: ti,DM814x-ADPLL: Convert to DT schema
Applied, thanks!
[1/1] dt-bindings: clock: ti,DM814x-ADPLL: Convert to DT schema
commit: 307bee2e5a6ede1c50dcbf1ef803c7be44fbbcb6
Best regards,
Signature · 1 line
Brian Masney <[email protected]>