[PATCH RESEND] dt-bindings: leds: sgm3140: Document ocp8110 compatible

André Apitzsch posted 1 patch 4 years ago
Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[PATCH RESEND] dt-bindings: leds: sgm3140: Document ocp8110 compatible
Posted by André Apitzsch 4 years ago
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 --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

Re: [PATCH RESEND] dt-bindings: leds: sgm3140: Document ocp8110 compatible
Posted by Rob Herring 3 years, 5 months ago
On Thu, 05 May 2022 20:53:44 +0200, André Apitzsch wrote:
> 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(-)
> 

Applied, thanks!