From patchwork Wed Sep 2 18:12:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11751511 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 92AF0109A for ; Wed, 2 Sep 2020 18:12:57 +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 699F8206EB for ; Wed, 2 Sep 2020 18:12:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o6HK8L3v"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bhB4Utg1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 699F8206EB 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: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=o6HK8L3v/yR2B3dL2Hup6Nflkc 8IWAgCYk+FAiGRub+floob7MbYO/ZplYR95pOeJXkEX2hosaRsJrpwsGCjyoNqjEtgpADVof+Li5V hW2P1Z0MvCzhENU3LZdyxHejP9LnDZeeO6XqjML4+0yKyf8hZA4++7lFpTkiz8H7+EHVKerd0bIa7 gMQB5fRaMcjsyHQ6zPDdihezPa33H9tkfHyIbIT/wkdmvc8gJLbSh3L8g4iMc8GIC3h0orvyMH6lC l9xhqxmHOElJ2qil3qnUMfrgVaLB8hVqxuVpCxFWm2fZpt7Px5JDcmeFpa2ORmAMrS0QGEY5YMs3H iNtcOajw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFb-0006nI-5Z; Wed, 02 Sep 2020 18:12:51 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFW-0006lD-Io; Wed, 02 Sep 2020 18:12:47 +0000 Received: by mail-pj1-x1043.google.com with SMTP id o16so194757pjr.2; Wed, 02 Sep 2020 11:12:44 -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:mime-version :content-transfer-encoding; bh=h3f9lrWEnIT8HUEopKzesuhjDoqNNwJ+zYjj81qDGgk=; b=bhB4Utg1ATXtd2Dfd7kZCmepTMUzHRvLckIBrXX5TWBfUJ/erjfgy80A5/gWGYM2U9 ym4bihNrlVhUadMl6R1Xh6anLk9EciD/mSWAFd7ZcFgLO8rLWdLkS/8MSOUd+chNr4Ep 8n78vkuGH4YhGmYN7k2SJpkkbzUfqD3UCqnJ6VCUyd3z1cVIJhmKlZ568Fp8e+U4ttKQ OFXfgrGiHVvLzhqZTvpdsKtRZh75uS5l0gIQaxcqt8bQQT6QnJBk62mkORcFUQyBQsPT Km37lu8JEJ6OfJ42ZjMWTeQT9JyMMilEfzjhhNwPeILP7gwk2IYdb7tyqQoFRIfpgLYf s3MQ== 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:mime-version :content-transfer-encoding; bh=h3f9lrWEnIT8HUEopKzesuhjDoqNNwJ+zYjj81qDGgk=; b=YtD43/YMcLzzqoquONiju0hhe/CE3oZP8Fbp4Lna6jN83gmF2zsRftR3/Uq0KcJ3rp LZTY3RswxJbj+Ogduow/P0TWcDONuP14c9h8mJNYv+JAj83lsveNq2IU2gqcQT6GYlmP j60gYGRuzWCV5wErmdPS/s34XdvJk/bLr/QzIBT6EwbVE2zPH1LIlkd8fmyhGzZa3NRh Qx9c5QcCjGW98VEh95iPBsw/dM5QEQLlcS1BObSMKSVq819xG69eDyYdAqKmKpprPfFs fQ4ux34OL1xupGBYeh7Vdjt33KvC5E0VkTNnfCMcGLsTqrtXNIcypEeC2T9yTJGDvf54 3nlA== X-Gm-Message-State: AOAM531sIAcNRGPAhKM827qRHVM66Y0/qSDQyQiVYhAGBlj3onMwLp+b lhzGuwdoxbwW/EncMEToPgc= X-Google-Smtp-Source: ABdhPJw0Hl+6859WKV8nvo4KGjdx6+L+6AaUXsSU2feSqDzwvX7zAQRFPC5XKmyfeDam/8LzLXItLA== X-Received: by 2002:a17:90a:7084:: with SMTP id g4mr3002233pjk.116.1599070362994; Wed, 02 Sep 2020 11:12:42 -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 u123sm148993pfb.209.2020.09.02.11.12.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 11:12:42 -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 v4 1/4] dt-bindings: usb: add rk3328 dwc3 docs Date: Wed, 2 Sep 2020 11:12:31 -0700 Message-Id: <20200902181234.13955-1-lindsey.stanpoor@gmail.com> 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-20200902_141246_639641_2695C538 X-CRM114-Status: GOOD ( 12.39 ) 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:1043 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 Acked-by: Rob Herring --- 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 Sep 2 18:12:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11751517 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 45975109A for ; Wed, 2 Sep 2020 18:13:06 +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 1AE4F20BED for ; Wed, 2 Sep 2020 18:13:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ds+jM2bg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SLZeJhgv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1AE4F20BED 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=SdNKWxeSR8eHpyUcX/OLgcMi0a2o1f3Tr85l0rVBK8A=; b=Ds+jM2bgnQeZDsx0aTGAZlrSI INtSCgea9ubWbzHQfIkMp8mqzfAJtZ4Q4YFhM12JIEHpyuBv31jjdMREmnF9z8o8nNI9rCE9qmJCB HthxhD7V8h9Ubxf72qJNiRCRTDWp3aQgwhjNDqC46UdpvnMaVZPVz0os2MmLk+40XAtNvcWUlnFLo p/Zuvq2nLYqYoBU7/8DhK+2xmpI6NLcy7oaR0ruLCX+htufMTa/jCQvSGVeDP45pLhiLxpUQnbQz6 uynRxah6A4BTURQj2ag+VUrojYPtVBvrMUph84gr0IWNF9ixntK0udiF3BiouOd1vooFU237FZZpq eTirfGrpA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFj-0006qL-M0; Wed, 02 Sep 2020 18:12:59 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFX-0006lI-M2; Wed, 02 Sep 2020 18:12:48 +0000 Received: by mail-pj1-x1044.google.com with SMTP id ls14so186323pjb.3; Wed, 02 Sep 2020 11:12:45 -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=YlP++aNo5WyMtGJ0CAnpVmn1PYqVs1MEomEwiDLDlvE=; b=SLZeJhgvzy1SwbnBEyEm39X14VGdB+s6VaQ/yLOmSqZ40TLeICXfNEyos2uBSsp415 ef7Qi8KYVMZY/7DYizQBs+BrO6KJVwM3a8pOF+26udAKw8VaUT91w5sJiIq79+2LP1x7 wE1onhmhnhYrsJFRGGXFHOG77WhzSopANFDW8QeKk1S30fE2iCLJ5hwvi9tI+iuKR9Hv DQkWZOcYDhW5izPLwcyqFth7mIWLdTpwBXKtOZzrh9U6VoKY7FS8KvTfH0lGIL9bsmR3 9tsS0SC+hZ/xCGlGTzqnOjHPHYg/D01LWoZFWcRvv4vrgO1IzTR9DK0QtDLv04/rUcx7 v4bA== 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=YlP++aNo5WyMtGJ0CAnpVmn1PYqVs1MEomEwiDLDlvE=; b=OyfDxbSj2vQEq2wRkakD/O09W2vDfLjtlDlrmETGsUdCoPnt47cmqsABlk5r0NiuGo wiYzS2T3DBGOEUEnPJQ0De0bNU09zavQ0nV+DsH+5iIp+2VvObb0B45MEnN7NiVjvA5O UoZ0FFAioqnBocOfFBVWzfX5EBndjQI2RvLEkzEQjmBDu6HScGrCXpOx9+4AdFXFNzB2 RlXNvII73KVghcFdoWWTGp7BNxwTibEge2TQv3yzNzuTM4YQtlc9ZK8fGps5/Yihwb6D Va9aPxTuP7D33VcyOtcoGRg+wYX5C6NyJcJsr+dhZzu2yo2+oVwjzrO0l4986ZZd7TGH oBvA== X-Gm-Message-State: AOAM533acw9h4i0qoq3x9k+D0PMACzIbq9if+zrT6yDC45FC00qDotTg ekwswJOAWB+5VnPUG04x8aA= X-Google-Smtp-Source: ABdhPJxyAoeqcuz+tnhtvw279R9EQntj/xjvELk+nr6rkRC6rcP4eI7+rxiJxihTY3+IvWDlXHTkiA== X-Received: by 2002:a17:90a:a005:: with SMTP id q5mr3026666pjp.152.1599070364055; Wed, 02 Sep 2020 11:12:44 -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 u123sm148993pfb.209.2020.09.02.11.12.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 11:12:43 -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 v4 2/4] usb: dwc3: of-simple: Add compatible for rk3328 Date: Wed, 2 Sep 2020 11:12:32 -0700 Message-Id: <20200902181234.13955-2-lindsey.stanpoor@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200902181234.13955-1-lindsey.stanpoor@gmail.com> References: <20200902181234.13955-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-20200902_141247_733748_CC831D17 X-CRM114-Status: GOOD ( 16.07 ) 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:1044 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 Sep 2 18:12:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11751515 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 F3A5C109B for ; Wed, 2 Sep 2020 18: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 CA6AF206EB for ; Wed, 2 Sep 2020 18:13:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="shN5BDgG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WxEbMn96" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA6AF206EB 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=shN5BDgGNUKCPX97qZ/A8VraD DuLrNxIn+HuGsmWr3VLDCq/UVacdr89FvYPPhgiIUPErQe+FRa2v3HwBmiZmXJLLIm6vI0YqbiiVV ORKEmLW31FzX3CUzSfJkRRIdNTG0Ye6mansOsfxH/IpKNrQEspwRUROJ7jlCGJsaKqPiZmT7WGBuO WY1bt5GzsjfbDGq9wVPFJab0J2aSlmbbl8z9khdqc5BhPXFpWapjgVdpbfsQfmqmit9Oo4eIFrD15 1opWeb117kOzlm/+Ci150FJXbGZlNZFji1SARS9nEfjMVxHJOyDBzJyQ0K5W8vV8tycvLlys9JLzr A/R8OMQlw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFh-0006pG-4n; Wed, 02 Sep 2020 18:12:57 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFX-0006lO-CP; Wed, 02 Sep 2020 18:12:48 +0000 Received: by mail-pj1-x1042.google.com with SMTP id b16so199497pjp.0; Wed, 02 Sep 2020 11:12:46 -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=WxEbMn96nCk7Orng83K51j8Z5PKJ9KBE+VZFpMKQg1zItgEdlE5fb874SHvpQrwAit SsgCm9niapZV1Ckync4r6AJUaWqV7vEqU1DsPhePPIGwyYTlCfVE3d45AI9uu4F8xq95 aGyStOm02q7L1uu5sP0lUw8mjtbCM8aWce+JU79s43HWXPsy7h+O0DsSEBzBxfLhcrOg K3A2dLiT1P2mRaOr45eZX/vFm8gJMMxpL3t71f3DsQDyUFl/jQR8vadSI4cIuP85j+nh dLOacYC/MKkd+ULJm7aFyIz7s4qXwa+06jo0VA9D3w55sQ8c7sucBBUvz86+fec6jWKd Y3Fg== 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=grskAOB106BY8I2HSTUefJ+q3cAcQ0I/2QjdKJMI/GuKFw21mkODHf8kgCxmGErxXv 4UnVO2FNnARbv0XAXPKy9gDyWs51adZAcnmYUweI5D8WIsViUyzzMerRiNoAStAKjP15 GLV3PVJ2fSV1Reg9pQ+1pSo6NnWXZWt+VPchDTSQxqkId74uRGJp0UHLxagkId4pUN6A SEkxgF1IWc8MeQD6LJCRIb/DKEgYYcnnF+cRCyTKKFqp2801ndbBC9xeT1zavVKTK8z9 Enw+SZDkx5SLfFlobeX1wtZcrMZtWSFPoB7I7rkomAVlK8sbczUnV9D4bCdR2viT5TlI wG4w== X-Gm-Message-State: AOAM531ZwkAxHnpa80pje5pAcZFtJv/fZx4d1GtJ7K5wUuqrr6ffvL4Q c14rcCtqKHKz7TyfFk3jWBQ= X-Google-Smtp-Source: ABdhPJxfIMd3Dxc0t5DBZ8DoFvzrqabA5XaOKtJi8gxVtfxxTzZWmi0Av3BLO0zZJWZGUBl0axRREg== X-Received: by 2002:a17:90b:20d1:: with SMTP id ju17mr3065949pjb.134.1599070365290; Wed, 02 Sep 2020 11:12:45 -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 u123sm148993pfb.209.2020.09.02.11.12.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 11:12:44 -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 v4 3/4] arm64: dts: rockchip: rk3328 usb3 controller node Date: Wed, 2 Sep 2020 11:12:33 -0700 Message-Id: <20200902181234.13955-3-lindsey.stanpoor@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200902181234.13955-1-lindsey.stanpoor@gmail.com> References: <20200902181234.13955-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-20200902_141247_472071_20721620 X-CRM114-Status: GOOD ( 12.06 ) 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:1042 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 Sep 2 18:12:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lindsey Stanpoor X-Patchwork-Id: 11751525 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 228E7109A for ; Wed, 2 Sep 2020 18:13: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 ED498206EB for ; Wed, 2 Sep 2020 18:13:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KNeU+520"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aFaTkRn3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED498206EB 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=I8ATJmx4Jab1BnkjXvQLM1ezzBHLGeS7kTGxTlfCUmk=; b=KNeU+520lbJhly/fvMsotdDnB PGEIrorGgOmnn4zbXz3+ti2ecJtkFrfjgTNAvkW+vZ4YEATFJLaqvpcgpQitnVjOwXiV1aMeKHEcm o0Nesg+tnH7sHl5k5nJbX6lZwgyZD6RJz9iB6TB/eL1Fwc0+a6LXRJA8ePrXdwFf2NdStsqu+cjY4 k9lCXON5CWi5Pn/ZiYBWeCCf2E7U5NG3aZAxX/T3feQ8TFkG+PDO8liZ6EdImYGYAQf4hnLRoENJG iR0IR05Xxudh5fpEhNv1de7sF69omYR4X9Eao1CMCtUjMO1hprxqksxUuyugiDiKht2OiyaSI9loJ 9/oXq9yaw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFp-0006t4-U0; Wed, 02 Sep 2020 18:13:06 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDXFY-0006lh-J4; Wed, 02 Sep 2020 18:12:49 +0000 Received: by mail-pf1-x444.google.com with SMTP id f18so74613pfa.10; Wed, 02 Sep 2020 11:12:48 -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=fbE2EUKf0dDLSVGA9OtlMJM3jKWz2OtHZG+cbWW1EL4=; b=aFaTkRn3zQxjMusTi+ps6zxErseC+lODmABkMhmreSjKkO+Q0RTfSjbysZ76viWYw9 1ifooaitbz0ScX9rJZ8O7BHLglA+i4SF95xhL0HcBnCJV67Wnxmv2IBQQYNcyhVzEK2j ldwRgLblDjwmQafROVxYajTOSA7B7OAIHHtvQBIENAxOVC7NU/olpFo+qWKXd0zNL/w1 ZITuUNbLYODeREV0JG+T93B5p/f+WdXVueyFslItxdwareKCmwwPraCgAdkiOyzRSgA/ q7ZMsRpltne8yvmRjcA3Aj4WH7x/uj8qz5bWtvT+FAxHTTB/nUFA6LJ3vbuTw//dyDO+ tRqQ== 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=fbE2EUKf0dDLSVGA9OtlMJM3jKWz2OtHZG+cbWW1EL4=; b=HQhrgfoE6MVuI7BEkQ7Zuw/6gWAayD0xAjNczZWNT6cPyq98YSABkN52XjujY0fTon abrTHOnXDxagjVeVwHjNCzyq1cyS7+bXxPrL0epN6Miu80TK39aEJkLqwyr6Zc8i2rTL pHzGWA3OZXUnI18YJODs9Fpn6I7f5XcMjlS93THUTwucw0Fh4rbcDBf/SPv8yTguvMRZ DdN4zno8MJYP6wqgkJCmTcAinRotjmfIaPsQdx2Qov46uDoSkpv1jDbtdEtmDFg3Y89d vN5iELa8EegEz8HgP5uLfhnPb3vHZ7D6/ZAjz3bCEh87NdOE95sjWzdo85OAswwUzQ/Z N1fg== X-Gm-Message-State: AOAM532xFqNWVeZOXT6wLlVKi6+zKqsgTDeCwWJh9vVJTY/tw/XmDtFm tf6YnN7yHki0zUei9Wk/A90= X-Google-Smtp-Source: ABdhPJwmA4fxLfM8pxgx4LqnAQ1g0nJtb0xAFYxTvFhDlnWTdFtJqRHDCGzaD4UVPJyph4XlEMIYIw== X-Received: by 2002:a62:7551:: with SMTP id q78mr4415121pfc.140.1599070366505; Wed, 02 Sep 2020 11:12:46 -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 u123sm148993pfb.209.2020.09.02.11.12.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 11:12:46 -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 v4 4/4] arm64: dts: rockchip: enable rk3328-rock64 usb3 nodes Date: Wed, 2 Sep 2020 11:12:34 -0700 Message-Id: <20200902181234.13955-4-lindsey.stanpoor@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200902181234.13955-1-lindsey.stanpoor@gmail.com> References: <20200902181234.13955-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-20200902_141248_691679_0D1FB649 X-CRM114-Status: GOOD ( 12.53 ) 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:444 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 86cfb5c50a94..0cbf59efcef0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -384,6 +384,15 @@ &usb20_otg { status = "okay"; }; +&usbdrd3 { + status = "okay"; +}; + +&usbdrd_dwc3 { + dr_mode = "host"; + status = "okay"; +}; + &usb_host0_ehci { status = "okay"; };