From: Romain Perier <romain.perier@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Lee Jones <lee.jones@linaro.org>, Daniel Palmer <daniel@0x0f.com>,
Romain Perier <romain.perier@gmail.com>,
Rob Herring <robh+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree bindings documentation
Date: Wed, 15 Jun 2022 09:08:09 +0200 [thread overview]
Message-ID: <20220615070813.7720-2-romain.perier@gmail.com> (raw)
In-Reply-To: <20220615070813.7720-1-romain.perier@gmail.com>
This adds the documentation for the devicetree bindings of the Mstar
MSC313e RTC driver, it includes MSC313e SoCs and SSD20xd.
Signed-off-by: Romain Perier <romain.perier@gmail.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@0x0f.com>
+ - Romain Perier <romain.perier@gmail.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@3400 {
+ compatible = "mstar,msc313e-pwm";
+ reg = <0x3400 0x400>;
+ #pwm-cells = <2>;
+ clocks = <&xtal_div2>;
+ };
--
2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Romain Perier <romain.perier@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Lee Jones <lee.jones@linaro.org>, Daniel Palmer <daniel@0x0f.com>,
Romain Perier <romain.perier@gmail.com>,
Rob Herring <robh+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree bindings documentation
Date: Wed, 15 Jun 2022 09:08:09 +0200 [thread overview]
Message-ID: <20220615070813.7720-2-romain.perier@gmail.com> (raw)
In-Reply-To: <20220615070813.7720-1-romain.perier@gmail.com>
This adds the documentation for the devicetree bindings of the Mstar
MSC313e RTC driver, it includes MSC313e SoCs and SSD20xd.
Signed-off-by: Romain Perier <romain.perier@gmail.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@0x0f.com>
+ - Romain Perier <romain.perier@gmail.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@3400 {
+ compatible = "mstar,msc313e-pwm";
+ reg = <0x3400 0x400>;
+ #pwm-cells = <2>;
+ clocks = <&xtal_div2>;
+ };
--
2.35.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-06-15 7:08 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-15 7:08 [PATCH 0/5] Add PWM for MStar SoCs Romain Perier
2022-06-15 7:08 ` Romain Perier
2022-06-15 7:08 ` Romain Perier [this message]
2022-06-15 7:08 ` [PATCH 1/5] dt-bindings: pwm: Add Mstar MSC313e PWM devicetree bindings documentation Romain Perier
2022-06-15 7:23 ` Conor Dooley
2022-06-15 7:23 ` Conor Dooley
2022-06-16 14:06 ` Romain Perier
2022-06-16 14:06 ` Romain Perier
2022-06-15 13:16 ` Rob Herring
2022-06-15 13:16 ` Rob Herring
2022-06-16 14:08 ` Romain Perier
2022-06-16 14:08 ` Romain Perier
2022-06-16 15:25 ` Rob Herring
2022-06-16 15:25 ` Rob Herring
2022-06-15 7:08 ` [PATCH 2/5] pwm: Add support for the MSTAR MSC313 PWM Romain Perier
2022-06-15 7:08 ` Romain Perier
2022-06-19 21:35 ` Uwe Kleine-König
2022-06-19 21:35 ` Uwe Kleine-König
2022-08-19 13:12 ` Romain Perier
2022-08-19 13:12 ` Romain Perier
2022-08-19 14:44 ` Uwe Kleine-König
2022-08-19 14:44 ` Uwe Kleine-König
2022-06-15 7:08 ` [PATCH 3/5] ARM: dts: mstar: Add pwm device node to infinity Romain Perier
2022-06-15 7:08 ` Romain Perier
2022-06-15 7:08 ` [PATCH 4/5] ARM: dts: mstar: Add pwm device node to infinity3 Romain Perier
2022-06-15 7:08 ` Romain Perier
2022-06-15 7:08 ` [PATCH 5/5] ARM: dts: mstar: Add pwm device node to infinity2m Romain Perier
2022-06-15 7:08 ` Romain Perier
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=20220615070813.7720-2-romain.perier@gmail.com \
--to=romain.perier@gmail.com \
--cc=daniel@0x0f.com \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.