From: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
To: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: [PATCH v2 6/9] ARM: sun8i: a83t: cubietruck-plus: Enable PMIC part of AXP818 PMIC
Date: Wed, 26 Jul 2017 16:28:29 +0800 [thread overview]
Message-ID: <20170726082832.16789-7-wens@csie.org> (raw)
In-Reply-To: <20170726082832.16789-1-wens-jdAy2FN1RRM@public.gmane.org>
The AXP813/AXP818 PMICs used with the A83T/H8 SoCs are actually 2 dies
in one package sharing the serial bus (I2C/RSB) pins. One die is the
actual PMIC. The other is an AC100 codec / RTC combo chip.
This patch enables the RSB controller and adds a device node for the
PMIC die to the Cubietruck Plus device tree. Since the AXP813 and
AXP818 are virtually identical, this patch uses the compatible string
for the former as a fallback.
Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
---
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
index 163ddf8868b5..d88a22ac6222 100644
--- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
@@ -129,6 +129,17 @@
status = "okay";
};
+&r_rsb {
+ status = "okay";
+
+ axp81x: pmic@3a3 {
+ compatible = "x-powers,axp818", "x-powers,axp813";
+ reg = <0x3a3>;
+ interrupt-parent = <&r_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
&spdif {
status = "okay";
};
--
2.13.3
next prev parent reply other threads:[~2017-07-26 8:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 8:28 [PATCH v2 0/9] mfd: axp20x: Add basic support for AXP813 Chen-Yu Tsai
[not found] ` <20170726082832.16789-1-wens-jdAy2FN1RRM@public.gmane.org>
2017-07-26 8:28 ` [PATCH v2 1/9] dt-bindings: mfd: axp20x: Add AXP806 to supported list of chips Chen-Yu Tsai
2017-08-07 15:43 ` Lee Jones
2017-07-26 8:28 ` [PATCH v2 2/9] dt-bindings: mfd: axp20x: Introduce bindings for AXP813 Chen-Yu Tsai
[not found] ` <20170726082832.16789-3-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43 ` Lee Jones
2017-07-26 8:28 ` [PATCH v2 3/9] mfd: axp20x: Add support for AXP813 PMIC Chen-Yu Tsai
[not found] ` <20170726082832.16789-4-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43 ` Lee Jones
2017-07-26 8:28 ` [PATCH v2 4/9] mfd: axp20x: use correct platform device id for many PEK Chen-Yu Tsai
[not found] ` <20170726082832.16789-5-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-07 15:43 ` Lee Jones
2017-07-26 8:28 ` [PATCH v2 5/9] ARM: sun8i: a83t: Add device node and pinmux setting for RSB controller Chen-Yu Tsai
2017-07-26 8:28 ` Chen-Yu Tsai [this message]
2017-07-26 8:28 ` [PATCH v2 7/9] ARM: sun8i: a83t: cubietruck-plus: Enable AC100 combo chip in AXP818 PMIC Chen-Yu Tsai
2017-07-26 8:28 ` [PATCH v2 8/9] ARM: sun8i: a83t: h8homlet-v2: Enable PMIC part of " Chen-Yu Tsai
2017-07-26 8:28 ` [PATCH v2 9/9] ARM: sun8i: a83t: h8homlet-v2: Enable AC100 combo chip in " Chen-Yu Tsai
2017-07-26 8:32 ` [PATCH v2 0/9] mfd: axp20x: Add basic support for AXP813 Maxime Ripard
2017-08-08 4:05 ` Chen-Yu Tsai
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=20170726082832.16789-7-wens@csie.org \
--to=wens-jday2fn1rrm@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.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