* [PATCH 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding
@ 2026-11-19 2:48 Hefei
2026-11-19 17:51 ` Conor Dooley
0 siblings, 1 reply; 2+ messages in thread
From: Hefei @ 2026-11-19 2:48 UTC (permalink / raw)
To: dri-devel; +Cc: linux-input, devicetree, linux-kernel
Add the binding for the VIEWE panel backlight MCU on I2C.
Signed-off-by: Hefei <3066883572@qq.com>
---
.../leds/backlight/viewe,i2c-backlight.yaml | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
diff --git a/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
new file mode 100644
index 0000000..ab60c2c
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/backlight/viewe,i2c-backlight.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: VIEWE I2C panel backlight
+
+maintainers:
+ - Hefei <3066883572@qq.com>
+
+description: |
+ Simple I2C backlight used on VIEWE DSI modules. Default protocol is device
+ address 0x45, register 0x86, brightness 0..255.
+
+allOf:
+ - $ref: common.yaml#
+
+properties:
+ compatible:
+ const: viewe,i2c-backlight
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ backlight@45 {
+ compatible = "viewe,i2c-backlight";
+ reg = <0x45>;
+ default-brightness = <200>;
+ };
+ };
+...
--
2.55.0.windows.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding
2026-11-19 2:48 [PATCH 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding Hefei
@ 2026-11-19 17:51 ` Conor Dooley
0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2026-11-19 17:51 UTC (permalink / raw)
To: Hefei; +Cc: dri-devel, linux-input, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
On Thu, Nov 19, 2026 at 10:48:05AM +0800, Hefei wrote:
> Add the binding for the VIEWE panel backlight MCU on I2C.
>
> Signed-off-by: Hefei <3066883572@qq.com>
> ---
> .../leds/backlight/viewe,i2c-backlight.yaml | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
>
> diff --git a/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
> new file mode 100644
> index 0000000..ab60c2c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/viewe,i2c-backlight.yaml
> @@ -0,0 +1,44 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/backlight/viewe,i2c-backlight.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: VIEWE I2C panel backlight
> +
> +maintainers:
> + - Hefei <3066883572@qq.com>
> +
> +description: |
> + Simple I2C backlight used on VIEWE DSI modules. Default protocol is device
> + address 0x45, register 0x86, brightness 0..255.
> +
> +allOf:
> + - $ref: common.yaml#
> +
> +properties:
> + compatible:
> + const: viewe,i2c-backlight
This seems far too generic.
Do we not have access to a part number or something to better identify
this device?
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + backlight@45 {
> + compatible = "viewe,i2c-backlight";
> + reg = <0x45>;
> + default-brightness = <200>;
> + };
> + };
> +...
> --
> 2.55.0.windows.5
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-19 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 2:48 [PATCH 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding Hefei
2026-11-19 17:51 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox