Re: [linux-sunxi] [PATCH 5/6] ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree

2013-06-17 Thread Maxime Ripard
Hi Emilio,

On Fri, Jun 14, 2013 at 03:09:49PM -0300, Emilio López wrote:
> Hi Maxime,
> 
> El 09/06/13 13:36, Maxime Ripard escribió:
> > Signed-off-by: Maxime Ripard 
> > ---
> >  arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 75 
> > 
> >  1 file changed, 75 insertions(+)
> >  create mode 100644 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
> 
> Please add this on the sunxi target in arch/arm/boot/dts/Makefile so it
> gets built on make dtbs.
> 
> (snip)
> 
> > +   leds {
> > +   compatible = "gpio-leds";
> > +   pinctrl-names = "default";
> > +   pinctrl-0 = <_pins_olinuxino>;
> > +
> > +   power {
> > +   gpios = < 4 3 0>;
> > +   default-state = "on";
> > +   };
> 
> Also, as discussed on IRC, I think it would be wise to change the name
> on the LED node. The schematics have a 'power' led already that is
> hard-wired to 3.3v, and this led node that you are declaring is referred
> as 'led1' there. I suppose 'green' would be a suitable name to keep
> consistency with other sunxi boards (namely cubieboard).
> 
> Other than that, my OLinuXino worked just fine after applying this
> patchset, so
> 
> Tested-by: Emilio López 

Thanks for your comments and the test.

I'll send a v2.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [linux-sunxi] [PATCH 5/6] ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree

2013-06-17 Thread Maxime Ripard
Hi Emilio,

On Fri, Jun 14, 2013 at 03:09:49PM -0300, Emilio López wrote:
 Hi Maxime,
 
 El 09/06/13 13:36, Maxime Ripard escribió:
  Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
  ---
   arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 75 
  
   1 file changed, 75 insertions(+)
   create mode 100644 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
 
 Please add this on the sunxi target in arch/arm/boot/dts/Makefile so it
 gets built on make dtbs.
 
 (snip)
 
  +   leds {
  +   compatible = gpio-leds;
  +   pinctrl-names = default;
  +   pinctrl-0 = led_pins_olinuxino;
  +
  +   power {
  +   gpios = pio 4 3 0;
  +   default-state = on;
  +   };
 
 Also, as discussed on IRC, I think it would be wise to change the name
 on the LED node. The schematics have a 'power' led already that is
 hard-wired to 3.3v, and this led node that you are declaring is referred
 as 'led1' there. I suppose 'green' would be a suitable name to keep
 consistency with other sunxi boards (namely cubieboard).
 
 Other than that, my OLinuXino worked just fine after applying this
 patchset, so
 
 Tested-by: Emilio López emi...@elopez.com.ar

Thanks for your comments and the test.

I'll send a v2.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [linux-sunxi] [PATCH 5/6] ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree

2013-06-14 Thread Emilio López
Hi Maxime,

El 09/06/13 13:36, Maxime Ripard escribió:
> Signed-off-by: Maxime Ripard 
> ---
>  arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 75 
> 
>  1 file changed, 75 insertions(+)
>  create mode 100644 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

Please add this on the sunxi target in arch/arm/boot/dts/Makefile so it
gets built on make dtbs.

(snip)

> + leds {
> + compatible = "gpio-leds";
> + pinctrl-names = "default";
> + pinctrl-0 = <_pins_olinuxino>;
> +
> + power {
> + gpios = < 4 3 0>;
> + default-state = "on";
> + };

Also, as discussed on IRC, I think it would be wise to change the name
on the LED node. The schematics have a 'power' led already that is
hard-wired to 3.3v, and this led node that you are declaring is referred
as 'led1' there. I suppose 'green' would be a suitable name to keep
consistency with other sunxi boards (namely cubieboard).

Other than that, my OLinuXino worked just fine after applying this
patchset, so

Tested-by: Emilio López 

Thanks!

Emilio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [linux-sunxi] [PATCH 5/6] ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree

2013-06-14 Thread Emilio López
Hi Maxime,

El 09/06/13 13:36, Maxime Ripard escribió:
 Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
 ---
  arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 75 
 
  1 file changed, 75 insertions(+)
  create mode 100644 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

Please add this on the sunxi target in arch/arm/boot/dts/Makefile so it
gets built on make dtbs.

(snip)

 + leds {
 + compatible = gpio-leds;
 + pinctrl-names = default;
 + pinctrl-0 = led_pins_olinuxino;
 +
 + power {
 + gpios = pio 4 3 0;
 + default-state = on;
 + };

Also, as discussed on IRC, I think it would be wise to change the name
on the LED node. The schematics have a 'power' led already that is
hard-wired to 3.3v, and this led node that you are declaring is referred
as 'led1' there. I suppose 'green' would be a suitable name to keep
consistency with other sunxi boards (namely cubieboard).

Other than that, my OLinuXino worked just fine after applying this
patchset, so

Tested-by: Emilio López emi...@elopez.com.ar

Thanks!

Emilio
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/