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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Vasil <peter.vasil@xxxxxxxxx>

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

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@xxxxxxxxx>
+
+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";
+        };
+    };
+
+...
-- 
2.25.1




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux