2022-04-05 01:11:26

by André Apitzsch

[permalink] [raw]
Subject: [PATCH] dt-bindings: leds: sgm3140: Document ocp8110 compatible

Add devicetree binding for Orient Chip OCP8110 charge pump used for
camera flash LEDs.

Signed-off-by: André Apitzsch <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
---
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/[email protected]/

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

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
--
2.35.1