From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support
Date: Tue, 19 Jun 2018 10:45:30 +0800 [thread overview]
Message-ID: <20180619024528.GZ16091@dragon> (raw)
In-Reply-To: <20180607134748.2970-3-jagan@amarulasolutions.com>
On Thu, Jun 07, 2018 at 07:17:48PM +0530, Jagan Teki wrote:
> From: Michael Trimarchi <michael@amarulasolutions.com>
>
> Add USB host and device support for BTicino i.MX6DL Mamoj board.
>
> Signed-off-by: Simone CIANNI <simone.cianni@bticino.it>
> Signed-off-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> Changes for v2:
> - collect Fabio r-w-b tag
>
> arch/arm/boot/dts/imx6dl-mamoj.dts | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6dl-mamoj.dts b/arch/arm/boot/dts/imx6dl-mamoj.dts
> index 5034b086035f..a727e1471006 100644
> --- a/arch/arm/boot/dts/imx6dl-mamoj.dts
> +++ b/arch/arm/boot/dts/imx6dl-mamoj.dts
> @@ -134,6 +134,17 @@
> vin-supply = <®_lcd_vgl>;
> };
>
> + reg_usb_host: regulator-usb-vbus {
> + compatible = "regulator-fixed";
> + regulator-name = "usbhost-vbus";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usbhost>;
> + regulator-min-microvolt = <50000000>;
> + regulator-max-microvolt = <50000000>;
> + gpio = <&gpio6 6 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
> +
> reg_wl18xx_vmmc: regulator-wl18xx-vmcc {
> compatible = "regulator-fixed";
> regulator-name = "vwl1807";
> @@ -297,6 +308,16 @@
> status = "okay";
> };
>
> +&usbh1 {
> + vbus-supply = <®_usb_host>;
> + status = "okay";
> +};
> +
> +&usbotg {
> + dr_mode = "peripheral";
> + status = "okay";
> +};
> +
> &usdhc1 {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_usdhc1>;
> @@ -428,6 +449,12 @@
> >;
> };
>
> + pinctrl_usbhost: usbhost {
usbhostgrp.
Shawn
> + fsl,pins = <
> + MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x4001b0b0
> + >;
> + };
> +
> pinctrl_usdhc1: usdhc1grp {
> fsl,pins = <
> MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17069
> --
> 2.14.3
>
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Sascha Hauer <kernel@pengutronix.de>,
Fabio Estevam <fabio.estevam@nxp.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Fabio maggi <fabio.mauri@bticino.it>,
lamiaposta71@gmail.com,
Andrea CORTESE <andrea.cortese@bticino.it>,
"davide . bonfanti" <davide.bonfanti@bticino.it>,
Shyam Saini <shyam.saini@amarulasolutions.com>,
Michael Trimarchi <michael@amarulasolutions.com>,
Simone CIANNI <simone.cianni@bticino.it>,
Raffaele RECALCATI <raffaele.recalcati@bticino.it>
Subject: Re: [PATCH v2 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support
Date: Tue, 19 Jun 2018 10:45:30 +0800 [thread overview]
Message-ID: <20180619024528.GZ16091@dragon> (raw)
In-Reply-To: <20180607134748.2970-3-jagan@amarulasolutions.com>
On Thu, Jun 07, 2018 at 07:17:48PM +0530, Jagan Teki wrote:
> From: Michael Trimarchi <michael@amarulasolutions.com>
>
> Add USB host and device support for BTicino i.MX6DL Mamoj board.
>
> Signed-off-by: Simone CIANNI <simone.cianni@bticino.it>
> Signed-off-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> Changes for v2:
> - collect Fabio r-w-b tag
>
> arch/arm/boot/dts/imx6dl-mamoj.dts | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6dl-mamoj.dts b/arch/arm/boot/dts/imx6dl-mamoj.dts
> index 5034b086035f..a727e1471006 100644
> --- a/arch/arm/boot/dts/imx6dl-mamoj.dts
> +++ b/arch/arm/boot/dts/imx6dl-mamoj.dts
> @@ -134,6 +134,17 @@
> vin-supply = <®_lcd_vgl>;
> };
>
> + reg_usb_host: regulator-usb-vbus {
> + compatible = "regulator-fixed";
> + regulator-name = "usbhost-vbus";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usbhost>;
> + regulator-min-microvolt = <50000000>;
> + regulator-max-microvolt = <50000000>;
> + gpio = <&gpio6 6 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
> +
> reg_wl18xx_vmmc: regulator-wl18xx-vmcc {
> compatible = "regulator-fixed";
> regulator-name = "vwl1807";
> @@ -297,6 +308,16 @@
> status = "okay";
> };
>
> +&usbh1 {
> + vbus-supply = <®_usb_host>;
> + status = "okay";
> +};
> +
> +&usbotg {
> + dr_mode = "peripheral";
> + status = "okay";
> +};
> +
> &usdhc1 {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_usdhc1>;
> @@ -428,6 +449,12 @@
> >;
> };
>
> + pinctrl_usbhost: usbhost {
usbhostgrp.
Shawn
> + fsl,pins = <
> + MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x4001b0b0
> + >;
> + };
> +
> pinctrl_usdhc1: usdhc1grp {
> fsl,pins = <
> MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17069
> --
> 2.14.3
>
next prev parent reply other threads:[~2018-06-19 2:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 13:47 [PATCH v2 2/4] ARM: dts: i.MX6: imx6dl-mamoj: Add parallel display support Jagan Teki
2018-06-07 13:47 ` Jagan Teki
2018-06-07 13:47 ` [PATCH v2 3/4] ARM: dts: i.MX6: imx6dl-mamoj: Add Wifi support Jagan Teki
2018-06-07 13:47 ` Jagan Teki
2018-06-19 2:44 ` Shawn Guo
2018-06-19 2:44 ` Shawn Guo
2018-06-07 13:47 ` [PATCH v2 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support Jagan Teki
2018-06-07 13:47 ` Jagan Teki
2018-06-19 2:45 ` Shawn Guo [this message]
2018-06-19 2:45 ` Shawn Guo
2018-06-19 2:41 ` [PATCH v2 2/4] ARM: dts: i.MX6: imx6dl-mamoj: Add parallel display support Shawn Guo
2018-06-19 2:41 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619024528.GZ16091@dragon \
--to=shawnguo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.