[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8293b455-1150-edb5-9005-fda4f2d2971b@conchuod.ie>
Date: Wed, 15 Jun 2022 08:23:34 +0100
From: Conor Dooley <mail@...chuod.ie>
To: Romain Perier <romain.perier@...il.com>,
Thierry Reding <thierry.reding@...il.com>,
Lee Jones <lee.jones@...aro.org>,
Daniel Palmer <daniel@...f.com>,
Rob Herring <robh+dt@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree
bindings documentation
On 15/06/2022 08:08, Romain Perier wrote:
> This adds the documentation for the devicetree bindings of the Mstar
> MSC313e RTC driver, it includes MSC313e SoCs and SSD20xd.
I figure the RTC is a copy paste error?
>
> Signed-off-by: Romain Perier <romain.perier@...il.com>
> ---
> .../bindings/pwm/mstar,msc313e-pwm.yaml | 47 +++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml
>
> diff --git a/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml b/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml
> new file mode 100644
> index 000000000000..82f2357db085
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/mstar,msc313e-pwm.yaml
> @@ -0,0 +1,47 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/pwm/mstar,msc313e-pwm.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Mstar MSC313e PWM controller
> +
> +allOf:
> + - $ref: "pwm.yaml#"
> +
> +maintainers:
> + - Daniel Palmer <daniel@...f.com>
> + - Romain Perier <romain.perier@...il.com>
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - mstar,msc313e-pwm
> + - mstar,ssd20xd-pwm
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + "#pwm-cells":
> + const: 2
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pwm: pwm@...0 {
> + compatible = "mstar,msc313e-pwm";
> + reg = <0x3400 0x400>;
> + #pwm-cells = <2>;
> + clocks = <&xtal_div2>;
> + };
Powered by blists - more mailing lists