[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220420141556.681212-4-fabiobaltieri@chromium.org>
Date: Wed, 20 Apr 2022 14:15:55 +0000
From: Fabio Baltieri <fabiobaltieri@...omium.org>
To: Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>
Cc: Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Lee Jones <lee.jones@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
chrome-platform@...ts.linux.dev, linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Fabio Baltieri <fabiobaltieri@...omium.org>
Subject: [PATCH v5 3/4] dt-bindings: update google,cros-ec-pwm documentation
Update google,cros-ec-pwm node documentation to mention the
google,cros-ec-pwm-type compatible.
Signed-off-by: Fabio Baltieri <fabiobaltieri@...omium.org>
---
.../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
index 7ab6912a845f..c8577bdf6c94 100644
--- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
@@ -21,7 +21,14 @@ allOf:
properties:
compatible:
- const: google,cros-ec-pwm
+ oneOf:
+ - description: PWM controlled using EC_PWM_TYPE_GENERIC channels.
+ items:
+ - const: google,cros-ec-pwm
+ - description: PWM controlled using CROS_EC_PWM_DT_<...> types.
+ items:
+ - const: google,cros-ec-pwm-type
+
"#pwm-cells":
description: The cell specifies the PWM index.
const: 1
--
2.36.0.rc0.470.gd361397f0d-goog
Powered by blists - more mailing lists