Re: [PATCH 2/2] dt-bindings: clock: ti,dra7-atl: convert to dt-schema
Rob Herring <[email protected]>
| Newsgroups | org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 13, 2026 at 12:41:18AM +0530, Bhargav Joshi wrote: > Convert the IP driver portion of the DRA7 ATL (Audio Tracking Logic) > binding from the freeform text binding to dt-schema. Together with > ti,dra7-atl-clock.yaml this fully replaces dra7-atl.txt. > > ti,hwmods is marked deprecated as modern DTS uses ti,sysc target-module > wrappers and the property is absent from current dra7-l4.dtsi. > > bws/aws maximum set to 15 per the 16 mux sources in > dt-bindings/clock/ti-dra7-atl.h. > > Signed-off-by: Bhargav Joshi <[email protected]> > --- > .../devicetree/bindings/clock/ti/dra7-atl.txt | 56 ------------- > .../devicetree/bindings/clock/ti/ti,dra7-atl.yaml | 98 ++++++++++++++++++++++ > 2 files changed, 98 insertions(+), 56 deletions(-) > diff --git a/Documentation/devicetree/bindings/clock/ti/ti,dra7-atl.yaml b/Documentation/devicetree/bindings/clock/ti/ti,dra7-atl.yaml > new file mode 100644 > index 000000000000..5460432219a5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/ti/ti,dra7-atl.yaml > @@ -0,0 +1,98 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/ti/ti,dra7-atl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI DRA7 ATL (Audio Tracking Logic) Clock Controller > + > +maintainers: > + - Peter Ujfalusi <[email protected]> > + > +description: > + The ATL IP is used to generate clock to be used to synchronize baseband and > + audio codec. A single ATL IP provides four ATL clock instances sharing the > + same functional clock but can be configured to provide different clocks. > + ATL can maintain a clock averages to some desired frequency based on the > + bws/aws signals - can compensate the drift between the two ws signal. > + > + See also Documentation/devicetree/bindings/clock/ti/ti,dra7-atl-clock.yaml > + > +properties: > + compatible: > + const: ti,dra7-atl > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: fck > + > + ti,provided-clocks: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + minItems: 4 > + maxItems: 4 As the phandles have no arg cells: items: maxItems: 1 With that, Reviewed-by: Rob Herring (Arm) <[email protected]>