On Fri, Oct 16, 2015 at 12:51 AM, Chen-Yu Tsai <[email protected]> wrote:
> 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? > > Not a problem. Thank you taking the time to review the patch. I will send out a v2 shortly that uses the axp22x.dtsi file. > 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. > -- 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.
