lkml.org 
[lkml]   [2019]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: dts: imx6qdl-udoo: Add Pincfgs for OTG
On Sat, Apr 06, 2019 at 06:00:20PM +0200, Markus Kueffner wrote:
> Add Pincfgs to enable the i.MX6's OTG feature for UDOO
>
> Signed-off-by: Markus Kueffner <kueffner.markus@gmail.com>
> ---
> arch/arm/boot/dts/imx6qdl-udoo.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
> index 776bfc7..42954ee 100644
> --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
> @@ -221,6 +221,14 @@
> >;
> };
>
> + pinctrl_usbotg: usbotg {
> + fsl,pins = <
> + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
> + MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x17059
> + MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x17059
> + >;
> + };
> +

I know ac97 is out of order, but I still would like to keep pinctrl
nodes sort alphabetically. That said, pinctrl_usbotg should go after
pinctrl_usbh.

> pinctrl_ac97_running: ac97running {
> fsl,pins = <
> MX6QDL_PAD_DI0_PIN2__AUD6_TXD 0x1b0b0
> @@ -294,6 +302,14 @@
> status = "okay";
> };
>
> +&usbotg {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usbotg>;
> + fsl,power-line-polarity-active-high;
> + fsl,over-current-polarity-active-low;

Are these two properties supported by upstream bindings and driver?

Shawn

> + status = "okay";
> +};
> +
> &audmux {
> status = "okay";
> };
> --
> 2.1.4
>

\
 
 \ /
  Last update: 2019-04-11 08:55    [W:0.049 / U:10.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site