linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: leds: qcom-lpg: document PM8550 compatible
@ 2023-05-25 11:54 Neil Armstrong
  2023-05-25 12:00 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2023-05-25 11:54 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson
  Cc: linux-leds, devicetree, linux-kernel, Conor Dooley, Neil Armstrong

The PM8550 PWM modules are compatible with the PM8350c PWM modules,
document the PM8350c PWM compatible as fallback for the PM8550 PWM.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Rebased on for-leds-next
- Link to v1: https://lore.kernel.org/r/20230522-topic-sm8550-upstream-pm8550-lpg-v1-1-f016578d9e63@linaro.org
---
 .../devicetree/bindings/leds/leds-qcom-lpg.yaml    | 31 +++++++++++++---------
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
index 5550eef16593..e6f1999cb22f 100644
--- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
@@ -16,19 +16,24 @@ description: >
 
 properties:
   compatible:
-    enum:
-      - qcom,pm660l-lpg
-      - qcom,pm8150b-lpg
-      - qcom,pm8150l-lpg
-      - qcom,pm8350c-pwm
-      - qcom,pm8916-pwm
-      - qcom,pm8941-lpg
-      - qcom,pm8994-lpg
-      - qcom,pmc8180c-lpg
-      - qcom,pmi632-lpg
-      - qcom,pmi8994-lpg
-      - qcom,pmi8998-lpg
-      - qcom,pmk8550-pwm
+    oneOf:
+      - enum:
+          - qcom,pm660l-lpg
+          - qcom,pm8150b-lpg
+          - qcom,pm8150l-lpg
+          - qcom,pm8350c-pwm
+          - qcom,pm8916-pwm
+          - qcom,pm8941-lpg
+          - qcom,pm8994-lpg
+          - qcom,pmc8180c-lpg
+          - qcom,pmi632-lpg
+          - qcom,pmi8994-lpg
+          - qcom,pmi8998-lpg
+          - qcom,pmk8550-pwm
+      - items:
+          - enum:
+              - qcom,pm8550-pwm
+          - const: qcom,pm8350c-pwm
 
   "#pwm-cells":
     const: 2

---
base-commit: 0113cea8fd729ea6187e8d330f74a7e2a73bd970
change-id: 20230522-topic-sm8550-upstream-pm8550-lpg-5bf409842c3d

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] dt-bindings: leds: qcom-lpg: document PM8550 compatible
  2023-05-25 11:54 [PATCH v2] dt-bindings: leds: qcom-lpg: document PM8550 compatible Neil Armstrong
@ 2023-05-25 12:00 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-05-25 12:00 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bjorn Andersson, linux-leds, devicetree, linux-kernel,
	Conor Dooley

On Thu, 25 May 2023, Neil Armstrong wrote:

> The PM8550 PWM modules are compatible with the PM8350c PWM modules,
> document the PM8350c PWM compatible as fallback for the PM8550 PWM.
> 
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
> Changes in v2:
> - Rebased on for-leds-next
> - Link to v1: https://lore.kernel.org/r/20230522-topic-sm8550-upstream-pm8550-lpg-v1-1-f016578d9e63@linaro.org
> ---
>  .../devicetree/bindings/leds/leds-qcom-lpg.yaml    | 31 +++++++++++++---------
>  1 file changed, 18 insertions(+), 13 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-25 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 11:54 [PATCH v2] dt-bindings: leds: qcom-lpg: document PM8550 compatible Neil Armstrong
2023-05-25 12:00 ` Lee Jones

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).