Skip to content

leds: Add AXP20X CHGLED

Stefan Mavrodiev linux-arm-kernel linux-devicetree linux-leds lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 9 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- use mutex when accessing hardware registers
- fixed LED naming style
- fixed some typos
- fix variable types when showing attributes
- remove useless private data
- fix binding documentation
- add device consumers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8leds: Add support for AXP20X CHGLEDdrivers/leds/Kconfig drivers/leds/Makefile drivers/leds/leds-axp20x.c+302 -04 replies
2/8mfd: axp20x: Add axp20x-led celldrivers/mfd/axp20x.c+23 -11 reply
3/8dt-bindings: leds: Add binding for axp20x-led device driverDocumentation/devicetree/bindings/leds/leds-axp20x.txt+74 -02 replies
4/8arm64: dts: allwinner: axp803: add charge led nodearch/arm64/boot/dts/allwinner/axp803.dtsi+5 -00 replies
5/8arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boardsarch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts+12 -02 replies
6/8arm: dts: axpxx: add charge led nodearch/arm/boot/dts/axp209.dtsi arch/arm/boot/dts/axp22x.dtsi arch/arm/boot/dts/axp81x.dtsi+15 -00 replies
7/8ARM: dts: sun7i: Enable AXP209 CHGLED for Olimex boardsarch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +1 more+24 -00 replies
8/8ARM: dts: sun8i: a33: Enable AXP223 CHGLED for A33-OLinuXinoarch/arm/boot/dts/sun8i-a33-olinuxino.dts+6 -00 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchLee Jones
1/8
2/8Acked-for-MFD-by
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] leds: Add AXP20X CHGLED

This series add support for CHGLED pin found on most of X-Powers PMICs.

Changes for v2:
- use mutex when accessing hardware registers
- fixed LED naming style
- fixed some typos
- fix variable types when showing attributes
- remove useless private data
- fix binding documentation
- add device consumers

Stefan Mavrodiev (8):
leds: Add support for AXP20X CHGLED
mfd: axp20x: Add axp20x-led cell
dt-bindings: leds: Add binding for axp20x-led device driver
arm64: dts: allwinner: axp803: add charge led node
arm64: dts: allwinner: Enable AXP803 CHGLED for Olimex boards
arm: dts: axpxx: add charge led node
ARM: dts: sun7i: Enable AXP209 CHGLED for Olimex boards
ARM: dts: sun8i: a33: Enable AXP223 CHGLED for A33-OLinuXino

 .../devicetree/bindings/leds/leds-axp20x.txt  |  74 +++++
 arch/arm/boot/dts/axp209.dtsi                 |   5 +
 arch/arm/boot/dts/axp22x.dtsi                 |   5 +
 arch/arm/boot/dts/axp81x.dtsi                 |   5 +
 .../arm/boot/dts/sun7i-a20-olimex-som-evb.dts |   6 +
 .../boot/dts/sun7i-a20-olimex-som204-evb.dts  |   6 +
 .../boot/dts/sun7i-a20-olinuxino-lime2.dts    |   6 +
 .../boot/dts/sun7i-a20-olinuxino-micro.dts    |   6 +
 arch/arm/boot/dts/sun8i-a33-olinuxino.dts     |   6 +
 arch/arm64/boot/dts/allwinner/axp803.dtsi     |   5 +
 .../dts/allwinner/sun50i-a64-olinuxino.dts    |   6 +
 .../boot/dts/allwinner/sun50i-a64-teres-i.dts |   6 +
 drivers/leds/Kconfig                          |  10 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-axp20x.c                    | 291 ++++++++++++++++++
 drivers/mfd/axp20x.c                          |  24 +-
 16 files changed, 461 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-axp20x.txt
 create mode 100644 drivers/leds/leds-axp20x.c
Signature · 1 line
2.17.1