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: 11739187 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 B7389109B for ; Wed, 26 Aug 2020 17:07:02 +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 8F34920737 for ; Wed, 26 Aug 2020 17:07:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m0Z5XiVY"; 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 8F34920737 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-arm-kernel-bounces+patchwork-linux-arm=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=1dMc6iO+KmhAj2h4rAybrMS5jG2FAnmpWDdTNIZcWkI=; b=m0Z5XiVYtVmwd1IGCNn0oyfAYx gNo1frm6FxXjVlA/CilDx4aLonPKODE4TgOHSY8dJLVrGr4Ca3sAr3SVbc2bwJsDZZT4ZHeySk8Ls bPYTuVPg3mkz+CUzLzovqbPJGZ5VoltnB/K4zZ71qci4xJNSwee1+r+I2YdaQNVzdqD+EeqWZwcx6 6Kd2PbxTT6uPD98uXIgXe7otHTF4gXIoriSxlv1pQ5T7qniQxHg6ncHerkkN2zQM3+U6bxUP89sNK 6f/nIdJP3QAplG/wfyZIMCeJ9LTfJFoc4E8+HAe+lZrr6i8cMECm7N3n+gUeHO3xIKGh/xdM0cYro KqWgpSlg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAysh-0001p0-GQ; Wed, 26 Aug 2020 17:06:39 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 11739189 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 A7C19109B for ; Wed, 26 Aug 2020 17:08:11 +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 7C03820737 for ; Wed, 26 Aug 2020 17:08:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zko3+oDv"; 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 7C03820737 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-arm-kernel-bounces+patchwork-linux-arm=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=99Y1dyye6AvbiAbMPX1m1v/1QWlXa3hyMa00Axfpfcc=; b=zko3+oDvG5Msxq4hj3qKsSM2i UiBuOigfr1wLorJ3RMDKWhm1oBAuvCewIEM1Rd3X6TDlMiz/koVfLoa21ouMX9n1ZJrxDKUcI1FtB Y0PgCiDEO5Qp2vySDx6K50SQGNC18PKv3p3umd2oiyjjFy0S2n+7g2zJHSqlfWYEQuQTw3gWi8R2/ vf9N5FYf/acXYSPDF3e0fndAozxhFesKbOiYbOH0egx8PwAUYw2qB7PfzPRBRLrfRH+Uj2JvFLsdm UGfXjJe/gf4/GURi+WEgFOzjlJdip9tPE/rk1ap+eqyrJioqA7Lx0dBhY6izqLAYm4ogwUH8oh7fk qkWmYXQ8w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAysj-0001pJ-Oj; 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 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 11739207 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 28BAD913 for ; Wed, 26 Aug 2020 17:13:00 +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 F15F120737 for ; Wed, 26 Aug 2020 17:12:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="L/T62dQF"; 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 F15F120737 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-arm-kernel-bounces+patchwork-linux-arm=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=m8fAn+q/7p3rO3HvWaRsjLEfoOwh6IzHElIlX6yZIjU=; b=L/T62dQFjzdY5w+p/t9KnBfxV W0CTQa5TEE0ZtqTVbwjL0c4G2y5T9OSNupmigmHqoiupuvcBEaGcHG3tGgM661SPmCKX33zwAdp0C 97OE/833DHYD9Ep8dyOhX68zVjnOv9We+u0ntT1uwYrA94BV7aKVTgtpZpdOJFAtm8t+l3R95Vrzf FCoLkoKE1T3n+hBMgibflQRJRoIyEDerBWlXM+LlKoEuMjeg08gsgYcuOJFBk8nzfJx3zAfAyGMTi 1R3e78S9MNK2ITJi8DA8h9eMPy5YBEuvFWST75aEha9p8Mnlh2PsuDOocWK5WknkdoSyWhMgYXSkD Ih43NTwTg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyd-0002ln-Hn; Wed, 26 Aug 2020 17:12:47 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 11739211 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 1E236913 for ; Wed, 26 Aug 2020 17:14:14 +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 EA18520737 for ; Wed, 26 Aug 2020 17:14:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tQsNLw9O"; 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 EA18520737 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-arm-kernel-bounces+patchwork-linux-arm=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=7qBri+4iSJhYl9E2z6OnMvOGqBK9siMAiMzZpvEOP1U=; b=tQsNLw9OeGTN07bNSgfNZkAZG Yrk0pFjFOS+gdQK8NkfWHJnAiaE9C0a9tdpCHpnvlBu25ojlCOPIjo5EaDjLOIFj7d+Jrm93hvmwP 4pzmvR+hmPTXYhc2lrc5oaVphG78utscMF7jEfIzECVRfIDgnbQIKhqULloOxTr8Ug5XjMAK5UsFx Ie4ylklmoZz++8ijceYeCZS2jECs+H/heXMAK+ugcj6mVvPS/ax54/rIj1quWngIMXEdvKmQCJp/N GhEdHY4/prlzRdOLTFmXJ/lCvqMQ64qlOvwzJvFy0X3bfu4IdimSeW3pL/zXx4zAmchUjLdefEm6f FwKSrq9+g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyyb-0002lN-O0; Wed, 26 Aug 2020 17:12:45 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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"; };