Skip to content

Add support for charger LED for AXP813 and TBS A711 Tablet

Ondrej Jirman linux-arm-kernel linux-devicetree linux-leds lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: leds: Add a binding for AXP813 charger ledDocumentation/devicetree/bindings/leds/leds-axp20x.yaml+24 -02 replies
2/4leds: axp20x: Support charger LED on AXP20x like PMICsdrivers/leds/Kconfig drivers/leds/Makefile drivers/leds/leds-axp20x.c +1 more+251 -02 replies
3/4ARM: dts: axp813: Add charger LEDarch/arm/boot/dts/axp81x.dtsi+5 -01 reply
4/4ARM: dts: sun8i-a83t-tbs-a711: Enable charging LEDarch/arm/boot/dts/sun8i-a83t-tbs-a711.dts+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Add support for charger LED for AXP813 and TBS A711 Tablet

The tablet has a charger LED exposed on the top. This LED is controlled by AXP813 PMIC. Add support for enabling the LED and using it either for charging indication (handled by PMIC automatically) or for other uses via user control.

Please take a look.

thank you and regards,
Ondrej Jirman

Ondrej Jirman (4):
dt-bindings: leds: Add a binding for AXP813 charger led
leds: axp20x: Support charger LED on AXP20x like PMICs
ARM: dts: axp813: Add charger LED
ARM: dts: sun8i-a83t-tbs-a711: Enable charging LED

 .../devicetree/bindings/leds/leds-axp20x.yaml |  24 ++
 arch/arm/boot/dts/axp81x.dtsi                 |   5 +
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts     |   4 +
 drivers/leds/Kconfig                          |   7 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-axp20x.c                    | 240 ++++++++++++++++++
 drivers/mfd/axp20x.c                          |   3 +
 7 files changed, 284 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-axp20x.yaml
 create mode 100644 drivers/leds/leds-axp20x.c
Signature · 1 line
2.25.1