From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: "Lee Jones" <lee.jones@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@canonical.com>,
"Benson Leung" <bleung@chromium.org>,
"Guenter Roeck" <groeck@chromium.org>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Andy Gross" <agross@kernel.org>,
"Bjorn Andersson" <bjorn.andersson@linaro.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Douglas Anderson" <dianders@chromium.org>,
devicetree@vger.kernel.org, chrome-platform@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
linux-rockchip@lists.infradead.org
Subject: [PATCH 1/4] dt-bindings: pwm: google,cros-ec: include generic pwm schema
Date: Mon, 14 Feb 2022 09:19:13 +0100 [thread overview]
Message-ID: <20220214081916.162014-2-krzysztof.kozlowski@canonical.com> (raw)
In-Reply-To: <20220214081916.162014-1-krzysztof.kozlowski@canonical.com>
Include generic pwm.yaml schema, which enforces PWM node naming. Keep
the old name in bindings as deprecated.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 4 ++++
.../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
index d1f53bd449f7..0255b7028496 100644
--- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
+++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
@@ -89,6 +89,10 @@ properties:
ec-pwm:
$ref: "/schemas/pwm/google,cros-ec-pwm.yaml#"
+ deprecated: true
+
+ pwm:
+ $ref: "/schemas/pwm/google,cros-ec-pwm.yaml#"
keyboard-controller:
$ref: "/schemas/input/google,cros-ec-keyb.yaml#"
diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
index 4cfbffd8414a..7ab6912a845f 100644
--- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
@@ -16,6 +16,9 @@ description: |
An EC PWM node should be only found as a sub-node of the EC node (see
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
+allOf:
+ - $ref: pwm.yaml#
+
properties:
compatible:
const: google,cros-ec-pwm
@@ -39,7 +42,7 @@ examples:
compatible = "google,cros-ec-spi";
reg = <0>;
- cros_ec_pwm: ec-pwm {
+ cros_ec_pwm: pwm {
compatible = "google,cros-ec-pwm";
#pwm-cells = <1>;
};
--
2.32.0
next prev parent reply other threads:[~2022-02-14 8:20 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-14 8:19 [PATCH 0/4] mfd/pwm: dt-bindings: google,cros-ec: include generic pwm schema Krzysztof Kozlowski
2022-02-14 8:19 ` Krzysztof Kozlowski [this message]
2022-02-22 21:13 ` [PATCH 1/4] dt-bindings: pwm: " Rob Herring
2022-02-23 9:16 ` Lee Jones
2022-02-23 22:57 ` Heiko Stuebner
2022-02-24 10:02 ` Lee Jones
2022-02-24 10:06 ` Heiko Stuebner
2022-02-24 10:14 ` Krzysztof Kozlowski
2022-02-24 11:44 ` Lee Jones
2022-02-24 12:41 ` Thierry Reding
2022-02-24 12:51 ` Lee Jones
2022-02-14 8:19 ` [PATCH 2/4] arm64: dts: mt8183: align Google CROS EC PWM node name with dtschema Krzysztof Kozlowski
2022-02-14 15:21 ` AngeloGioacchino Del Regno
2022-03-02 19:06 ` Krzysztof Kozlowski
2022-04-19 10:12 ` (subset) " Krzysztof Kozlowski
2022-02-14 8:19 ` [PATCH 3/4] arm64: dts: qcom: " Krzysztof Kozlowski
2022-02-14 16:21 ` Doug Anderson
2022-02-24 20:54 ` (subset) " Bjorn Andersson
2022-02-14 8:19 ` [PATCH 4/4] arm64: dts: rk3399: " Krzysztof Kozlowski
2022-02-14 16:22 ` Doug Anderson
2022-02-22 23:27 ` (subset) [PATCH 0/4] mfd/pwm: dt-bindings: google, cros-ec: include generic pwm schema Heiko Stuebner
2022-02-23 6:22 ` Uwe Kleine-König
2022-02-23 7:09 ` Krzysztof Kozlowski
2022-04-04 17:02 ` [PATCH 0/4] mfd/pwm: dt-bindings: google,cros-ec: " patchwork-bot+chrome-platform
2022-04-04 17:14 ` patchwork-bot+chrome-platform
2022-04-04 17:16 ` Heiko Stübner
2022-04-04 17:20 ` Benson Leung
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=20220214081916.162014-2-krzysztof.kozlowski@canonical.com \
--to=krzysztof.kozlowski@canonical.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=groeck@chromium.org \
--cc=heiko@sntech.de \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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).