devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Abel Vesa <abel.vesa@nxp.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Dong Aisheng <aisheng.dong@nxp.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	devicetree@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 02/10] dt-bindings: arm: freescale: Add fsl,scu-clk yaml file
Date: Tue, 7 Jun 2022 10:29:42 -0600	[thread overview]
Message-ID: <20220607162942.GA3384053-robh@kernel.org> (raw)
In-Reply-To: <20220607105951.1821519-3-abel.vesa@nxp.com>

On Tue, Jun 07, 2022 at 01:59:43PM +0300, Abel Vesa wrote:
> This documents separately the clock child node of the SCU main node.
> 
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
> ---
>  .../bindings/arm/freescale/fsl,scu-clk.yaml   | 45 +++++++++++++++++++
>  1 file changed, 45 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,scu-clk.yaml
> 
> diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu-clk.yaml b/Documentation/devicetree/bindings/arm/freescale/fsl,scu-clk.yaml
> new file mode 100644
> index 000000000000..f6b97439ce38
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu-clk.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/freescale/fsl,scu-clk.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: i.MX SCU Client Device Node - Clock bindings based on SCU Message Protocol
> +
> +maintainers:
> +  - Shawn Guo <shawnguo@kernel.org>
> +
> +description: i.MX SCU Client Device Node
> +  Client nodes are maintained as children of the relevant IMX-SCU device node.
> +  This binding uses the common clock binding.
> +  (Documentation/devicetree/bindings/clock/clock-bindings.txt)
> +  The clock consumer should specify the desired clock by having the clock
> +  ID in its "clocks" phandle cell.
> +  See the full list of clock IDs from
> +  include/dt-bindings/clock/imx8qxp-clock.h
> +
> +properties:
> +  compatible:
> +    oneOf:
> +      - items:
> +          - enum:
> +              - fsl,imx8dxl-clk
> +              - fsl,imx8qm-clk
> +              - fsl,imx8qxp-clk
> +          - const: fsl,scu-clk
> +      - items:
> +          - const: fsl,imx8qxp-clk

Why do you need to support with and without a fallback?

> +  '#clock-cells':
> +    const: 2
> +  clocks:
> +    minItems: 1
> +    maxItems: 3

Need to define what are the clock entries.

> +  clock-names:
> +    minItems: 1
> +    maxItems: 3

Need to define the names.

> +
> +additionalProperties: false
> +
> +required:
> +  - compatible
> +  - '#clock-cells'
> -- 
> 2.34.3
> 
> 

  reply	other threads:[~2022-06-07 16:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07 10:59 [PATCH 00/10] dt-bindings: arm: freescale: Switch fsl,scu from txt to yaml Abel Vesa
2022-06-07 10:59 ` [PATCH 01/10] dt-bindings: arm: freescale: Switch fsl,scu " Abel Vesa
2022-06-07 15:43   ` Rob Herring
2022-06-07 16:28   ` Rob Herring
2022-06-08 12:07     ` Abel Vesa
2022-06-07 10:59 ` [PATCH 02/10] dt-bindings: arm: freescale: Add fsl,scu-clk yaml file Abel Vesa
2022-06-07 16:29   ` Rob Herring [this message]
2022-06-07 10:59 ` [PATCH 03/10] dt-bindings: arm: freescale: Add fsl,scu-iomux " Abel Vesa
2022-06-07 10:59 ` [PATCH 04/10] dt-bindings: arm: freescale: Add fsl,scu-key " Abel Vesa
2022-06-07 16:31   ` Rob Herring
2022-06-07 10:59 ` [PATCH 05/10] dt-bindings: arm: freescale: Add fsl,scu-ocotp " Abel Vesa
2022-06-07 10:59 ` [PATCH 06/10] dt-bindings: arm: freescale: Add fsl,scu-pd " Abel Vesa
2022-06-07 17:29   ` Krzysztof Kozlowski
2022-06-07 10:59 ` [PATCH 07/10] dt-bindings: arm: freescale: Add fsl,scu-rtc " Abel Vesa
2022-06-07 17:30   ` Krzysztof Kozlowski
2022-06-07 10:59 ` [PATCH 08/10] dt-bindings: arm: freescale: Add fsl,scu-thermal " Abel Vesa
2022-06-07 16:34   ` Rob Herring
2022-06-07 10:59 ` [PATCH 09/10] dt-bindings: arm: freescale: Add fsl,scu-wdt " Abel Vesa
2022-06-07 16:32   ` Rob Herring
2022-06-07 17:31   ` Krzysztof Kozlowski
2022-06-07 10:59 ` [PATCH 10/10] dt-bindings: arm: freescale: Remove fsl,scu txt file Abel Vesa

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=20220607162942.GA3384053-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=abel.vesa@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shawnguo@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).