[PATCH] ARM: mx28: Add LCD pinmux

Shawn Guo shawn.guo at linaro.org
Mon Jun 25 22:52:19 EDT 2012


On Sat, Jun 23, 2012 at 08:45:18PM +0200, Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Detlev Zundel <dzu at denx.de>
> CC: Dong Aisheng <b29396 at freescale.com>
> CC: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Linux ARM kernel <linux-arm-kernel at lists.infradead.org>
> CC: Shawn Guo <shawn.guo at linaro.org>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
>  arch/arm/boot/dts/imx28.dtsi |   45 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index 464303c..ab29cbe 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -221,6 +221,51 @@
>  					fsl,pull-up = <0>;
>  				};
>  
> +				lcd_data_pins_8bpp_a: lcd at 0 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <0x1000 0x1010 0x1020 0x1030
> +						0x1040 0x1050 0x1060 0x1070>;
> +					fsl,drive-strength = <0>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <0>;
> +				};
> +
> +				lcd_data_pins_16bpp_a: lcd at 1 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <0x1000 0x1010 0x1020 0x1030
> +						0x1040 0x1050 0x1060 0x1070
> +						0x1080 0x1090 0x10a0 0x10b0
> +						0x10c0 0x10d0 0x10e0 0x10f0>;
> +					fsl,drive-strength = <0>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <0>;
> +				};
> +
> +				lcd_data_pins_18bpp_a: lcd at 2 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <0x1000 0x1010 0x1020 0x1030
> +						0x1040 0x1050 0x1060 0x1070
> +						0x1080 0x1090 0x10a0 0x10b0
> +						0x10c0 0x10d0 0x10e0 0x10f0
> +						0x1100 0x1110>;
> +					fsl,drive-strength = <0>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <0>;
> +				};
> +
> +				lcd_data_pins_24bpp_a: lcd at 3 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <0x1000 0x1010 0x1020 0x1030
> +						0x1040 0x1050 0x1060 0x1070
> +						0x1080 0x1090 0x10a0 0x10b0
> +						0x10c0 0x10d0 0x10e0 0x10f0
> +						0x1100 0x1110 0x1120 0x1130
> +						0x1140 0x1150 0x1160 0x1170>;
> +					fsl,drive-strength = <0>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <0>;
> +				};
> +

We do not want to enumerate all the possible mux options.  Instead,
please add mux setting when there is indeed a user for it.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list