dt: bindings: tps65217: add compatible property for backlight subnode
PATCH v3 2/2 dt: bindings: tps65217: add compatible property for backlight subnode
Add documentation for compatible property of backlight subnode.
---
Changes since v2:
1. Removed the pmic part of the patch.
2. Added newline before subnode in the example.
--- .../devicetree/bindings/video/backlight/tps65217-backlight.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt +7 -3
@@ -6,19 +6,23 @@ used to drive LEDs for use as backlights. Required properties: - compatible: "ti,tps65217" - reg: I2C slave address -- backlight: node for specifying WLED1 and WLED2 lines in TPS65217 +- backlight: subnode for specifying WLED1 and WLED2 lines in TPS65217 + +Required subnode properties: +- compatible: "ti,tps65217-bl" - isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) - fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 - default-brightness: valid values: 0-100 -Each regulator is defined using the standard binding for regulators. Example: tps: tps@24 { reg = <0x24>; compatible = "ti,tps65217"; - backlight { + + tps_bl: backlight { + compatible = "ti,tps65217-bl"; isel = <1>; /* 1 - ISET1, 2 ISET2 */ fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ default-brightness = <50>;
Signature · 5 lines
2.1.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
ping
2014-10-08 23:20 GMT+02:00 Johannes Pointner <[email protected]>:
Quoted 44 lines
Add documentation for compatible property of backlight subnode.
Signed-off-by Johannes Pointner <[email protected]>---
Changes since v2:
1. Removed the pmic part of the patch.
2. Added newline before subnode in the example.--- .../devicetree/bindings/video/backlight/tps65217-backlight.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt +7
-4@@ -6,19 +6,23 @@ used to drive LEDs for use as backlights. Required properties: - compatible: "ti,tps65217" - reg: I2C slave address -- backlight: node for specifying WLED1 and WLED2 lines in TPS65217 +- backlight: subnode for specifying WLED1 and WLED2 lines in TPS65217 + +Required subnode properties: +- compatible: "ti,tps65217-bl" - isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) - fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 - default-brightness: valid values: 0-100 -Each regulator is defined using the standard binding for regulators. Example: tps: tps@24 { reg = <0x24>; compatible = "ti,tps65217"; - backlight { + + tps_bl: backlight { + compatible = "ti,tps65217-bl"; isel = <1>; /* 1 - ISET1, 2 ISET2 */ fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ default-brightness = <50>; --2.1.2