From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno
Date: Fri, 31 Jul 2015 12:11:57 +0200 [thread overview]
Message-ID: <20150731101157.GD2564@lukather> (raw)
In-Reply-To: <1438333194-21181-4-git-send-email-hdegoede@redhat.com>
On Fri, Jul 31, 2015 at 10:59:52AM +0200, Hans de Goede wrote:
> From: Mark Janssen <mark@sig-io.nl>
>
> Enable the otg/drc usb controller on the A13 OLinuxIno.
>
> Signed-off-by: Mark Janssen <mark@sig-io.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 37 +++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> index 4232400..e659482 100644
> --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> @@ -159,6 +159,10 @@
> status = "okay";
> };
>
> +&otg_sram {
> + status = "okay";
> +};
> +
> &pio {
> mmc0_cd_pin_olinuxino: mmc0_cd_pin at 0 {
> allwinner,pins = "PG0";
> @@ -174,6 +178,24 @@
> allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> };
>
> + usb0_id_detect_pin: usb0_id_detect_pin at 0 {
> + allwinner,pins = "PG2";
> + allwinner,function = "gpio_in";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
> + };
> +
> + usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
> + allwinner,pins = "PG1";
> + allwinner,function = "gpio_in";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
> + };
> +
> + usb0_vbus_pin_a: usb0_vbus_pin at 0 {
> + allwinner,pins = "PG12";
> + };
Same thing here than in patch 2.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150731/45dfd99e/attachment-0001.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org>
Subject: Re: [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno
Date: Fri, 31 Jul 2015 12:11:57 +0200 [thread overview]
Message-ID: <20150731101157.GD2564@lukather> (raw)
In-Reply-To: <1438333194-21181-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]
On Fri, Jul 31, 2015 at 10:59:52AM +0200, Hans de Goede wrote:
> From: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org>
>
> Enable the otg/drc usb controller on the A13 OLinuxIno.
>
> Signed-off-by: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 37 +++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> index 4232400..e659482 100644
> --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
> @@ -159,6 +159,10 @@
> status = "okay";
> };
>
> +&otg_sram {
> + status = "okay";
> +};
> +
> &pio {
> mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 {
> allwinner,pins = "PG0";
> @@ -174,6 +178,24 @@
> allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> };
>
> + usb0_id_detect_pin: usb0_id_detect_pin@0 {
> + allwinner,pins = "PG2";
> + allwinner,function = "gpio_in";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
> + };
> +
> + usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
> + allwinner,pins = "PG1";
> + allwinner,function = "gpio_in";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
> + };
> +
> + usb0_vbus_pin_a: usb0_vbus_pin@0 {
> + allwinner,pins = "PG12";
> + };
Same thing here than in patch 2.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-07-31 10:11 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 8:59 [PATCH 0/5] ARM: dts: sunxi: Enable USB DRC on a bunch of boards Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 8:59 ` [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 10:10 ` Maxime Ripard
2015-07-31 10:10 ` Maxime Ripard
2015-07-31 8:59 ` [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 10:11 ` Maxime Ripard
2015-07-31 10:11 ` Maxime Ripard
2015-07-31 8:59 ` [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 10:11 ` Maxime Ripard [this message]
2015-07-31 10:11 ` Maxime Ripard
2015-07-31 8:59 ` [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 10:08 ` Maxime Ripard
2015-07-31 10:08 ` Maxime Ripard
2015-07-31 8:59 ` [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT Hans de Goede
2015-07-31 8:59 ` Hans de Goede
2015-07-31 10:20 ` Maxime Ripard
2015-07-31 10:20 ` Maxime Ripard
2015-07-31 10:25 ` [linux-sunxi] " Chen-Yu Tsai
2015-07-31 10:25 ` Chen-Yu Tsai
2015-07-31 12:45 ` [linux-sunxi] " Hans de Goede
2015-07-31 12:45 ` Hans de Goede
2015-07-31 16:13 ` Hans de Goede
2015-07-31 16:13 ` Hans de Goede
2015-07-31 17:33 ` [linux-sunxi] " Chen-Yu Tsai
2015-07-31 17:33 ` Chen-Yu Tsai
2015-08-01 9:30 ` [linux-sunxi] " Maxime Ripard
2015-08-01 9:30 ` Maxime Ripard
2015-08-02 12:58 ` [linux-sunxi] " Hans de Goede
2015-08-02 12:58 ` Hans de Goede
2015-08-02 13:00 ` [linux-sunxi] " Hans de Goede
2015-08-02 13:00 ` Hans de Goede
2015-07-31 16:56 ` Maxime Ripard
2015-07-31 16:56 ` Maxime Ripard
2015-07-31 17:28 ` [linux-sunxi] " Chen-Yu Tsai
2015-07-31 17:28 ` Chen-Yu Tsai
2015-07-31 18:02 ` [linux-sunxi] " Hans de Goede
2015-07-31 18:02 ` Hans de Goede
2015-08-01 9:18 ` Maxime Ripard
2015-08-01 9:18 ` Maxime Ripard
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=20150731101157.GD2564@lukather \
--to=maxime.ripard@free-electrons.com \
--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.