From patchwork Wed Aug 26 17:06:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: travelvia@airmail.cc X-Patchwork-Id: 11739183 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4ECCD1751 for ; Wed, 26 Aug 2020 17:06:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27E1020737 for ; Wed, 26 Aug 2020 17:06:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ouW0prKp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=airmail.cc header.i=@airmail.cc header.b="nih16olN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27E1020737 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=airmail.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=NFTb1RYo3WGA9iU7+BxiwSlZ/BUcxGQiVjn7vms2PhQ=; b=ouW0prKpHqMCRTOF8SiM2ioVvS kyy9miWMW+8z9cMbmaDQ39zqcZOTt7dhS7c2xQYdE/IHEICU3xnNhsd8202eAc/avP7LICvY4wpsP WR3VCP73Xmre1Pq70ogEcDq27a56gaEsKMS0RRL+XEmWNKWZIFB/bv+kNYcbFFtFVGF5Frs+XoHhe oOGLBZkTE1YhqBpHEpLapx6HP4/Fch47b4qVCfNeRsXCojtUHDtdyyaX6J+yY4W3Xr0b9gfELvy+f aAec9jPBDk9W3jL74Pvr7Y28TSyQ/AKqxXYr+xSqONgob4AKMVX3265cH7nKMcZtAiSJHjoPXGI7I r1bX+eLQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAysj-0001pB-2T; Wed, 26 Aug 2020 17:06:41 +0000 Received: from mail.cock.li ([37.120.193.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyse-0001o9-Et; Wed, 26 Aug 2020 17:06:37 +0000 From: travelvia@airmail.cc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1598461591; bh=UgOM+roZXfnn3lqaoJqMtjxXynnikZ73M0zwtTekzb8=; h=From:To:Cc:Subject:Date:From; b=nih16olNyhDL3U/5lHjVPyzGCwh/cCDVP2AtKkK+T0wSfACCi93ztkbCt8x9kIpH1 T5orhD7bNO+H+y+nAsGHIG5+2DvIHL/pccDLSHKDyYBocPvc/cIAD12GYHoHsbq3zt cMwNdqyuHw3T1SUH0PMMigB9yNGitvwWOI5kOsnweFUlBUy6dYWK1fjvBs/5uA5cRk /M395mxMLsgHLf3g+uvnYKjOL7+Y4/bnQKL8h0ncLSfT0wYSryw4x3LiULQy6qm5z4 6eVRBBEKIcQB56qi38ixtkIujKdSfGVr2ZNgIbCc0WcEuiyx1n3+Vq5YhfvYK3xwW4 m9tq3RJWT8j7A== To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: usb: add rk3328 dwc3 docs Date: Wed, 26 Aug 2020 10:06:20 -0700 Message-Id: <20200826170623.15469-1-travelvia@airmail.cc> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_130636_790624_AC5BF65D X-CRM114-Status: GOOD ( 10.16 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gregkh@linuxfoundation.org, cnemo@tutanota.com, robh+dt@kernel.org, heiko@sntech.de, balbi@kernel.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Cameron Nemo Document compatible for dwc3 on the Rockchip rk3328 platform. Signed-off-by: Cameron Nemo --- Documentation/devicetree/bindings/usb/dwc3.txt | 1 + Documentation/devicetree/bindings/usb/rockchip,dwc3.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index d03edf9d3935..d625cd5966e9 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -25,6 +25,7 @@ Exception for clocks: "ti,am437x-dwc3" "ti,dwc3" "ti,keystone-dwc3" + "rockchip,rk3328-dwc3" "rockchip,rk3399-dwc3" "xlnx,zynqmp-dwc3" diff --git a/Documentation/devicetree/bindings/usb/rockchip,dwc3.txt b/Documentation/devicetree/bindings/usb/rockchip,dwc3.txt index 94520493233b..b41f30a61be6 100644 --- a/Documentation/devicetree/bindings/usb/rockchip,dwc3.txt +++ b/Documentation/devicetree/bindings/usb/rockchip,dwc3.txt @@ -1,7 +1,8 @@ Rockchip SuperSpeed DWC3 USB SoC controller Required properties: -- compatible: should contain "rockchip,rk3399-dwc3" for rk3399 SoC +- compatible: should contain "rockchip,rk3328-dwc3" for rk3328 SoC + or "rockchip,rk3399-dwc3" for rk3399 SoC - clocks: A list of phandle + clock-specifier pairs for the clocks listed in clock-names - clock-names: Should contain the following: From patchwork Wed Aug 26 17:06:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: travelvia@airmail.cc X-Patchwork-Id: 11739185 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 976D61751 for ; Wed, 26 Aug 2020 17:06:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70C1F20737 for ; Wed, 26 Aug 2020 17:06:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vr0ht5YH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=airmail.cc header.i=@airmail.cc header.b="ZZKkSif7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70C1F20737 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=airmail.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SdNKWxeSR8eHpyUcX/OLgcMi0a2o1f3Tr85l0rVBK8A=; b=vr0ht5YH7X8/4IqGApczYfWW6 pnZUNmIYX0NhUJiAIbcUF3T2reh8TjWLi2P7nrERwcRxFqfsdCH2DsjbpmR9BRVG5ZMAOFPE7bwKW O/xcLzb002Le0qcATqUn7vt/qhvspW4mNj+wAfAwAyKFBgDxk273Ten3/Hf+2S5/wW0eo+CkxOgZe H+jrXXoEy2AVVmllM+rtkWB28ZwHyrB2pkD5iisMj4yoQbD5YmNI8ZpTIoSeDvz2HEaYC0e6haoYq eMEiYsmPHy4XhJ2BA0BkGCMR9wsBvT0f4wmmyqQJTbkBlpJQjnCFStizzuoXQURvsUIEMJfw6kS0J +0QM8CeUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAysl-0001pZ-BH; Wed, 26 Aug 2020 17:06:43 +0000 Received: from mail.cock.li ([37.120.193.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAysf-0001oF-12; Wed, 26 Aug 2020 17:06:37 +0000 From: travelvia@airmail.cc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1598461594; bh=b2c3KVSkSjcAJ2SPOYNQuI+C8ljuAnkMKucT/VwP7O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZZKkSif7gmWEvUUxMHgk319clY46GpAMcjY+OSf2lniy/ZSBHsv1tY0PWJ9H7WMdr 3KEA7pkjU/XItv0midLva6rwnpwRUC+LEg1Y8AfR8MPNwY0dRzpxOFTTDqU2ExSF5l TAxh6MjhNGuYIB55rQU8OghPKxwO/7I+c34asRxNlqAR0ydDGvK+GJCnMTQzHhxdt6 WANG8J53FUnQCU+Jbt12mSwUdjjwM0iOBjGuk3e6HNKfsBZFGK2QixFYX0IBIwW7Qx qBMVYydGbjXAgvebkJ/XG8f78Ejo1QVqJ7SU07dxwLOPIMdJb67sxWbb3SY6K/61y5 8YHE+eLPMpbpg== To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 2/4] usb: dwc3: of-simple: Add compatible for rk3328 Date: Wed, 26 Aug 2020 10:06:21 -0700 Message-Id: <20200826170623.15469-2-travelvia@airmail.cc> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200826170623.15469-1-travelvia@airmail.cc> References: <20200826170623.15469-1-travelvia@airmail.cc> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_130637_250109_DB323C9F X-CRM114-Status: GOOD ( 13.26 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gregkh@linuxfoundation.org, cnemo@tutanota.com, robh+dt@kernel.org, heiko@sntech.de, balbi@kernel.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Cameron Nemo Add a compatible to be hooked into by the Rockchip rk3328 device tree. The rk3399 compatible cannot be reused because the rk3328 SoCs may require a specialized driver in the future, and old device trees must remain compatible with newer kernels. Signed-off-by: Cameron Nemo --- drivers/usb/dwc3/dwc3-of-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index 7df115012935..0727bf2304b1 100644 --- a/drivers/usb/dwc3/dwc3-of-simple.c +++ b/drivers/usb/dwc3/dwc3-of-simple.c @@ -171,6 +171,7 @@ static const struct dev_pm_ops dwc3_of_simple_dev_pm_ops = { }; static const struct of_device_id of_dwc3_simple_match[] = { + { .compatible = "rockchip,rk3328-dwc3" }, { .compatible = "rockchip,rk3399-dwc3" }, { .compatible = "xlnx,zynqmp-dwc3" }, { .compatible = "cavium,octeon-7130-usb-uctl" }, From patchwork Wed Aug 26 17:12:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11739205 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81F75109B for ; Wed, 26 Aug 2020 17:12:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 53F5520737 for ; Wed, 26 Aug 2020 17:12:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SKDfIe0j"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P8qHUgT/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53F5520737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vJSGWX9CIwlPCMGznjGvubH4PTc7IxzrOvgho/1JJlM=; b=SKDfIe0j1fFyCOsY9YPnCMRGX motVxNxJ/zFkY9VLl+Mto9Hrs80VfmqqzDrMuAEP7oyrUcWc8P5r2QaPHYFPDdu7DGri/8Y3AZwtx DgRnJN9kBlAZ9zt7/3AIIwSwrDA6iM5ZU7CFM4lPjYLwig9pTaoB7GWT3ObNeTGALBeI70P0ej0lP TNoxPmABZHxb52UL+GAaiYdFyHoUGnOevnkLGEPEm3q32iyNkeoESMxZo4lznOijOsEVj23qK1GZZ j5PCxnsr19v1NELzNNODe3wM4Rjzh+PTaJtJVnykyEiMqIzh1TzQkCzWGOwGSg1UVj0LRIxhgkHrB s7HJk701w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyg-0002mj-8w; Wed, 26 Aug 2020 17:12:50 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyY-0002jV-PR; Wed, 26 Aug 2020 17:12:43 +0000 Received: by mail-pg1-x544.google.com with SMTP id d19so1359100pgl.10; Wed, 26 Aug 2020 10:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pWsykbGqpNMPIeS7QNwd3DXqT62rEDsUA7ZuK6mgUe0=; b=P8qHUgT/f8YdQmri0xIKdziJ9BrKLY8EfuwXZP+P4eJFebIj1t77notUk34Cj2fsDz +RGw/2XWJZ4uriB+kRhgSapQjqCiKIzRv4ZiXg08MVw2OY8RwEep7vDFRpCZqjaFbMWQ J5Eyuo6ttyknfG1Bvc8/+d7lgInTRE75WVJE5E9ieWf09+G2lzeb9ietAY3XWJRSYW9b lHyjl8NvMBY7y09OfeA/kw9bsY6yrU4xnGPkqFipGV2hcIOAxEimXoT+tXUf8itkTWbw nvfIituZBRqHF58AL9l8UONAO8kOujGjvPeyrKeAb3ViUDE0ae5xIYOE++8uPd7F1bOL EyoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pWsykbGqpNMPIeS7QNwd3DXqT62rEDsUA7ZuK6mgUe0=; b=e3IWJLFYn4AcEcrdz35gbmTIdGmtDVfxdOpik0eyxdjK1LXchSs5xGrrs086nm3c09 PVmLHFLXKPF0BpJkF8nXVHXq/ZwIRM0tet+0s7T7andLg0bsSKkQBZdAzmlXCmV/tGX1 nBEkH/BxNCMWs8d4FmxcrlKeiK4MF2OpEVM1IEwtky5vMHQyBuBgEsGv5+Gli5EeD4Ar fReclIuPh2FMgcVeDPvQQDzY3l0c7PjkrppXkMYCp/wC3O5XL59GGCJS4BhAMVGjtRbU h80kxPVnI1QUMMLtqblhA9M1qO6QvYIYvYD/1OGJ4ZGxHqayLx62YmOXrHtpOu+qGiWH PH1w== X-Gm-Message-State: AOAM532VH0ycoU+dUIxFiBI84uJEkxaSltiRQnXmJKQc69oEZg+3RykQ jbvmfFuElPnR0bxB1N4TWZo= X-Google-Smtp-Source: ABdhPJzt+yaCKzMdYl1Uj7hSMNvSFk2qRYcVY1aIh0m33TdWEHtaHj8uxb3pEdTD3pOEXLiaDY/JKQ== X-Received: by 2002:a62:52d6:: with SMTP id g205mr13357990pfb.144.1598461959475; Wed, 26 Aug 2020 10:12:39 -0700 (PDT) Received: from localhost.localdomain (cpe-172-112-234-200.socal.res.rr.com. [172.112.234.200]) by smtp.gmail.com with ESMTPSA id z10sm1957870pjt.30.2020.08.26.10.12.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 10:12:39 -0700 (PDT) From: lindsey.stanpoor@gmail.com To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 3/4] arm64: dts: rockchip: rk3328 usb3 controller node Date: Wed, 26 Aug 2020 10:12:29 -0700 Message-Id: <20200826171230.17041-1-lindsey.stanpoor@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200826170623.15469-1-travelvia@airmail.cc> References: <20200826170623.15469-1-travelvia@airmail.cc> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_131242_834999_61DCF5B1 X-CRM114-Status: GOOD ( 12.11 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:544 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [lindsey.stanpoor[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gregkh@linuxfoundation.org, cnemo@tutanota.com, robh+dt@kernel.org, heiko@sntech.de, balbi@kernel.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Cameron Nemo RK3328 SoCs have one USB 3.0 OTG controller which uses DWC_USB3 core's general architecture. It can act as static xHCI host controller, static device controller, USB 3.0/2.0 OTG basing on ID of USB3.0 PHY. Signed-off-by: William Wu Signed-off-by: Heiko Stuebner Signed-off-by: Cameron Nemo --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index bbdb19a3e85d..27e86bf06d3e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -983,6 +983,33 @@ usb_host0_ohci: usb@ff5d0000 { status = "disabled"; }; + usbdrd3: usb@ff600000 { + compatible = "rockchip,rk3328-dwc3"; + clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>, + <&cru ACLK_USB3OTG>; + clock-names = "ref_clk", "suspend_clk", + "bus_clk"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + status = "disabled"; + + usbdrd_dwc3: dwc3@ff600000 { + compatible = "snps,dwc3"; + reg = <0x0 0xff600000 0x0 0x100000>; + interrupts = ; + dr_mode = "otg"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + status = "disabled"; + }; + }; + gic: interrupt-controller@ff811000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; From patchwork Wed Aug 26 17:12:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11739203 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 32FBF913 for ; Wed, 26 Aug 2020 17:12:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 092EB20737 for ; Wed, 26 Aug 2020 17:12:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bfBekxwv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RabYfrQO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 092EB20737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1IyZsyGFm1tsqzrrWjTzWz0QQC7Qox4k4CaL58MzV58=; b=bfBekxwvF8xiFMXp9faWEGia+ Frh6OHEP/gLRgg6vvi/MAB2SvrU3XQoIk18Wq+ZhsH56mAcuo4baoXqyTaqvQ76FikTn7QdXEFieo GNjMb8CVCQ34HgjgbXmUrXm5HghqU8tSa96PAtQQV8nRTdFmkzQrginNdx8ZLj1jeeiSHb9hng/wB fS/O9W2gcSEZ+YeWpmFUnpGeOf/I9oagbaEC/hiIOUsOTGOfp8u4hMj5ZArzbFNK9Qo9s8aAdnZsV 7cc6WlmpjF8HRmKpGH//3EuUwnpEZzhHO6u+vtIVTDVkjqpYTdf/667KULSTz1N2tHhUAe2dFcigp eL/SuN21A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyf-0002mW-FH; Wed, 26 Aug 2020 17:12:49 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyY-0002jh-Rz; Wed, 26 Aug 2020 17:12:43 +0000 Received: by mail-pl1-x644.google.com with SMTP id k13so1189563plk.13; Wed, 26 Aug 2020 10:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=foFtRttkojftmX4pY4pyI5q5jMC4/A1XtpwKxw5ra3U=; b=RabYfrQO/VyKQRW/Ewp/P9Hi4+pn7atkXUXjA6FN1k8Oe0Qq80gdJEVUFrzd4xZmId /n9qNtjOlRi2ToCO+guN4FSSOFrOU9UK17ByWhxJ/cY7JONFPt/jvV5/MG3Jy5NX4sOp 313dduRI+Az6ws9TFXSVOOS5mSYEbOp+3cjC8QnfN8xwkrvx+3wERHsF6VPw2J0Hqycy gc0KnYEzTvVy4BSuwbiPj1kevPL/cvpieZckDqVNwPg3qDrfCoL5fvbM8HH9ZXD7Plj0 hACH64k/1qPw2iW2DFrO9IsAS2AIpIn0XhvKrVSpGxgnaemlI+3NsIVROU2v5XG3bAsr dgXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=foFtRttkojftmX4pY4pyI5q5jMC4/A1XtpwKxw5ra3U=; b=F2gO8g7Ba1YcXcf+5gtXkPXZF31FU8RjLmYetEA7rq5/x1zCh6ojPOL3Kc+sInh/b+ /Yv9n053GNZMM77rwSAHQ/2US80JV6p8+sb5AXcJRmJ7Y1dN6XHvW3dnPECFlFQPyUX9 JmNtJjYiyXBx6Kre5y+5yl7TmzS/IqKD0lMlBMoomDhCpH6n6zV3iEClnsCzj1wMVUs4 Sh3w2y3B+tWu4DxHKZnjU6zLxF2KXAr71lsA4+pWlH5ycrrs9ZULnliI+5tRMj8d2Lev KrmoYICogVBvWb23aqJU+n/VHblYpfIxMj2sYDlvDSy3BvoxE3g73jU37AODb6krOMeR 6g0A== X-Gm-Message-State: AOAM530ZpI41ocZ1K4drtif/eXfP3veLvpdK2vGVWhlc61FyM4QAUFHW lthkhawG6yTs1dZ0T6fIS+JkndgTTRw= X-Google-Smtp-Source: ABdhPJzkPfG8CS5m+0FMlo14AoxxxwmRlGR9ERwxyG1rptAqQXc7gSAS3CfJKXeT1cxGTQ6TYM5wGg== X-Received: by 2002:a17:90a:d594:: with SMTP id v20mr7273635pju.227.1598461960747; Wed, 26 Aug 2020 10:12:40 -0700 (PDT) Received: from localhost.localdomain (cpe-172-112-234-200.socal.res.rr.com. [172.112.234.200]) by smtp.gmail.com with ESMTPSA id z10sm1957870pjt.30.2020.08.26.10.12.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 10:12:40 -0700 (PDT) From: lindsey.stanpoor@gmail.com To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 4/4] arm64: dts: rockchip: enable rk3328-rock64 usb3 nodes Date: Wed, 26 Aug 2020 10:12:30 -0700 Message-Id: <20200826171230.17041-2-lindsey.stanpoor@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200826171230.17041-1-lindsey.stanpoor@gmail.com> References: <20200826170623.15469-1-travelvia@airmail.cc> <20200826171230.17041-1-lindsey.stanpoor@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_131242_963928_7DEB3A88 X-CRM114-Status: GOOD ( 12.56 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [lindsey.stanpoor[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gregkh@linuxfoundation.org, cnemo@tutanota.com, robh+dt@kernel.org, heiko@sntech.de, balbi@kernel.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Cameron Nemo Enable USB3 nodes for the rk3328-based PINE Rock64 board. Signed-off-by: Heiko Stuebner Signed-off-by: Cameron Nemo --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 86cfb5c50a94..82c27eab6a52 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -363,10 +363,6 @@ &tsadc { status = "okay"; }; -&uart2 { - status = "okay"; -}; - &u2phy { status = "okay"; @@ -379,11 +375,24 @@ u2phy_otg: otg-port { }; }; +&uart2 { + status = "okay"; +}; + &usb20_otg { dr_mode = "host"; status = "okay"; }; +&usbdrd3 { + status = "okay"; +}; + +&usbdrd_dwc3 { + dr_mode = "host"; + status = "okay"; +}; + &usb_host0_ehci { status = "okay"; };