From: Frank Lee <frank@allwinnertech.com>
To: lee.jones@linaro.org, wens@csie.org, linux-kernel@vger.kernel.org
Cc: tiny.windzz@gmail.com, huangshuosheng@allwinnertech.com,
liyong@allwinnertech.com, Yangtao Li <frank@allwinnertech.com>
Subject: [PATCH v5 10/16] mfd: axp20x: Allow the AXP803 to be probed by I2C
Date: Fri, 24 Jul 2020 15:13:14 +0800 [thread overview]
Message-ID: <c19530b2ee1f377bfeb1273f07a7ceb4ea4372ab.1595572867.git.frank@allwinnertech.com> (raw)
In-Reply-To: <cover.1595572867.git.frank@allwinnertech.com>
From: Yangtao Li <frank@allwinnertech.com>
The AXP803 can be used both using the RSB proprietary bus, or a more
traditional I2C bus.
Let's add that possibility.
Signed-off-by: Yangtao Li <frank@allwinnertech.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
---
drivers/mfd/axp20x-i2c.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mfd/axp20x-i2c.c b/drivers/mfd/axp20x-i2c.c
index 14f9df74f855..446a7d0bbb47 100644
--- a/drivers/mfd/axp20x-i2c.c
+++ b/drivers/mfd/axp20x-i2c.c
@@ -63,6 +63,7 @@ static const struct of_device_id axp20x_i2c_of_match[] = {
{ .compatible = "x-powers,axp209", .data = (void *)AXP209_ID },
{ .compatible = "x-powers,axp221", .data = (void *)AXP221_ID },
{ .compatible = "x-powers,axp223", .data = (void *)AXP223_ID },
+ { .compatible = "x-powers,axp803", .data = (void *)AXP803_ID },
{ .compatible = "x-powers,axp806", .data = (void *)AXP806_ID },
{ },
};
@@ -74,6 +75,7 @@ static const struct i2c_device_id axp20x_i2c_id[] = {
{ "axp209", 0 },
{ "axp221", 0 },
{ "axp223", 0 },
+ { "axp803", 0 },
{ "axp806", 0 },
{ },
};
--
2.24.0
next prev parent reply other threads:[~2020-07-24 7:14 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 6:52 [PATCH v5 00/16] Allwinner A100 Initial support Frank Lee
2020-07-24 6:56 ` [PATCH v5 01/16] dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and R-CCU Frank Lee
2020-08-25 8:52 ` Maxime Ripard
2020-07-24 6:58 ` [PATCH v5 02/16] clk: sunxi-ng: add support for the Allwinner A100 CCU Frank Lee
2020-07-27 19:57 ` Rob Herring
2020-08-25 8:53 ` Maxime Ripard
2020-07-24 7:00 ` [PATCH v5 03/16] dt-bindings: pinctrl: sunxi: Get rid of continual nesting Frank Lee
2020-08-25 8:44 ` Maxime Ripard
2020-07-24 7:02 ` [PATCH v5 04/16] dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings Frank Lee
2020-08-25 8:44 ` Maxime Ripard
2020-07-24 7:05 ` [PATCH v5 05/16] pinctrl: sunxi: add support for the Allwinner A100 pin controller Frank Lee
2020-08-25 8:45 ` Maxime Ripard
2020-07-24 7:09 ` [PATCH v5 06/16] dt-bindings: nvmem: SID: add binding for A100's SID controller Frank Lee
2020-07-24 7:10 ` [PATCH v5 07/16] dt-bindings: thermal: sun8i: Add binding for A100's THS controller Frank Lee
2020-08-25 8:45 ` Maxime Ripard
2020-07-24 7:11 ` [PATCH v5 08/16] thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate Frank Lee
2020-08-25 8:46 ` Maxime Ripard
2020-07-24 7:11 ` [PATCH v5 09/16] thermal: sun8i: Add A100's THS controller support Frank Lee
2020-08-25 8:46 ` Maxime Ripard
2020-07-24 7:13 ` Frank Lee [this message]
2020-07-27 15:36 ` [PATCH v5 10/16] mfd: axp20x: Allow the AXP803 to be probed by I2C Lee Jones
2020-07-24 7:14 ` [PATCH v5 11/16] dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi Frank Lee
2020-08-25 8:49 ` Maxime Ripard
2020-07-24 7:15 ` [PATCH v5 12/16] dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller Frank Lee
2020-08-25 8:49 ` Maxime Ripard
2020-07-24 7:17 ` [PATCH v5 13/16] dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node Frank Lee
2020-08-25 8:02 ` Wolfram Sang
2020-07-24 7:18 ` [PATCH v5 14/16] arm64: allwinner: A100: add the basical Allwinner A100 DTSI file Frank Lee
2020-08-25 8:50 ` Maxime Ripard
2020-07-24 7:20 ` [PATCH v5 15/16] dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings Frank Lee
2020-08-25 8:50 ` Maxime Ripard
2020-07-24 7:21 ` [PATCH v5 16/16] arm64: allwinner: A100: add support for Allwinner Perf1 board Frank Lee
2020-08-25 8:51 ` Maxime Ripard
2020-07-30 1:20 ` [PATCH v5 00/16] Allwinner A100 Initial support Frank Lee
2020-08-24 7:44 ` Frank Lee
2020-08-24 8:03 ` Lee Jones
2020-08-25 8:55 ` Maxime Ripard
2020-08-25 13:51 ` Wolfram Sang
2020-08-25 13:53 ` Lee Jones
2020-08-28 10:02 ` Linus Walleij
2020-08-28 11:20 ` Frank Lee
2020-09-01 9:35 ` Maxime Ripard
2020-09-12 10:36 ` Linus Walleij
2020-09-22 15:37 ` Daniel Lezcano
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=c19530b2ee1f377bfeb1273f07a7ceb4ea4372ab.1595572867.git.frank@allwinnertech.com \
--to=frank@allwinnertech.com \
--cc=huangshuosheng@allwinnertech.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liyong@allwinnertech.com \
--cc=tiny.windzz@gmail.com \
--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®