From: Neil Armstrong <narmstrong@baylibre.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: khilman@baylibre.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org
Subject: Re: [PATCH 11/11] arm64: dts: meson-g12a-x96-max: Enable USB
Date: Sat, 16 Mar 2019 15:46:03 +0100 [thread overview]
Message-ID: <5C8D0C2B.2010605@baylibre.com> (raw)
In-Reply-To: <CAFBinCDU_6JEJJS8yZkq0rjbqKcy2eBKFaYqgX3txGMiO5U9Fg@mail.gmail.com>
Le 15/03/2019 22:50, Martin Blumenstingl a écrit :
> Hi Neil,
>
> On Mon, Mar 11, 2019 at 10:58 AM Neil Armstrong <narmstrong@baylibre.com> wrote:
> [...]
>> +&dwc2 {
>> + status = "okay";
>> +};
> your patch description states that this enables the "USB host ports"
> but dwc2 is only used for peripheral mode (meaning: dr_mode =
> "peripheral" or dr_mode = "otg").
> do we still need to enable dwc2 in a host-only configuration?
DWC2 is peripheral-only, but we can still manually switch one of the
ports and use it as peripheral with a Type-A to Type-A cable, thus
enabling dwc2.
If the OTG capable PHYs was behind an USB Hub or directly connected to
a device, we could disable dwc2, but for now this port is always tied
to a physical Type-A or micro-USB connector.
Maybe it would be sane to always enable dwc2, and disable it for specific
boards only.
Neil
>
>
> Regards
> Martin
>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
WARNING: multiple messages have this Message-ID (diff)
From: Neil Armstrong <narmstrong@baylibre.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: khilman@baylibre.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org
Subject: Re: [PATCH 11/11] arm64: dts: meson-g12a-x96-max: Enable USB
Date: Sat, 16 Mar 2019 15:46:03 +0100 [thread overview]
Message-ID: <5C8D0C2B.2010605@baylibre.com> (raw)
In-Reply-To: <CAFBinCDU_6JEJJS8yZkq0rjbqKcy2eBKFaYqgX3txGMiO5U9Fg@mail.gmail.com>
Le 15/03/2019 22:50, Martin Blumenstingl a écrit :
> Hi Neil,
>
> On Mon, Mar 11, 2019 at 10:58 AM Neil Armstrong <narmstrong@baylibre.com> wrote:
> [...]
>> +&dwc2 {
>> + status = "okay";
>> +};
> your patch description states that this enables the "USB host ports"
> but dwc2 is only used for peripheral mode (meaning: dr_mode =
> "peripheral" or dr_mode = "otg").
> do we still need to enable dwc2 in a host-only configuration?
DWC2 is peripheral-only, but we can still manually switch one of the
ports and use it as peripheral with a Type-A to Type-A cable, thus
enabling dwc2.
If the OTG capable PHYs was behind an USB Hub or directly connected to
a device, we could disable dwc2, but for now this port is always tied
to a physical Type-A or micro-USB connector.
Maybe it would be sane to always enable dwc2, and disable it for specific
boards only.
Neil
>
>
> Regards
> Martin
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Neil Armstrong <narmstrong@baylibre.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: khilman@baylibre.com, linux-amlogic@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 11/11] arm64: dts: meson-g12a-x96-max: Enable USB
Date: Sat, 16 Mar 2019 15:46:03 +0100 [thread overview]
Message-ID: <5C8D0C2B.2010605@baylibre.com> (raw)
In-Reply-To: <CAFBinCDU_6JEJJS8yZkq0rjbqKcy2eBKFaYqgX3txGMiO5U9Fg@mail.gmail.com>
Le 15/03/2019 22:50, Martin Blumenstingl a écrit :
> Hi Neil,
>
> On Mon, Mar 11, 2019 at 10:58 AM Neil Armstrong <narmstrong@baylibre.com> wrote:
> [...]
>> +&dwc2 {
>> + status = "okay";
>> +};
> your patch description states that this enables the "USB host ports"
> but dwc2 is only used for peripheral mode (meaning: dr_mode =
> "peripheral" or dr_mode = "otg").
> do we still need to enable dwc2 in a host-only configuration?
DWC2 is peripheral-only, but we can still manually switch one of the
ports and use it as peripheral with a Type-A to Type-A cable, thus
enabling dwc2.
If the OTG capable PHYs was behind an USB Hub or directly connected to
a device, we could disable dwc2, but for now this port is always tied
to a physical Type-A or micro-USB connector.
Maybe it would be sane to always enable dwc2, and disable it for specific
boards only.
Neil
>
>
> Regards
> Martin
>
next prev parent reply other threads:[~2019-03-16 14:46 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 9:56 [PATCH 00/11] arm64: dts: g12a: Add boards peripherals Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 01/11] arm64: dts: meson-g12a-u200: add uart_AO pinctrl Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-11 9:56 ` [PATCH 02/11] arm64: dts: meson-g12a-sei510: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-11 9:56 ` [PATCH 03/11] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-15 21:42 ` Martin Blumenstingl
2019-03-11 9:56 ` [PATCH 04/11] arm64: dts: meson-g12a-u200: add regulators Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 22:01 ` Martin Blumenstingl
2019-03-15 22:01 ` Martin Blumenstingl
2019-03-15 22:01 ` Martin Blumenstingl
2019-03-16 14:40 ` Neil Armstrong
2019-03-16 14:40 ` Neil Armstrong
2019-03-16 14:40 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 05/11] arm64: dts: meson-g12a-sei510: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 06/11] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 22:05 ` Martin Blumenstingl
2019-03-15 22:05 ` Martin Blumenstingl
2019-03-15 22:05 ` Martin Blumenstingl
2019-03-16 14:41 ` Neil Armstrong
2019-03-16 14:41 ` Neil Armstrong
2019-03-16 14:41 ` Neil Armstrong
2019-03-16 14:41 ` Neil Armstrong
2019-03-16 14:41 ` Neil Armstrong
2019-03-16 14:41 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 07/11] arm64: dts: meson-g12a-x96-max: Enable BT Module Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:48 ` Martin Blumenstingl
2019-03-15 21:48 ` Martin Blumenstingl
2019-03-15 21:48 ` Martin Blumenstingl
2019-03-16 14:42 ` Neil Armstrong
2019-03-16 14:42 ` Neil Armstrong
2019-03-16 14:42 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 08/11] arm64: dts: meson-g12a-sei510: Add ADC Key and BT support Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 09/11] arm64: dts: meson-g12a-sei510: Enable USB Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` [PATCH 10/11] arm64: dts: meson-g12a-u200: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:52 ` Martin Blumenstingl
2019-03-15 21:52 ` Martin Blumenstingl
2019-03-15 21:52 ` Martin Blumenstingl
2019-03-11 9:56 ` [PATCH 11/11] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-11 9:56 ` Neil Armstrong
2019-03-15 21:50 ` Martin Blumenstingl
2019-03-15 21:50 ` Martin Blumenstingl
2019-03-15 21:50 ` Martin Blumenstingl
2019-03-16 14:46 ` Neil Armstrong [this message]
2019-03-16 14:46 ` Neil Armstrong
2019-03-16 14:46 ` Neil Armstrong
2019-03-16 22:07 ` Martin Blumenstingl
2019-03-16 22:07 ` Martin Blumenstingl
2019-03-16 22:07 ` Martin Blumenstingl
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=5C8D0C2B.2010605@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
/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.