[U-Boot] [PATCH 14/17] sunxi: Add 2 defconfigs for using the Olimex 7" lcd with olinuxino boards
Ian Campbell
ijc at hellion.org.uk
Mon Dec 29 14:55:01 CET 2014
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote:
> Add defconfigs for using the Olimex 7" lcd with the A10s-OLinuXino-M and
> the A20-OLinuXino_MICRO boards.
>
> Note this cannot be added to the regular defconfigs, like with the A13 boards,
> because the video code will automatically fallback to driving the LCD if
> no HDMI cable is connected (this is the desired behavior on e.g. tablets),
> but the LCD connector on the Olimex dev boards may be used for something
> completely different, so we do not want to automatically enable it.
>
> Note I do not intend to add defconfigs for all possible permutation of Olimex
> boards and LCD displays, these 2 serve mostly as examples.
Does the A13 one not serve that function already without the downside of
duplicating up the defconfig?
> In the long run
> this should be solved by moving all the LCD info into dts files and using
> devicetree overlays for add-on modules like the LCD displays.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> configs/A10s-OLinuXino-M-lcd7_defconfig | 14 ++++++++++++++
> configs/A20-OLinuXino_MICRO-lcd7_defconfig | 13 +++++++++++++
> 2 files changed, 27 insertions(+)
> create mode 100644 configs/A10s-OLinuXino-M-lcd7_defconfig
> create mode 100644 configs/A20-OLinuXino_MICRO-lcd7_defconfig
>
> diff --git a/configs/A10s-OLinuXino-M-lcd7_defconfig b/configs/A10s-OLinuXino-M-lcd7_defconfig
> new file mode 100644
> index 0000000..eafa974
> --- /dev/null
> +++ b/configs/A10s-OLinuXino-M-lcd7_defconfig
> @@ -0,0 +1,14 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,SUNXI_EMAC,USB_EHCI"
> +CONFIG_FDTFILE="sun5i-a10s-olinuxino-micro.dtb"
> +CONFIG_MMC_SUNXI_SLOT_EXTRA=1
> +CONFIG_USB1_VBUS_PIN="PB10"
> +CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:0,vmode:0"
> +CONFIG_VIDEO_LCD_POWER="PB9"
> +CONFIG_VIDEO_LCD_BL_PWM="PB2"
> ++S:CONFIG_MMC0_CD_PIN="PG1"
> ++S:CONFIG_MMC1_CD_PIN="PG13"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN5I=y
> ++S:CONFIG_TARGET_A10S_OLINUXINO_M=y
> diff --git a/configs/A20-OLinuXino_MICRO-lcd7_defconfig b/configs/A20-OLinuXino_MICRO-lcd7_defconfig
> new file mode 100644
> index 0000000..05674d7
> --- /dev/null
> +++ b/configs/A20-OLinuXino_MICRO-lcd7_defconfig
> @@ -0,0 +1,13 @@
> +CONFIG_SPL=y
> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8),USB_EHCI"
> +CONFIG_FDTFILE="sun7i-a20-olinuxino-micro.dtb"
> +CONFIG_MMC_SUNXI_SLOT_EXTRA=3
> +CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:0,vmode:0"
> +CONFIG_VIDEO_LCD_POWER="PH8"
> +CONFIG_VIDEO_LCD_BL_PWM="PB2"
> ++S:CONFIG_MMC0_CD_PIN="PH1"
> ++S:CONFIG_MMC3_CD_PIN="PH11"
> ++S:CONFIG_ARM=y
> ++S:CONFIG_ARCH_SUNXI=y
> ++S:CONFIG_MACH_SUN7I=y
> ++S:CONFIG_TARGET_A20_OLINUXINO_M=y
More information about the U-Boot
mailing list