[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221221070216.17850-1-lujianhua000@gmail.com>
Date: Wed, 21 Dec 2022 15:02:16 +0800
From: Jianhua Lu <lujianhua000@...il.com>
To: Lee Jones <lee@...nel.org>,
Daniel Thompson <daniel.thompson@...aro.org>,
Jingoo Han <jingoohan1@...il.com>, Pavel Machek <pavel@....cz>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
Jianhua Lu <lujianhua000@...il.com>
Subject: [PATCH 2/2] dt-bindings: leds: backlight: add binding for Kinetic KTZ8866 backlight
Add device tree bindings for the Kinetic KTZ8866 backlight driver.
Signed-off-by: Jianhua Lu <lujianhua000@...il.com>
---
.../leds/backlight/kinetic,ktz8866.yaml | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
diff --git a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
new file mode 100644
index 000000000000..7286c3fc7f5d
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Kinetic Technologies KTZ8866 backlight
+
+maintainers:
+ - Jianhua Lu <lujianhua000@...il.com>
+
+description: |
+ The Kinetic Technologies KTZ8866 is a high efficiency 6-sinks led backlight
+ with dual lcd bias power.
+ https://www.kinet-ic.com/ktz8866/
+
+allOf:
+ - $ref: common.yaml#
+
+properties:
+ compatible:
+ items:
+ const: kinetic,ktz8866
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ backlight {
+ compatible = "kinetic,ktz8866";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&bl_en_default>;
+ };
--
2.38.2
Powered by blists - more mailing lists