Re: [PATCH v4] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

From: stefan . mavrodiev
Date: Wed Jul 27 2016 - 01:12:59 EST


On Tuesday, July 26, 2016 5:33:52 PM EEST Maxime Ripard wrote:
> Hi Stefan,
>
> On Mon, Jul 25, 2016 at 03:37:23PM +0300, Stefan Mavrodiev wrote:
> > A33-OLinuXino is A33 development board designed by Olimex LTD.
> >
> > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector,
> > headphone and mic jacks, connector for LiPo battery and optional
> > 4GB NAND Flash.
> >
> > It has two 40-pin headers. One for LCD panel, and one for
> > additional modules. Also there is CSI/DSI connector.
> >
> > Signed-off-by: Stefan Mavrodiev <stefan.mavrodiev@xxxxxxxxx>
>
> It looks mostly good, a few comments though.
>
> > +&pio {
> > + led_pin_olinuxino: led_pins@0 {
> > + allwinner,pins = "PB7";
> > + allwinner,function = "gpio_out";
>
> This line is not properly indented.
>
> > + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> > + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> > + };
>
> And this one too.
>
> > +&reg_dc1sw {
> > + regulator-name = "vcc-lcd";
> > +};
>
> No constraints on this one?
>
> > +&reg_dcdc1 {
> > + regulator-always-on;
> > + regulator-min-microvolt = <3300000>;
> > + regulator-max-microvolt = <3300000>;
> > + regulator-name = "vcc-dsi";
> > +};
>
> What is it used for? Is it really necessary to keep it on at all time?

I think so.
This is the supply for the MMC.
>
> Thanks,
> Maxime

Best regards,
Stefan Mavrodiev