[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200223131435.681620-1-megous@megous.com>
Date: Sun, 23 Feb 2020 14:14:31 +0100
From: Ondrej Jirman <megous@...ous.com>
To: linux-sunxi@...glegroups.com,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Pavel Machek <pavel@....cz>, Dan Murphy <dmurphy@...com>,
Rob Herring <robh+dt@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Maxime Ripard <mripard@...nel.org>
Cc: Ondrej Jirman <megous@...ous.com>,
Mark Rutland <mark.rutland@....com>,
Lee Jones <lee.jones@...aro.org>, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [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
--
2.25.1
Powered by blists - more mailing lists