From: Ondrej Jirman <megous@megous.com>
To: linux-sunxi@googlegroups.com,
Jacek Anaszewski <jacek.anaszewski@gmail.com>,
Pavel Machek <pavel@ucw.cz>, Dan Murphy <dmurphy@ti.com>,
Rob Herring <robh+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
Maxime Ripard <mripard@kernel.org>
Cc: Ondrej Jirman <megous@megous.com>,
Mark Rutland <mark.rutland@arm.com>,
Lee Jones <lee.jones@linaro.org>,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Add support for charger LED for AXP813 and TBS A711 Tablet
Date: Sun, 23 Feb 2020 14:14:31 +0100 [thread overview]
Message-ID: <20200223131435.681620-1-megous@megous.com> (raw)
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
next reply other threads:[~2020-02-23 13:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-23 13:14 Ondrej Jirman [this message]
2020-02-23 13:14 ` [PATCH 1/4] dt-bindings: leds: Add a binding for AXP813 charger led Ondrej Jirman
2020-02-25 12:55 ` Dan Murphy
2020-02-26 22:30 ` Rob Herring
2020-02-23 13:14 ` [PATCH 2/4] leds: axp20x: Support charger LED on AXP20x like PMICs Ondrej Jirman
2020-02-25 12:53 ` Dan Murphy
2020-02-26 14:08 ` Pavel Machek
2020-02-23 13:14 ` [PATCH 3/4] ARM: dts: axp813: Add charger LED Ondrej Jirman
2020-02-25 12:56 ` Dan Murphy
2020-02-23 13:14 ` [PATCH 4/4] ARM: dts: sun8i-a83t-tbs-a711: Enable charging LED Ondrej Jirman
2020-02-23 13:27 ` [PATCH 0/4] Add support for charger LED for AXP813 and TBS A711 Tablet Ondřej Jirman
2020-02-23 13:35 ` Ondřej Jirman
2020-02-24 6:31 ` [linux-sunxi] " Stefan Mavrodiev
2020-02-24 16:28 ` Ondřej Jirman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200223131435.681620-1-megous@megous.com \
--to=megous@megous.com \
--cc=devicetree@vger.kernel.org \
--cc=dmurphy@ti.com \
--cc=jacek.anaszewski@gmail.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=mark.rutland@arm.com \
--cc=mripard@kernel.org \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®