diff mbox

[4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards

Message ID 1448027950-14629-4-git-send-email-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hans de Goede Nov. 20, 2015, 1:59 p.m. UTC
From: Michael van Slingerland <michael@deviousops.nl>

Add a node describing the AXP152 pmic used on Auxtek T004 boards.

Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Chen-Yu Tsai Nov. 20, 2015, 3:18 p.m. UTC | #1
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> From: Michael van Slingerland <michael@deviousops.nl>
>
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>
> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>
Maxime Ripard Nov. 20, 2015, 4:42 p.m. UTC | #2
On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
> From: Michael van Slingerland <michael@deviousops.nl>
> 
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
> 
> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

I don't really get why this patch is in the same set as the other
patches, but I just applied it. Thanks!

Maxime
Hans de Goede Nov. 20, 2015, 6:24 p.m. UTC | #3
Hi,

On 20-11-15 17:42, Maxime Ripard wrote:
> On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
>> From: Michael van Slingerland <michael@deviousops.nl>
>>
>> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>>
>> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> I don't really get why this patch is in the same set as the other
> patches, but I just applied it. Thanks!

The theme of the set was dts patches which do not depend on anything
else :)

And sorry about the conflicts, I had the touchscreen patches in my
tree before this set.

Regards,

Hans
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
index 2b3511e..a790ec8 100644
--- a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
+++ b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
@@ -86,6 +86,20 @@ 
 	status = "okay";
 };
 
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins_a>;
+	status = "okay";
+
+	axp152: pmic@30 {
+		compatible = "x-powers,axp152";
+		reg = <0x30>;
+		interrupts = <0>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+	};
+};
+
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t004>;