xref: /linux/Documentation/devicetree/bindings/leds/backlight/silergy,sy7758.yaml (revision f7e3f4d9f425cf4c5577cd84a096e6e618488083)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/leds/backlight/silergy,sy7758.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Silergy SY7758 6-channel High Efficiency LED Driver
8
9maintainers:
10  - Neil Armstrong <neil.armstrong@linaro.org>
11
12description:
13  Silergy SY7758 is a high efficiency 6-channels LED backlight
14  driver with I2C brightness control.
15
16allOf:
17  - $ref: common.yaml#
18
19properties:
20  compatible:
21    const: silergy,sy7758
22
23  reg:
24    maxItems: 1
25
26  vdd-supply: true
27
28  enable-gpios:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - enable-gpios
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/gpio/gpio.h>
41
42    i2c {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        backlight@11 {
47            compatible = "silergy,sy7758";
48            reg = <0x11>;
49            vdd-supply = <&bl_vdd>;
50            enable-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
51        };
52    };
53