diff mbox series

[v2,07/10] dt-bindings: rtc: Add fsl,scu-rtc yaml file

Message ID 20220608164928.2706697-8-abel.vesa@nxp.com (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series dt-bindings: arm: freescale: Switch fsl,scu from txt to yaml | expand

Commit Message

Abel Vesa June 8, 2022, 4:49 p.m. UTC
In order to replace the fsl,scu txt file from bindings/arm/freescale,
we need to split it between the right subsystems. This patch documents
separately the 'rtc' child node of the SCU main node.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
---
 .../devicetree/bindings/rtc/fsl,scu-rtc.yaml  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml

Comments

Alexandre Belloni June 8, 2022, 5:04 p.m. UTC | #1
On 08/06/2022 19:49:25+0300, Abel Vesa wrote:
> In order to replace the fsl,scu txt file from bindings/arm/freescale,
> we need to split it between the right subsystems. This patch documents
> separately the 'rtc' child node of the SCU main node.
> 
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
> ---
>  .../devicetree/bindings/rtc/fsl,scu-rtc.yaml  | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> 
> diff --git a/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> new file mode 100644
> index 000000000000..bd8c3cf365ff
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> @@ -0,0 +1,22 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: i.MX SCU Client Device Node - RTC bindings based on SCU Message Protocol
> +
> +maintainers:
> +  - Alexandre Belloni <alexandre.belloni@bootlin.com>

Isn't NXP going to maintain their binding?

> +
> +description: i.MX SCU Client Device Node
> +  Client nodes are maintained as children of the relevant IMX-SCU device node.
> +
> +properties:
> +  compatible:
> +    const: fsl,imx8qxp-sc-rtc
> +
> +required:
> +  - compatible
> +
> +additionalProperties: false
> -- 
> 2.34.3
>
Abel Vesa June 9, 2022, 1:55 p.m. UTC | #2
On 22-06-08 19:04:55, Alexandre Belloni wrote:
> On 08/06/2022 19:49:25+0300, Abel Vesa wrote:
> > In order to replace the fsl,scu txt file from bindings/arm/freescale,
> > we need to split it between the right subsystems. This patch documents
> > separately the 'rtc' child node of the SCU main node.
> >
> > Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
> > ---
> >  .../devicetree/bindings/rtc/fsl,scu-rtc.yaml  | 22 +++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> > new file mode 100644
> > index 000000000000..bd8c3cf365ff
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
> > @@ -0,0 +1,22 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml
> > +$schema: http://devicetree.org/meta-schemas/core.yaml
> > +
> > +title: i.MX SCU Client Device Node - RTC bindings based on SCU Message Protocol
> > +
> > +maintainers:
> > +  - Alexandre Belloni <alexandre.belloni@bootlin.com>
>
> Isn't NXP going to maintain their binding?
>

Since there is no NXP maintainer for the i.MX rtc drivers,
I took whoever was in the MAINTAINERS file.

I had a chat with Aisheng Dong and he is OK being mentioned
as maintainer for all the binding docs related to SCU, not just this
one.

I'll send a new version.

> > +
> > +description: i.MX SCU Client Device Node
> > +  Client nodes are maintained as children of the relevant IMX-SCU device node.
> > +
> > +properties:
> > +  compatible:
> > +    const: fsl,imx8qxp-sc-rtc
> > +
> > +required:
> > +  - compatible
> > +
> > +additionalProperties: false
> > --
> > 2.34.3
> >
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com/
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
new file mode 100644
index 000000000000..bd8c3cf365ff
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml
@@ -0,0 +1,22 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: i.MX SCU Client Device Node - RTC bindings based on SCU Message Protocol
+
+maintainers:
+  - Alexandre Belloni <alexandre.belloni@bootlin.com>
+
+description: i.MX SCU Client Device Node
+  Client nodes are maintained as children of the relevant IMX-SCU device node.
+
+properties:
+  compatible:
+    const: fsl,imx8qxp-sc-rtc
+
+required:
+  - compatible
+
+additionalProperties: false