From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AEC8C4741F for ; Sun, 8 Nov 2020 13:14:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF9F5206ED for ; Sun, 8 Nov 2020 13:14:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604841275; bh=ACYX+dzqwM+pqodv+7eTSQQ2v0JAOW2m9T80x7FTPzM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=XOE3u4kx/ZOeN8/0NfoKc5EcShn7vbt71EZXWt2CTdw1QJyJbOvaK4XnN31wCzNEu o3FPSIqjcD4KbW5RbEwZgnp+PyOhpHXD0ZavSW3sBLXk0QUudft0UPPCAjY8Fo97zu Q47lu66yJmAwpbi13OBpsdR+09NOJaZIH9DqDMGQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgKHNOT (ORCPT ); Sun, 8 Nov 2020 08:14:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:51612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727958AbgKHNOR (ORCPT ); Sun, 8 Nov 2020 08:14:17 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 48823206ED; Sun, 8 Nov 2020 13:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604841256; bh=ACYX+dzqwM+pqodv+7eTSQQ2v0JAOW2m9T80x7FTPzM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L7O5RXI+yzbk9LJKFBokN0v+ZLqHuE7BSPzd/SEoYkJL2mr6e+0/xOPHnkYQo25O3 /UDhFntFg3btGKPdbvIgZ7uts47RwM5PImyTFkgAyYN0xww3jegvoMHNo684oXWm0N S8mMTnROEGw5L21GeHKLPP2Lh0iAleDFd7FcqgyY= Date: Sun, 8 Nov 2020 08:14:15 -0500 From: Sasha Levin To: Neil Armstrong Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Kevin Hilman , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH AUTOSEL 5.9 02/35] arm64: dts: meson-axg: add USB nodes Message-ID: <20201108131415.GO2092@sasha-vm> References: <20201103011840.182814-1-sashal@kernel.org> <20201103011840.182814-2-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, Nov 03, 2020 at 09:55:45AM +0100, Neil Armstrong wrote: >On 03/11/2020 02:18, Sasha Levin wrote: >> From: Neil Armstrong >> >> [ Upstream commit 1b208bab34dc3f4ef8f408105017d4a7b72b2a2f ] >> >> This adds the USB Glue node, with the USB2 & USB3 controllers along the single >> USB2 PHY node. >> >> Signed-off-by: Neil Armstrong >> Reviewed-by: Kevin Hilman >> Reviewed-by: Martin Blumenstingl >> Signed-off-by: Kevin Hilman >> Signed-off-by: Sasha Levin >> --- >> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 50 ++++++++++++++++++++++ >> 1 file changed, 50 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> index b9efc8469265d..fae48efae83e9 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> @@ -171,6 +171,46 @@ soc { >> #size-cells = <2>; >> ranges; >> >> + usb: usb@ffe09080 { >> + compatible = "amlogic,meson-axg-usb-ctrl"; >> + reg = <0x0 0xffe09080 0x0 0x20>; >> + interrupts = ; >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges; >> + >> + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1_DDR_BRIDGE>; >> + clock-names = "usb_ctrl", "ddr"; >> + resets = <&reset RESET_USB_OTG>; >> + >> + dr_mode = "otg"; >> + >> + phys = <&usb2_phy1>; >> + phy-names = "usb2-phy1"; >> + >> + dwc2: usb@ff400000 { >> + compatible = "amlogic,meson-g12a-usb", "snps,dwc2"; >> + reg = <0x0 0xff400000 0x0 0x40000>; >> + interrupts = ; >> + clocks = <&clkc CLKID_USB1>; >> + clock-names = "otg"; >> + phys = <&usb2_phy1>; >> + dr_mode = "peripheral"; >> + g-rx-fifo-size = <192>; >> + g-np-tx-fifo-size = <128>; >> + g-tx-fifo-size = <128 128 16 16 16>; >> + }; >> + >> + dwc3: usb@ff500000 { >> + compatible = "snps,dwc3"; >> + reg = <0x0 0xff500000 0x0 0x100000>; >> + interrupts = ; >> + dr_mode = "host"; >> + maximum-speed = "high-speed"; >> + snps,dis_u2_susphy_quirk; >> + }; >> + }; >> + >> ethmac: ethernet@ff3f0000 { >> compatible = "amlogic,meson-axg-dwmac", >> "snps,dwmac-3.70a", >> @@ -1734,6 +1774,16 @@ sd_emmc_c: mmc@7000 { >> clock-names = "core", "clkin0", "clkin1"; >> resets = <&reset RESET_SD_EMMC_C>; >> }; >> + >> + usb2_phy1: phy@9020 { >> + compatible = "amlogic,meson-gxl-usb2-phy"; >> + #phy-cells = <0>; >> + reg = <0x0 0x9020 0x0 0x20>; >> + clocks = <&clkc CLKID_USB>; >> + clock-names = "phy"; >> + resets = <&reset RESET_USB_OTG>; >> + reset-names = "phy"; >> + }; >> }; >> >> sram: sram@fffc0000 { >> > >Hi Sasha, > >This needs also support in the dwc3-meson-g12a driver, you can drop it from backport. Dropped, thanks! -- Thanks, Sasha