LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: Shawn Guo <shawnguo@kernel.org>
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>,
Jagan Teki <jagan@amarulasolutions.com>
Subject: [PATCH 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support
Date: Wed, 25 Apr 2018 23:09:32 +0530 [thread overview]
Message-ID: <20180425173932.7213-4-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20180425173932.7213-1-jagan@amarulasolutions.com>
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>
---
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 {
+ 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-04-25 17:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 17:39 [PATCH 1/4] drm/panel: simple: Add support for Rocktech RK070ER9427 LCD panel Jagan Teki
2018-04-25 17:39 ` [PATCH 2/4] ARM: dts: i.MX6: imx6dl-mamoj: Add parallel display support Jagan Teki
2018-05-07 14:07 ` Fabio Estevam
2018-04-25 17:39 ` [PATCH 3/4] ARM: dts: i.MX6: imx6dl-mamoj: Add Wifi support Jagan Teki
2018-05-07 14:08 ` Fabio Estevam
2018-04-25 17:39 ` Jagan Teki [this message]
2018-05-07 14:08 ` [PATCH 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support Fabio Estevam
2018-04-25 17:45 ` [PATCH 1/4] drm/panel: simple: Add support for Rocktech RK070ER9427 LCD panel Fabio Estevam
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=20180425173932.7213-4-jagan@amarulasolutions.com \
--to=jagan@amarulasolutions.com \
--cc=andrea.cortese@bticino.it \
--cc=davide.bonfanti@bticino.it \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=fabio.mauri@bticino.it \
--cc=kernel@pengutronix.de \
--cc=lamiaposta71@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=michael@amarulasolutions.com \
--cc=raffaele.recalcati@bticino.it \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
--cc=shyam.saini@amarulasolutions.com \
--cc=simone.cianni@bticino.it \
--subject='Re: [PATCH 4/4] ARM: dts: i.MX6: imx6dl-mamoj: Add usb host and device support' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).