[PATCH AUTOSEL 5.9 03/35] arm64: dts: meson-axg-s400: enable USB OTG

Sasha Levin sashal at kernel.org
Sun Nov 8 08:14:26 EST 2020


On Tue, Nov 03, 2020 at 09:55:51AM +0100, Neil Armstrong wrote:
>On 03/11/2020 02:18, Sasha Levin wrote:
>> From: Neil Armstrong <narmstrong at baylibre.com>
>>
>> [ Upstream commit f450d2c219f6a6b79880c97bf910c3c72725eb70 ]
>>
>> This enables USB OTG on the S400 board.
>>
>> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
>> Reviewed-by: Kevin Hilman <khilman at baylibre.com>
>> Signed-off-by: Kevin Hilman <khilman at baylibre.com>
>> Signed-off-by: Sasha Levin <sashal at kernel.org>
>> ---
>>  arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
>> index cb1360ae1211e..7740f97c240f0 100644
>> --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
>> +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
>> @@ -584,3 +584,9 @@ &uart_AO {
>>  	pinctrl-0 = <&uart_ao_a_pins>;
>>  	pinctrl-names = "default";
>>  };
>> +
>> +&usb {
>> +	status = "okay";
>> +	dr_mode = "otg";
>> +	vbus-supply = <&usb_pwr>;
>> +};
>>
>
>Hi Sasha,
>
>This needs also support in the dwc3-meson-g12a driver, you can drop it from backport.

Dropped, thanks!

-- 
Thanks,
Sasha



More information about the linux-amlogic mailing list