Re: [PATCH] dt-bindings: clock: ti,dm816-fapll-clock: 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 Fri, Jul 17, 2026 at 11:43:37PM +0530, Bhargav Joshi wrote:
> Convert the Texas Instruments DM816 FAPLL clock binding from plain text
> to YAML DT schema.
> 
> The text documented #clock-cells to be set as 0, while the example and
> existing dt and driver require it to be 1. The schema now strictly
> enforces #clock-cells = <1>.
> 
> Properties clock-indices and clock-output-names are documented in the
> binding and added as required as driver strictly requires it and existing
> dt already use this property.
> 
> Signed-off-by: Bhargav Joshi <[email protected]>
> ---
>  .../devicetree/bindings/clock/ti/fapll.txt         | 31 ----------
>  .../bindings/clock/ti/ti,dm816-fapll-clock.yaml    | 72 ++++++++++++++++++++++
>  2 files changed, 72 insertions(+), 31 deletions(-)


> diff --git a/Documentation/devicetree/bindings/clock/ti/ti,dm816-fapll-clock.yaml b/Documentation/devicetree/bindings/clock/ti/ti,dm816-fapll-clock.yaml
> new file mode 100644
> index 000000000000..9b6b824faa30
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/ti/ti,dm816-fapll-clock.yaml
> @@ -0,0 +1,72 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/ti/ti,dm816-fapll-clock.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments FAPLL clock
> +
> +maintainers:
> +  - Tony Lindgren <[email protected]>
> +  - Tero Kristo <[email protected]>
> +
> +description:
> +  This binding uses the common clock binding. It assumes a register-mapped

Drop the first sentence.

> +  FAPLL with usually two selectable input clocks (reference clock and bypass
> +  clock), and one or more child synthesizers.
> +
> +properties:
> +  compatible:
> +    const: ti,dm816-fapll-clock
> +
> +  "#clock-cells":
> +    const: 1
> +
> +  reg:
> +    maxItems: 1
> +
> +  clocks:
> +    items:
> +      - description: phandle for parent clock clk-ref
> +      - description: phandle for parent clock clk-bypass

Drop 'phandle for'

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.