Re: [U-Boot] [PATCH 2/2] sunxi: Ainol AW1 support

2015-03-21 Thread Hans de Goede

Hi,

On 15-03-15 18:29, Paul Kocialkowski wrote:

Signed-off-by: Paul Kocialkowski cont...@paulk.fr
---
  board/sunxi/MAINTAINERS |  5 +
  configs/Ainol_AW1_defconfig | 16 
  2 files changed, 21 insertions(+)
  create mode 100644 configs/Ainol_AW1_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index ef3c937..e486458 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -50,6 +50,11 @@ S:   Maintained
  F:board/sunxi/dram_a20_olinuxino_l2.c
  F:configs/A20-OLinuXino-Lime2_defconfig

+AINOL AW1 BOARD
+M: Paul Kocialkowski cont...@paulk.fr
+S: Maintained
+F: configs/Ainol_AW1_defconfig
+
  AMPE A76 BOARD
  M:Paul Kocialkowski cont...@paulk.fr
  S:Maintained
diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig
new file mode 100644
index 000..e37e6c8
--- /dev/null
+++ b/configs/Ainol_AW1_defconfig
@@ -0,0 +1,16 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS=AXP209_POWER
+CONFIG_FDTFILE=sun7i-a20-ainol-aw1.dtb
+CONFIG_USB_MUSB_SUNXI=y
+CONFIG_USB0_VBUS_PIN=PB9
+CONFIG_USB0_VBUS_DET=axp_vbus_detect
+CONFIG_VIDEO_LCD_MODE=x:800,y:480,depth:18,pclk_khz:4,le:87,ri:112,up:38,lo:141,hs:1,vs:1,sync:3,vmode:0
+CONFIG_VIDEO_LCD_POWER=PH8
+CONFIG_VIDEO_LCD_BL_EN=PH7
+CONFIG_VIDEO_LCD_BL_PWM=PB2
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_DRAM_CLK=432
++S:CONFIG_DRAM_ZQ=123
++S:CONFIG_DRAM_EMR1=4



Thanks for the patch, looks good, but needs adjustment for the discussed
changes to treat axp vbus-detect / vbus-enable as regular gpios.

Also we no longer use the +S: magic in defconfig files as there now is a
single .config for both the SPL and regular u-boot builds, so when you
resubmit together with the axp cleanups, please remove the +S: prefixes.

Regards,

Hans
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] sunxi: Ainol AW1 support

2015-03-15 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski cont...@paulk.fr
---
 board/sunxi/MAINTAINERS |  5 +
 configs/Ainol_AW1_defconfig | 16 
 2 files changed, 21 insertions(+)
 create mode 100644 configs/Ainol_AW1_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index ef3c937..e486458 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -50,6 +50,11 @@ S:   Maintained
 F: board/sunxi/dram_a20_olinuxino_l2.c
 F: configs/A20-OLinuXino-Lime2_defconfig
 
+AINOL AW1 BOARD
+M: Paul Kocialkowski cont...@paulk.fr
+S: Maintained
+F: configs/Ainol_AW1_defconfig
+
 AMPE A76 BOARD
 M: Paul Kocialkowski cont...@paulk.fr
 S: Maintained
diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig
new file mode 100644
index 000..e37e6c8
--- /dev/null
+++ b/configs/Ainol_AW1_defconfig
@@ -0,0 +1,16 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS=AXP209_POWER
+CONFIG_FDTFILE=sun7i-a20-ainol-aw1.dtb
+CONFIG_USB_MUSB_SUNXI=y
+CONFIG_USB0_VBUS_PIN=PB9
+CONFIG_USB0_VBUS_DET=axp_vbus_detect
+CONFIG_VIDEO_LCD_MODE=x:800,y:480,depth:18,pclk_khz:4,le:87,ri:112,up:38,lo:141,hs:1,vs:1,sync:3,vmode:0
+CONFIG_VIDEO_LCD_POWER=PH8
+CONFIG_VIDEO_LCD_BL_EN=PH7
+CONFIG_VIDEO_LCD_BL_PWM=PB2
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_DRAM_CLK=432
++S:CONFIG_DRAM_ZQ=123
++S:CONFIG_DRAM_EMR1=4
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot