diff mbox series

dt-bindings: leds: sgm3140: Document ocp8110 compatible

Message ID 20220404161428.17175-1-git@apitzsch.eu
State Accepted
Commit 642bb6a736fc5a7fec9ef9f5487f0abd71a1dc31
Headers show
Series dt-bindings: leds: sgm3140: Document ocp8110 compatible | expand

Commit Message

André Apitzsch April 4, 2022, 4:14 p.m. UTC
Add devicetree binding for Orient Chip OCP8110 charge pump used for
camera flash LEDs.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
Reviewed-by: Rob Herring <robh@kernel.org>
---
This patch was originally submitted as part of a series [1]. But only 1/3
and 3/3 made it into torvalds/linux.git
So this is a resubmisson to add the missing documentation.

[1]: https://lore.kernel.org/all/20220212180942.8241-2-git@apitzsch.eu/

 Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
index f68259619488..1c345cf16d08 100644
--- a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
@@ -18,7 +18,9 @@  description: |
 
 properties:
   compatible:
-    const: sgmicro,sgm3140
+    enum:
+      - ocs,ocp8110
+      - sgmicro,sgm3140
 
   enable-gpios:
     maxItems: 1