[PATCH 2/2] ARM: apf28dev: dts: set gpio polarity for usb regulator and pinctrl for regulator gpio

Shawn Guo shawn.guo at linaro.org
Tue Dec 3 03:53:04 EST 2013


On Sat, Nov 30, 2013 at 09:51:13AM +0100, Gwenhael Goavec-Merou wrote:
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at armadeus.com>

Changed the patch subject to "ARM: dts: apf28dev: ..." and applied.

Shawn

> ---
>  arch/arm/boot/dts/imx28-apf28dev.dts | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts
> index 741aecb..334dea5 100644
> --- a/arch/arm/boot/dts/imx28-apf28dev.dts
> +++ b/arch/arm/boot/dts/imx28-apf28dev.dts
> @@ -66,6 +66,16 @@
>  					fsl,voltage = <MXS_VOLTAGE_HIGH>;
>  					fsl,pull-up = <MXS_PULL_DISABLE>;
>  				};
> +
> +				usb0_otg_apf28dev: otg-apf28dev at 0 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <
> +						MX28_PAD_LCD_D23__GPIO_1_23
> +					>;
> +					fsl,drive-strength = <MXS_DRIVE_4mA>;
> +					fsl,voltage = <MXS_VOLTAGE_HIGH>;
> +					fsl,pull-up = <MXS_PULL_DISABLE>;
> +				};
>  			};
>  
>  			lcdif at 80030000 {
> @@ -131,6 +141,8 @@
>  
>  	ahb at 80080000 {
>  		usb0: usb at 80080000 {
> +			pinctrl-names = "default";
> +			pinctrl-0 = <&usb0_otg_apf28dev>;
>  			vbus-supply = <&reg_usb0_vbus>;
>  			status = "okay";
>  		};
> @@ -160,6 +172,7 @@
>  			regulator-min-microvolt = <5000000>;
>  			regulator-max-microvolt = <5000000>;
>  			gpio = <&gpio1 23 1>;
> +			enable-active-high;
>  		};
>  	};
>  
> -- 
> 1.8.3.2
> 




More information about the linux-arm-kernel mailing list