devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Rayyan Ansari <rayyan.ansari@linaro.org>
Cc: devicetree@vger.kernel.org,
	Bjorn Andersson <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: clock: qcom,turingcc: convert to dtschema
Date: Mon, 15 Jul 2024 17:12:31 +0100	[thread overview]
Message-ID: <20240715-colony-hacksaw-6729fca296c6@spud> (raw)
In-Reply-To: <20240715-spoiled-corroding-4e288446829d@spud>

[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]

On Mon, Jul 15, 2024 at 05:11:49PM +0100, Conor Dooley wrote:
> On Mon, Jul 15, 2024 at 09:43:10AM +0100, Rayyan Ansari wrote:
> > diff --git a/Documentation/devicetree/bindings/clock/qcom,turingcc.yaml b/Documentation/devicetree/bindings/clock/qcom,turingcc.yaml
> > new file mode 100644
> > index 000000000000..0a57e42fb4d9
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/clock/qcom,turingcc.yaml
> 
> filename should match the compatible in the binding.
> 
> > @@ -0,0 +1,47 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/clock/qcom,turingcc.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Qualcomm Turing Clock & Reset Controller
> > +
> > +maintainers:
> > +  - Bjorn Andersson <andersson@kernel.org>
> > +
> > +properties:
> > +  compatible:
> > +    const: qcom,qcs404-turingcc
> > +
> > +  reg:
> > +    maxItems: 1
> > +
> > +  clocks:
> > +    maxItems: 1
> > +
> > +  '#clock-cells':
> > +    const: 1
> > +
> > +  '#reset-cells':
> > +    const: 1
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +  - clocks
> > +  - '#clock-cells'
> > +  - '#reset-cells'
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    #include <dt-bindings/clock/qcom,gcc-qcs404.h>
> > +    turingcc: clock-controller@800000 {
> 
> nit: drop the label
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

gah, I forgot to say that ack was conditional on the filename being
changed.

> 
> Cheers,
> Conor.
> 
> > +        compatible = "qcom,qcs404-turingcc";
> > +        reg = <0x00800000 0x30000>;
> > +        clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;
> > +
> > +        #clock-cells = <1>;
> > +        #reset-cells = <1>;
> > +    };
> > -- 
> > 2.45.2
> > 



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2024-07-15 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-15  8:43 [PATCH] dt-bindings: clock: qcom,turingcc: convert to dtschema Rayyan Ansari
2024-07-15 16:11 ` Conor Dooley
2024-07-15 16:12   ` Conor Dooley [this message]

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=20240715-colony-hacksaw-6729fca296c6@spud \
    --to=conor@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=rayyan.ansari@linaro.org \
    --cc=robh@kernel.org \
    --cc=sboyd@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).