[U-Boot] [PATCH 4/4] sunxi: Add defconfig for the BananaPi with BL035 LCD module

Maxime Ripard maxime.ripard at bootlin.com
Mon Oct 8 08:21:01 UTC 2018


Hi,

On Sat, Oct 06, 2018 at 12:07:18PM +0200, Paul Kocialkowski wrote:
> This introduces a new defconfig for the BananaPi, which includes support
> for the BL035 LCD module distributed by Lemaker for use with this board.
> 
> Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
> ---
>  configs/Bananapi_LCD_BL035_defconfig | 29 ++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 configs/Bananapi_LCD_BL035_defconfig
> 
> diff --git a/configs/Bananapi_LCD_BL035_defconfig b/configs/Bananapi_LCD_BL035_defconfig
> new file mode 100644
> index 0000000000..b0a8fb9099
> --- /dev/null
> +++ b/configs/Bananapi_LCD_BL035_defconfig
> @@ -0,0 +1,29 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_SUNXI=y
> +CONFIG_SPL=y
> +CONFIG_MACH_SUN7I=y
> +CONFIG_DRAM_CLK=432
> +CONFIG_MACPWR="PH23"
> +CONFIG_VIDEO_COMPOSITE=y
> +CONFIG_VIDEO_LCD_MODE="x:320,y:240,depth:24,pclk_khz:7000,le:38,ri:20,up:15,lo:4,hs:30,vs:3,sync:0,vmode:0"
> +CONFIG_VIDEO_LCD_DE_LOW=y
> +CONFIG_VIDEO_LCD_POWER="PH12"
> +CONFIG_VIDEO_LCD_BL_EN="PH8"
> +CONFIG_VIDEO_LCD_BL_PWM="PB2"
> +# CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW is not set
> +CONFIG_GMAC_TX_DELAY=3
> +CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi"
> +CONFIG_AHCI=y
> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> +CONFIG_SPL_I2C_SUPPORT=y
> +# CONFIG_CMD_FLASH is not set
> +# CONFIG_SPL_DOS_PARTITION is not set
> +# CONFIG_SPL_EFI_PARTITION is not set
> +CONFIG_NETCONSOLE=y

This is something of a user configuration, this should be selected by
each user if relevant.

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181008/400cbdb2/attachment.sig>


More information about the U-Boot mailing list