Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2560991pxb; Sun, 8 Nov 2020 05:16:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXv6a+2XbxWpZqq+1QRu+J9uhHjC3gemnLX9yuHn5Bv45wB1Ckr8ASNOmQcSri93CKdYMO X-Received: by 2002:a17:906:ca93:: with SMTP id js19mr11251194ejb.537.1604841383262; Sun, 08 Nov 2020 05:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604841383; cv=none; d=google.com; s=arc-20160816; b=Sa9uTu8Qv+0Y9rfWbUY5uPu7ukULtkoCiYcLqorIc7l+dIuXOyt3wRHf06MXhwLhUO Dr5EUC99QK+yFKcZqAVbhkzEK03B82M6WPQweDhltN4CFO/7eCUcmnSMWLWxEe2VZPd7 IaJITgQ7iI6UM/M7y5DrMpZZXWrdNqNLy1bj20tz3tsAErOfdgH/22LgUSOzpeHiZmCo TiZfmqScxzjy9SyssayAy0Qv9BZ8BIl+tt9EQUVSNNlU4eP2luBhES+R5cSQ3acSUHXj /ict//Fh8CpoiV5/HwapOhngc6EkmPlYct+ofGzlPS1Vgh2HdeFBJNqInjDurBXAjYi2 s//w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WKNp7tMXuu6sDnEP7we8fjp3C/3vIJwY3w165bNjlwc=; b=z2wlr1UqS1sLH3PI/FRs1gzvG/jtBnHOQArGpTEyBzF0BVBZdhcn6SJ5kicuB7zBnJ 3MgQSPQhs78Fuu/ZAbeFl5Ix48Z/9lzFrJZEUXqMVYlHO1PVxqCG541Jv+S5RK2sVF7u dwiiufa7TL4tmde6PSEB4RGQDv37cUKOTm9FH3ZdiCO/bTVQrefVjZebd0gdWkKG44+U SAIOnjfRFn/ShIB+27xLibFfisFjy/gug0vxD6i7QGGNzQOUPavaIe31hE4d8+4CU8b2 U/ZD6bVTB69Mk5KFuF+mfOVv6FHkYExKRY6WaGuKAEKGsDRjNuAJSX10kkPwcl9Es7uW MW2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L7O5RXI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr13si5095509ejb.428.2020.11.08.05.15.57; Sun, 08 Nov 2020 05:16:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L7O5RXI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbgKHNOU (ORCPT + 99 others); Sun, 8 Nov 2020 08:14:20 -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: linux-kernel@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