Hi, On Fri, Oct 9, 2015 at 1:06 PM, Lawrence Yu <[email protected]> wrote: > From: lyu <[email protected]> > > Enable the axp221 PMIC chip in the dts file. > Allows board to power off correctly from the poweroff command > > Tested 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(+) > > diff --git a/arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts > b/arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts > index b199020..57bc315 100644 > --- a/arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts > +++ b/arch/arm/boot/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts > @@ -113,6 +113,92 @@ > allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; > }; > > +&p2wi { > + status = "okay"; > + > + axp221: pmic@68 { > + 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 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
