Document the I2C backlight MCU on the VIEWE 7KF82 module (address 0x45, register 0x86, brightness 0..255).
Signed-off-by: Hefei <[email protected]> --- .../leds/backlight/viewe,7kf82-backlight.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/viewe,7kf82-backlight.yaml diff --git a/Documentation/devicetree/bindings/leds/backlight/viewe,7kf82-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/viewe,7kf82-backlight.yaml new file mode 100644 index 000000000..e65aa4c22 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/viewe,7kf82-backlight.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/viewe,7kf82-backlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VIEWE 7KF82 I2C panel backlight + +maintainers: + - Hefei <[email protected]> + +description: | + I2C backlight MCU used on the VIEWE 7KF82 DSI module. Protocol is device + address 0x45, register 0x86, brightness 0..255. A discrete MCU part number + is not exposed on the FPC silk; the binding is therefore keyed to the + module. + +allOf: + - $ref: common.yaml# + +properties: + compatible: + const: viewe,7kf82-backlight + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + backlight@45 { + compatible = "viewe,7kf82-backlight"; + reg = <0x45>; + default-brightness = <200>; + }; + }; +... -- 2.55.0.windows.5
