From: Alexandre Hamamdjian <[email protected]> The Silergy SY7758 is an I2C-controlled multi-channel LED backlight driver typically used to drive the edge-lit LED strings of LCD panels in handheld and embedded devices. Brightness is programmed as a 12-bit linear value through two 8-bit registers.
Document the binding for the new compatible "silergy,sy7758" so it can be referenced by board device trees and the matching driver, and add a MAINTAINERS entry covering both the binding and the upcoming driver. Co-developed-by: Philippe Simons <[email protected]> Signed-off-by: Philippe Simons <[email protected]> Signed-off-by: Alexandre Hamamdjian <[email protected]> --- .../bindings/leds/backlight/silergy,sy7758.yaml | 47 ++++++++++++++++++++++ MAINTAINERS | 7 ++++ 2 files changed, 54 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/silergy,sy7758.yaml b/Documentation/devicetree/bindings/leds/backlight/silergy,sy7758.yaml new file mode 100644 index 000000000000..408029e19e2e --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/silergy,sy7758.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/silergy,sy7758.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silergy SY7758 I2C LED backlight controller + +maintainers: + - Alexandre Hamamdjian <[email protected]> + - Philippe Simons <[email protected]> + +description: + The Silergy SY7758 is an I2C-controlled multi-channel LED backlight + driver typically used to drive the edge-lit LED strings of LCD panels + in handheld and embedded devices. Brightness is programmed as a 12-bit + linear value through two 8-bit registers. + +allOf: + - $ref: common.yaml# + +properties: + compatible: + const: silergy,sy7758 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + backlight@36 { + compatible = "silergy,sy7758"; + reg = <0x36>; + max-brightness = <4080>; + default-brightness = <1500>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index f877e5aaf2c7..9c132394ca41 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24561,6 +24561,13 @@ S: Maintained F: drivers/input/touchscreen/silead.c F: drivers/platform/x86/touchscreen_dmi.c +SILERGY SY7758 BACKLIGHT DRIVER +M: Alexandre Hamamdjian <[email protected]> +M: Philippe Simons <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/leds/backlight/silergy,sy7758.yaml +F: drivers/video/backlight/sy7758.c + SILICON LABS WIRELESS DRIVERS (for WFxxx series) M: Jérôme Pouiller <[email protected]> L: [email protected] -- 2.54.0
