[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fe9931ac-4b20-4fe8-aa91-9d9cca7e9770@kernel.org>
Date: Mon, 5 Aug 2024 07:52:58 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: David Virag <virag.david003@...il.com>, Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Michael Turquette <mturquette@...libre.com>, Stephen Boyd
<sboyd@...nel.org>, Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Peter Griffin <peter.griffin@...aro.org>,
André Draszik <andre.draszik@...aro.org>,
Sam Protsenko <semen.protsenko@...aro.org>,
Marek Szyprowski <m.szyprowski@...sung.com>
Cc: linux-phy@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-clk@...r.kernel.org
Subject: Re: [PATCH 12/13] arm64: dts: exynos: Enable USB in Exynos7885
On 04/08/2024 23:53, David Virag wrote:
> Add USB controller and USB PHY controller nodes to Exynos7885 SoC DTSI
>
> The SoC theoretically supports USB3 SuperSpeed, but is not implemented
> in any known device. The vendor kernel also stubs out USB3 functions, so
> we do not support it.
>
> It is though, perfectly capable of USB 2.0 high-speed mode, both as host
> and device.
>
> Signed-off-by: David Virag <virag.david003@...il.com>
> ---
> arch/arm64/boot/dts/exynos/exynos7885.dtsi | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/exynos/exynos7885.dtsi b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> index 008228fb319a..1352c64d132e 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> @@ -463,6 +463,41 @@ i2c_7: i2c@...d0000 {
> clock-names = "i2c";
> status = "disabled";
> };
> +
> + usbdrd: usb@...00000 {
> + compatible = "samsung,exynos7885-dwusb3";
> + ranges = <0x0 0x13600000 0x10000>;
> + clocks = <&cmu_fsys CLK_FSYS_USB30DRD_BUS_CLK_EARLY>,
> + <&cmu_fsys CLK_FSYS_USB30DRD_REF_CLK>;
> + clock-names = "bus_early", "ref";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + status = "disabled";
> +
> + usbdrd_dwc3: usb@0 {
> + compatible = "snps,dwc3";
> + reg = <0x0 0x10000>;
> + interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
> + phys = <&usbdrd_phy 0>;
> + phy-names = "usb2-phy";
> + /*
> + * SoC in theory supports SS but no device has it.
> + * Actual capabilities unknown.
> + */
> + maximum-speed = "high-speed";
> + };
> + };
> +
> + usbdrd_phy: phy@...d0000 {
Keep the nodes ordered by unit address.
Best regards,
Krzysztof
Powered by blists - more mailing lists