lkml.org 
[lkml]   [2021]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight
Date
Add bindings for DisplayPort aux backlight driver.

Changes in v2:
- New

Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
---
.../bindings/leds/backlight/dp-aux-backlight.yaml | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/dp-aux-backlight.yaml

diff --git a/Documentation/devicetree/bindings/leds/backlight/dp-aux-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/dp-aux-backlight.yaml
new file mode 100644
index 00000000..0fa8bf0
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/backlight/dp-aux-backlight.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/backlight/dp-aux-backlight.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: DisplayPort aux backlight driver bindings
+
+maintainers:
+ - Rajeev Nandan <rajeevny@codeaurora.org>
+
+description:
+ Backlight driver to control the brightness over DisplayPort aux channel.
+
+allOf:
+ - $ref: common.yaml#
+
+properties:
+ compatible:
+ const: dp-aux-backlight
+
+ ddc-i2c-bus:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ A phandle to the system I2C controller connected to the DDC bus used
+ for the DisplayPort AUX channel.
+
+ enable-gpios:
+ maxItems: 1
+ description: GPIO specifier for backlight enable pin.
+
+ max-brightness: true
+
+required:
+ - compatible
+ - ddc-i2c-bus
+
+additionalProperties: false
+
+examples:
+ - |
+ backlight {
+ compatible = "dp-aux-backlight";
+ ddc-i2c-bus = <&sn65dsi86_bridge>;
+ enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+ max-brightness = <2047>;
+ };
+
+...
--
2.7.4
\
 
 \ /
  Last update: 2021-04-26 08:01    [W:0.105 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site