dts: sun6i: yones toptech bs1078 v2: Add AXP221 support to dts
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 dts: sun6i: yones toptech bs1078 v2: Add AXP221 support to dts
Hi,
Quoted 22 lines · Lawrence Yu
From: lyu <[email protected]>
Enable the axp221 PMIC chip in the dts file.
Allows board to power off correctly from the poweroff commandTested on Contixo Q102 Tablet which uses the yones toptech bs1078 v2 pcb.
--- .../dts/sun6i-a31s-yones-toptech-bs1078-v2.dts | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+)arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts +4
-0@@ -113,6 +113,92 @@ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; }; +&p2wi { + status = "okay"; + + axp221: pmic at 68 {
arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts line 129
Quoted 10 lines
arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts +10
-0+ compatible = "x-powers,axp221"; + reg = <0x68>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <1>; + dcdc1-supply = <&vcc_3v0>; + dcdc5-supply = <&vcc_dram>; + + regulators {
We now have axp22x.dtsi in sunxi-next. Can you incorporate that instead?
See sun6i-a31-hummingbird.dts for an example.
Thanks!
ChenYu