diff mbox series

[1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller

Message ID 20211224214512.1583430-2-peter.vasil@gmail.com
State New
Headers show
Series OMAP2: Nokia N810: prepare tahvo cells for display | expand

Commit Message

peter.vasil@gmail.com Dec. 24, 2021, 9:39 p.m. UTC
From: Peter Vasil <peter.vasil@gmail.com>

One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
to drive LED with 127 levels of brightness.
On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
---
 .../bindings/leds/nokia,tahvo-ledpwm.yaml     | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml

Comments

Tony Lindgren Feb. 3, 2022, 7:07 a.m. UTC | #1
* peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> From: Peter Vasil <peter.vasil@gmail.com>
> 
> One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
> to drive LED with 127 levels of brightness.
> On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.

Reviewed-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren Feb. 3, 2022, 7:11 a.m. UTC | #2
* Tony Lindgren <tony@atomide.com> [220203 07:07]:
> * peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> > From: Peter Vasil <peter.vasil@gmail.com>
> > 
> > One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
> > to drive LED with 127 levels of brightness.
> > On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
> 
> Reviewed-by: Tony Lindgren <tony@atomide.com>

Just noticed that the binding patches should be sent to Rob Herring
and devicetree list for merging. Please take a look at the MAINTAINERS
file for details and resend :)

Regards,

Tony
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml b/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml
new file mode 100644
index 000000000000..6f6d9e4a9425
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml
@@ -0,0 +1,32 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/nokia,tahvo-ledpwm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nokia Tahvo/Betty ASIC LEDPWM controller
+
+maintainers:
+  - Peter Vasil <peter.vasil@gmail.com>
+
+description:
+  One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able to
+  drive LED with 127 levels of brightness.
+  On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
+
+properties:
+  compatible:
+    const: nokia,tahvo-ledpwm
+
+additionalProperties: false
+
+examples:
+  - |
+
+    tahvo {
+        tahvo_ledpwm {
+            compatible = "nokia,tahvo-ledpwm";
+        };
+    };
+
+...