From patchwork Mon Nov 6 15:54:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13447157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7FB7C4332F for ; Mon, 6 Nov 2023 16:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :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=A+BhNDXNV92Jt72nTEKY2xzgF4D0mhTEy8zHoB0LL7s=; b=tFxN4miMh90/M0 3Mxol1fWDRK2PMvD0xCl8k/8Iw2+v5RxCaY7fDGWCiGuZatSYrNp9nqI+TME8mI0E/EJsgT7iukMn GUcjIz+oWxEFMl+gChvbovH/MHEd5QfDRs/pAaD9oam4gGEIVLtDp6xgRlUaPZTa47pRNpV5JMmR4 Io27BaeJ4iD/zm1oabldCOM9jQgzgP/a0ybgt8hkjYj/xgTpAMoyJnKoOY4G+F+/IGVIZktLYQ7RE 2etLqstjuLXeKRZP8tR0B0C4Yy3VPx5m98wkJDlxgRT0cFga3cwXDV+4IP6+z4KNYhody0yhSFRWm 4v5/KsAuWjBu+lYwOS9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r020w-00H3E9-2J; Mon, 06 Nov 2023 15:59:46 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r020t-00H3Cd-2P; Mon, 06 Nov 2023 15:59:45 +0000 Received: from jupiter.universe (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id A40796607480; Mon, 6 Nov 2023 15:59:40 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1699286380; bh=gejreQ+R9N2hJNUtlzdmP6zPO2yp/PwNztMCU8VlSv8=; h=From:To:Cc:Subject:Date:From; b=TQrVvo8FtPx4X+auY9pRUHOY8SmbEDkVy/Hln6yrSqgNGGmLm8PnqlPwC+psKg/83 irPrR5WsSe8u7THcvK06CU36U6dGE2IH97ugNTwpdDwckTB1Aqe/WdVVKUrIhMifps t4SwNc7GNURa4sUJ0zdprH6HELb9YUVBNo/SLaACpjQFSTDzC5W2JDRsRtxT+TYKWb KLCOkkjaBDR2V2Jqhihh2uNXZ7TGnY4J9v+WBmy0HLSnQnvnCMhjcUCSmOmZ8uFl1G O5uNMYeh/UuOtNjuJHe1A0+k9MHMNE0GxhkNcIW4PE1gRb3PwYV2KFg2HR6dUVa4fM bauQJxG5wDflA== Received: by jupiter.universe (Postfix, from userid 1000) id 96BF348011C; Mon, 6 Nov 2023 16:59:37 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v1 1/2] arm64: dts: rockchip: add USB3 host to rock-5b Date: Mon, 6 Nov 2023 16:54:31 +0100 Message-ID: <20231106155934.80838-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231106_075943_968202_AE8C7C5A X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable USB3 host controller for the Radxa ROCK 5 Model B. This adds USB3 for the upper USB3 port (the one further away from the PCB). The lower USB3 and the USB-C ports use the RK3588 USB TypeC host controller, which use a different PHY without upstream support. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 741f631db345..61b937beca7f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -138,6 +138,10 @@ &combphy1_ps { status = "okay"; }; +&combphy2_psu { + status = "okay"; +}; + &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; }; @@ -765,3 +769,7 @@ &usb_host1_ehci { &usb_host1_ohci { status = "okay"; }; + +&usb_host2_xhci { + status = "okay"; +}; From patchwork Mon Nov 6 15:54:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13447158 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3EAE3C4332F for ; Mon, 6 Nov 2023 16:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lZL0BMoi1rG6ZaZgzxG3z0qFCLceDughfNdvXtj6hQU=; b=NjjYmxdwSUTjaY s8hwgiRyHXjWI20yKU2LN5uQdKZN6JAoe651s2HAWZynYfd8P6Sz4xtQrWsjgdSuGgsRMcvhvxRos 018MRcGKJTlq+K4lIPNkTnMlTiJ2CY3Av/wMyvRnFW5E80xReYuPNORreSlgTQ4UV/4yVBhTUxlDx wRoq2/hrEVD9e6Q9EIBSdn0D2+A3lmfnQvjJqgphzvoEbSrKfUFVz2ki7GBUMf4UhZgMpZA5Qz7qI iFbhVo/omXdy2L80y4Di2u9IjzhwDCcWSQXUpFPAnRA27uqIsoQqWWMXk3Op82z9dypaqINvQpizE CELociwkVbhRaVQpg6aQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r020z-00H3F3-1I; Mon, 06 Nov 2023 15:59:49 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r020t-00H3CU-2V; Mon, 06 Nov 2023 15:59:45 +0000 Received: from jupiter.universe (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2B4EB6607481; Mon, 6 Nov 2023 15:59:40 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1699286380; bh=tOvg+NAg2DmpDA1isQ5MKe/44qEbV2zy3dB4exZDEuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XZIq1KquvZIC1/6E2iNIqI5tGUtd3uj8ODqtBQPwI3gFPsdyd9LVNl89bd0n0/Yo7 kP1cX2aj71mnCOXPrH2bxabcAUzd4mlFxm5b1LKFmEWTN8Cr50tM5Y8l5mztwelfC/ w4WWAw1cZdXDIm+gu3C+ArrortL4xtnHC3+WYqBmWG3gsYw629os5ZyYC0sg+NyzrH fs+K1VlJcYXN68cSbp2x1GK30QBGLzY7fGi/YhWJuAdehGt1GFVXjLSJqRyD3/dSML i+5HDMR9gEJGHbTxh+b7d3IGwXa5+/ADHBNIXeUx6+xsOCPJ2nLa9i6pQ9tBPzRPtU 80cTzIF9BCIUA== Received: by jupiter.universe (Postfix, from userid 1000) id 982FA480117; Mon, 6 Nov 2023 16:59:37 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v1 2/2] arm64: dts: rockchip: add USB3 host to rock-5a Date: Mon, 6 Nov 2023 16:54:32 +0100 Message-ID: <20231106155934.80838-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231106155934.80838-1-sebastian.reichel@collabora.com> References: <20231106155934.80838-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231106_075943_966968_0A1AA24D X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable USB3 host controller for the Radxa ROCK 5 Model A. This adds USB3 for the lower USB3 port (the one closer to the PCB). The upper USB3 port uses the RK3588 USB TypeC host controller, which use a different PHY without upstream support. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index 8347adcbd003..6fb03294576c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -114,6 +114,10 @@ vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { }; }; +&combphy2_psu { + status = "okay"; +}; + &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; }; @@ -734,3 +738,7 @@ &usb_host1_ehci { &usb_host1_ohci { status = "okay"; }; + +&usb_host2_xhci { + status = "okay"; +};