Skip to content

Commit 2cccb17

Browse files
stephan-ghlag-linaro
authored andcommitted
dt-bindings: leds: Document pull-up supply for interrupt and I2C
Since the interrupt and I2C lines of AW2013 operate in open drain low active mode a pull-up supply is needed for correct operation. Unfortunately there is no ideal place to describe it in the DT: The pull-up needed for the I2C lines could be described on the I2C bus. However, the pull-up needed for the interrupt line belongs neither directly to the interrupt controller nor to AW2013. Since the AW2013 driver will be typically in control of the power management and interrupt masking it makes more sense to describe it inside the AW2013 device tree node. Add it to the AW2013 DT schema together with a comment that makes it clear what exactly it represents. Signed-off-by: Stephan Gerhold <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Nikita Travkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 9422bcf commit 2cccb17

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/leds/leds-aw2013.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ properties:
2828
vcc-supply:
2929
description: Regulator providing power to the "VCC" pin.
3030

31+
vio-supply:
32+
description: Regulator providing power for pull-up of the I/O lines.
33+
"VIO1" in the typical application circuit example of the datasheet.
34+
Note that this regulator does not directly connect to AW2013, but is
35+
needed for the correct operation of the interrupt and I2C lines.
36+
3137
"#address-cells":
3238
const: 1
3339

0 commit comments

Comments
 (0)