From patchwork Fri Feb 25 13:15:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760256 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 61511C433F5 for ; Fri, 25 Feb 2022 13:17:22 +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=QMQEDRsJpg2u5az58T2cVptw60cxRQVOI3WtMb3cLpM=; b=GLq3nVD5jWI3mc hDhAeS0JHpW5udoLDAqlhDoPuCu3ap1CG5Wu/1sy4g2Mkv59V4x9dXvwRvxsNCvTHReYPyNL1OiCS Q/MXdqIfZuVUMj7Xm8ATQQmxsx8sZtdk4qReZV6dK2QiCknc6KqiYa1EwxJG1i1XDUo7GCcQ2l8qe 25P19SjPa26S0us32TKWT4sd7tvp40fTSKwzH6jZBCo3Jftgbxc77xtzcdabA8Gyjacf7+9VoTDTm nCCiq1+5k44sQ6JMrywioKyLPgmRfNmXr8MfF1Mn7Ma329LLFlK2tuZl/Lpd9ZWEcQc9hfQ5wYvMa iwopAr5njcQn7tWtf9Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaTG-0051z9-OQ; Fri, 25 Feb 2022 13:17:18 +0000 Received: from mail-db8eur05on2060d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSK-0051XZ-0D; Fri, 25 Feb 2022 13:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M7FFMfkl2pe7l9jRq2uUQIQASuWUgakko/IH12KVtkQ6/5Nsa00FzlxXAVyORxd70rzw0gXHZCN22Q7AxoQO8XSkwmnHdxhIc+7tTh7wG1yqz8RzEFOgoTspgtST4t8dbZ8t+ExWOqRs7IcPPEDNwleZ+5oNbTU1Nmby91NL0/r8dnJU30HWhxG9/H8hPEbyEmhPJ2yFRVod9PN6+OAk1twn6s0Lo7HCRqnbLlFLRi8Y4cK4d0TX251kP7ihROJz8pploDJFSVsIMN0KvfFKywAP3q0kCzI1NEji5doWIMvY4B2xAFD7yRrmtqGUQoeu2PMLOKXaSPfqX5qLpLnTdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=QC6fMdH/lyH5gEk1tXL350RsvCDtKFNp8UUOA23hSoiu4WX21WYSp+PrT080OxwURANP0IhDaNBqMgKc19Eh5Qk/UW0JCtUQL0RIZqOaR1o/Z0kWPttGFfmhdd6wRFTfxD9X5FH693pA6xWTb2TZspDzGyCoaAWGo2qsS07ZWOnZ9GEY3xMmKZAPTWrRQIcPfUduZzXpvY77wAWJNJrh4cSdkbOpZ7OJH6ZY7wOG0+JOit0WUL+CyA63fA4By6ueCGAOv3aSjk5VFGsbfWRbsNGqn1zAA+QBIa8YYBCTATKQBf3KxRS2uoZryfiNP5aib5B+IVFE0+g+m/H7so1DsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=yIkBmcUWDIEXJDhGVyF8SpnuNnU1yYZJ36ldCsCuspYxzDmfqJfHStM+ldvR3yRYYuG/LIrl71+BWfEesyKzRRBFPct9HvHEcEcVSSq8EB94WhziKCIwVc8i4sekPcHQLZoKoZItSk2p7+Vy46cKEULa6MTdlsuDOXEIk1tbI/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:16 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:16 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 1/4] arm64: dts: rockchip: move power domain PD_PIPE to rk356x Date: Fri, 25 Feb 2022 14:15:59 +0100 Message-Id: <20220225131602.2283499-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7DoNLZui3Doeg9xmKxcw94EPQvgSqfOEzhytYGzth329iXBkp5PvbPFC2lhXXVou9bTkUc6GYXHr/MOiDWT6c1tr0181BqZt90f7z7w/ZIQGbaXZDmHUMnMNs6ReEBo8CQEOn369wdd7acKacSMf5gQOh6Zir97NTD05IyAu98KTV1zn4c/0Bm9tRL3/2pPkAU7VqPDlt9epZpnAZ9az8Zk/dyT1/bz+A3Yt1FrSDiQfiNjZLKy9NYbfxnqMXOstwrjGSHN3c2mMHAJg7UCx056gpJlu5FdmaVC4cB53QP/KJLBHqzAW4d4nuNw0j2qZTEnt1/UHJ2VYxdn/ZGB2Y8C8KAfmEZQdYjKNKISwoAZnX+RtyKHJiRuFFeftfT9rI6he0bL4hA1XdQEqQDjLqJroZ1LKIUUIbwtpn1LG/XA4oh5nwoseSuscx0wePw3jPxRuFWXQsqzzKvnjPrFr9lw0+I7UaEY0VlIwQbEr0Q+thLKrnxmaQod8Q6MbxKrNQcLWgsmD/ada756BAnYUSdX2YiPP3UMZSrGaliBwIX5A1dT2t+lFBf9gAnMdtuapJmYXuRIoWZ/VG6Tgx8kpjQdepULL4h81qwaocNqQwJs+JJt2IfhLX5jJRuFWGFicguVgAbD29yaowNL2DMaT/g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aCf1uKzj6I8xJxWzsZ5/nAleb+tguvmcXYTCbhMlXofEKrlRUl04jkfW58grsSpaGxuGG2MkgBU5lySPIHr2Md6PROzWbHr0W5xxASad4JGBwezxES9gQ8XLPI9jqi107wMyslr8I8GBDLKXIS30nQR6lXFZ84YVcB5sT1aHfsVu5k/ExC1VY436TqbFXn6bXJeCI6A3hp11++R51sMLhci2LYWuqkRWtrh93BBa7RfYpP3PIcLVpJTTdd0pzTHjWDlLCr2SMhx7xm0xe0rlGu1S6SGBCYePQnaVTeZk6aZT/QL0TMVqrK9Pvf4lhdV50XoSPQC/fpbiJWlUoxWfdvRyF6KZLnmGeg+E/gw6sepyrxxQwN94Eu6w8y6ByenXd+tVqt/LuZk53sAWvfdi2HA2dE2wCH4dITBrFLJLiV+t9GVQFWu6M2ZQRsl3SK1C78tnxPx7BcrktzMa8T7QNqeb82vt0ig8RSmE4rv4bBGQO9GWl32NI6GS6vl5owX5msztK+CcZT8Y59uNmlo1KEsv2P1IoZNn8R1Uk2BOImtUtuUmRQnrScY3Chj851v0m4GYBaStyPruAmZZuhdTVDIEXVC9rnK3CS2t48Z9TSDaMqKT28VfMacbDjdeS869xK6ewCFHwposBMqnOxkoF/6MU+szWtIg3r1nV1QMguqOxBU6c/hZ9Erkg5dc1oHNF1RUxEF5qnF6CsxFLUYJn06xXXuIhqji8G8FdHIbhvu4RYfcB1hdmu3LHciYIKfb7f5eGUL257wD8TrWFRAvpBZ4aJ2aR1pBBR7iyX0Tp1WQFRf2q3t1CjBJI8t95AuQKhVdQKQOx0ClEnFCpAx7aY5+dPzsbglTf6EFGrkZSrZ8+TJz5dcq2XRC0g/5hHv3kRFrBkC/ZGEy1TMs6aNIrstpPcP5a1J8D/FK8rq7+xZSAPYQ4lRgSqXDl0gyogcFK8yIT94hBZGZzKs22ECPZGkodpK2YoDd/ASoQHHzaJHLNx4T4pLEO3aJGImaZEbuf8wwsiSXQIFlXN84nO48MNs+TxOIL7LmGw7BT6I3553ThZfQXh3W01Cme1jFQXEKCQE/oydS0GRt/dRdQiaBDLah/XYbvzq0RfFsMIeZ6EpeMsYIkQZ1q1Rbx+F6CzPX/+I9qEQG4zCQVa+cCulr9fY2K8NEtzD1RFKL19bPsmzAuxnebVKRmtIiLmyW3TJVZA0Vp7ti7xKIPUZtPfBxSzkdKqWXNZXXvxTHgNVKinj8Gtn4PYiSwCdzV3Cy+Les/hpKRin9i9IlX4xp0eQgmwKuEhncMh6YXQOa84xEoUcV3eQA+XAHxiNlDow2tUx7cuhJSYOB9Wm0L+HCKwKG2yxEyT+sd6VS2G0IqfrT5WS7Qn0fLTFyOzWL8lG+ITww7FBRqOOeKjoRv0qVKIavDx2caWJWFD20E6YVgns1zuBEzAJkSAfbJtx1Fg0lzOZUep21QjqT1KwDFIFv4OQHumYixpwKm4cpA103dZLmZglD0od1iPUCIvtGlplHjILtFE4ployyMbbhqLhy6kWgpXMgd3X6nLg2drKYlIPtstgvDlpyDaRlD+xw85dqlpHDFwvfhFUvNOviowPKDguvdHyUIAaNCgV29JSL5wrClExJrPIQ0q+Kx6oVdJZ2JdFR7CAZ9ukzA5VDwFOukIBbiyOxiep3iH/OfYaAeMql+1L2XVs4teQ/9fW+fDqiYLvx+Y2nxGIFFISHCgXTyzkZIvnZkCQsPw1gXlyXWIyXyxY= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:16.4795 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: esdpuyweA8lLFS8tFGrTWYSsqUVicjjXSE+ScoriP/adNgj+nqrlXon2TP71l/T8jTwQ55wgz8HhaAOzCmpF6AlHrHbdiL2rXBVlrlk/t4Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051620_067247_85A32F87 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The power domain PD_PIPE was moved to the RK3568 specific dtsi but is available on the RK3566 as well. Move it back to the shared dtsi. Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 16 ---------------- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi index 91a0b798b857..ecc0f3015915 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi @@ -100,19 +100,3 @@ opp-1992000000 { opp-microvolt = <1150000 1150000 1150000>; }; }; - -&power { - power-domain@RK3568_PD_PIPE { - reg = ; - clocks = <&cru PCLK_PIPE>; - pm_qos = <&qos_pcie2x1>, - <&qos_pcie3x1>, - <&qos_pcie3x2>, - <&qos_sata0>, - <&qos_sata1>, - <&qos_sata2>, - <&qos_usb3_0>, - <&qos_usb3_1>; - #power-domain-cells = <0>; - }; -}; diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 8b9fae3d348a..742f5adcdf2b 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -490,6 +490,20 @@ power-domain@RK3568_PD_RKVENC { <&qos_rkvenc_wr_m0>; #power-domain-cells = <0>; }; + + power-domain@RK3568_PD_PIPE { + reg = ; + clocks = <&cru PCLK_PIPE>; + pm_qos = <&qos_pcie2x1>, + <&qos_pcie3x1>, + <&qos_pcie3x2>, + <&qos_sata0>, + <&qos_sata1>, + <&qos_sata2>, + <&qos_usb3_0>, + <&qos_usb3_1>; + #power-domain-cells = <0>; + }; }; }; From patchwork Fri Feb 25 13:16:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760258 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 4DAF1C433F5 for ; Fri, 25 Feb 2022 13:17:51 +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=LElWekNYgnbLNJSI5X79hSwIIx+wfaKlxaArXOxPXm4=; b=Mp6jrIwsuCcE3x Z4b1ryhgebYGXao7zBbp1hpUIHk9XpqkGxHejc6PBw3lY0v+cao1EvKV/AGhgQu47NdNjVsfEUtmG 9mMlu/hPEn3dvcHeL2G8G88AGIQvOlH+rrexJtoi6/cRwqt3cwXjDCp9cGEYgQG7m2IB1i3XnoMoa NGMDeWZQ/tyClNSxkRJ/hbera1GiCAxbLDliBeRhj91kTFLttyZZh286dTnyvO70NRjx0h+W3eqcs bOOp/t6UFQFZxTeH6QiVK/CNtIfGkFiF0rWlKsCuMCgpVFsRr/3+fVUbNmzf5d8DKxzaDizL7HFTe fEe7P/s4Lgik9aQKeZyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaTj-0052Eh-7o; Fri, 25 Feb 2022 13:17:47 +0000 Received: from mail-db8eur05on2060d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSM-0051XZ-DG; Fri, 25 Feb 2022 13:16:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bO4Q7EM2UmlIOWqhHsJvVUiV+NdvmJAwIUo77/oYJTZH8RHxvwqSOsAAVGb8wgkCqgsazvmZxC6gU2Chv4TO6YG4sY5HZtI2BfjB8O+NSHsZ8rZNfcY/c0x5RqULhFKS1PGuTQQp/GUep0BQF30h5PAWcm3Q6em4qOtvVfjXHI3ctlSjbIOW1GIPiyRt9ZML+8vjaYBtjAlS+Vjyp6fwC65qXg53hz5OuuWVrnR9JdQZnBfLrIdaLoQaKwZkS4jOArWpDJx/oEkKUUWLZy9TuAyUHdSTsLotuYh7tAMbBBbWTkCHIpo6NcbCKfVfgemX3yJcbNwrDTp+qNHbuCCKEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ElW3Jkef6DJOOJy2f30tthlWOT5zBJi3OFyaYJ757m0=; b=Qnie+VMi+CwYM/phzKC3iOdpCXWkfvFxYGK4fXKz8z5Y14ugfv8+BZw2m7pOFqmolB/cvLnPNitTPdMhO/mHBrKj41U/q+00h9gVItD6FgY5yeei+7tBnebARuRE9XRko2NFKxupnEatHXisCRilUWwBnklZ3pHXTJ88GPVE4c8hy65IQeu/kcgC1q5jS+5D0srzq5nQUBRFzKhtmJyEAFnvUJX5UU28MGgw2lmsK95mapk1BxacdQqNCbpVW9UkX6sEa+LI8Dy48jMNQwOxJtDKjebwTsqNV3561Ds2OnU1N0O0BBe4arbRDH8W7elTsebU2lHQV+Ka/upUx8Q9DQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ElW3Jkef6DJOOJy2f30tthlWOT5zBJi3OFyaYJ757m0=; b=w7TON6ojOR36CyNuMtBnB9NR6Lf24yVFN4gU76TC3o93j421gp4q5plfayX+iGU2i1j7mKpFfTZmt4Z4Bx30e6iuuSt5CdQicEbC9aJP0YPEr4t4IIMkS/QC1wOIE1WuzbUuyqV6D366uSiI+rtj8Bpf3s/w9fiej9GFl6W3830= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:18 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:18 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 2/4] dt-bindings: usb: add rk3568 compatible to rockchip, dwc3 Date: Fri, 25 Feb 2022 14:16:00 +0100 Message-Id: <20220225131602.2283499-3-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0e3db8fa-77b4-433d-0c9e-08d9f8610226 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S9JfvnotK7gWGGC5JVxFGJlrj4gxfKCbr1uFnpIhBwi25R+8e6hkgn8ZOQyGiuj4LzFCal1jnLhSfWSzwF2/fEw5k6pqUnyJNXPLWWe9wdZstRpFGMxRnZEJM3mD+qsZsVJnzQYf02/lXubo6jN6v/wmyKzVM3iJSx6zU+ShPepmYjHp8CEyljafYI0/JKHkByQ47PChDETRugHNc+Qu1xE+9K4zei1eWATA8UjgzG5pt8VYjFHJu1UADYxIflbSieEdkMRdufqy5ilYldixY6eq0qC4ms8O9ad4NzAOtsrPXSJKjtlSm0LW/WmD09iPAKbIS9FLDmjb0m/58Hj39ksT6KQcW5RKA1jELT5ybl6Uo36YrzEapPuu3WcR8eG0u+ilNf+2FEktJ/l1K7pEGodRDj5z6rlKdIqpMjSqXouBvjX1l3WhBkkDCn0btUPCy2lBq0LZ8hz4bk/WkQGy4Yi1xX5D8Uey+jIRQCODXRP7qJlaO0+zIM+tNN9aZxNtuBgdZ8U0/WvAvCqDdCkPgvp8E1pFI+oH2Afx5n9lYJLYIDSGrbVH8LUX11lhtJ2zaCghst4qzlehQ/Kp/I5DAkRflCkTCMiDC1yKRM6uvY6KIRimL1PjYnnFDnuJ3UZN0BnURLzFmzi2ChSpJKzRVA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(4744005)(36756003)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iklaBYOmnBFyyLfSf+wcL2hiiqtMQpoQGYoMzTRX2g92vHPZ5h9dpVpYisRlzNhh6m2by3uRofNgVq3iHMUzE+iSx7Zs9roUpc0Viv2fTFw52nv04UAs6zRLjtRraqv9LZWlMO45EbAeUyeQsroRHwpOKi8wWIiyL9nr8/JyCsIsFI5Yn5zjLAEGynVsMLp4jCvZ5ZP5ncP0i25pIqdcRRyIEj0q6Jzvhi/FvpTiNM3rB6ms/I3YzBHylCKNdwopmWoohozGEokK+8XkmySO0mqUL2a8lm9wodIW062ZQlO5b2bbeVnusm7Y7YWXA2nAyqJ+456poU2EdKywuJJfrnxx8/GsYVIL9wE1Pjcm0Em+YLidp6YDoD8u0VaATdz4+L5ZFsdqdIdwsJIzmBjnwBGb2fuK2nLK/nNWzbqfWshUZjlac5cMMvlfeoq2krUjvTGWuKc3iZVfNbVLo3jveuUseJABvD2Li/zgbmRWeKB8wEWASrfAQ303QYMbUsEiZJWc3yBX44geC7bMkfI6/YdcDfMnZA6NCDz/Af6YzYbcw1u+OiJ/dbf6LdSmSs+sRBvl6ttpkzyGE7WO0GFP+ZVr3sNvnyGjx+CQz9ZhEMmgE2Gp5I8JGL419928tiInR9GHeQbzsaI5QLexL+3Ww3m+g/BJkgcZmcbGtltvVRFRBRK6OCgSHAlp/wl5T0PmYbje4+/9TJQKWfYnqkog7U7LWx5RJ+Ut4F2bh3AA4/soDY5MKZUab/lpKR7ehS9amIGU7xLMrMoPBjjj1jM3edPgx96O8YWlAjbnLowT51EUcTZMydX87ZP7mlWgOUdkE246n3mYK5ZR2JXTl5uKgJ+DWa2dHbekpsfbvErwXxU5G25j3VI4lv7uraGuizDMT99zNhNGU2tUc/hYQExaGq4rybjFJWx2+JRpsVdlWJ6BBgJBjSantsfECSJv4D/KkzSD6g9G47WV62ESmWrGTLubNCn4D/z567cDj0sz1nuS/kkBMu5y/JXncBPa1SY/EAmpL/YptbeUfUthjtiN0Y5OGp9jtIcgAZPvZ4yutV3qpb+QMjmS6bK577XaR4OfGwoXKZS5Pk0HsyotmeOMNTixVdZk/q6YYZgOJHDquHl+w60VIAc8aWbbdxUp6dp8v8dh9EJKbiswEUcm1ZPnq0BoJUWQqpAQOn/bz/UHVKhCPr+Pb1irv1WeB30+M2U6UqoSMSREO5mSNWX16YrboeX0/jIpj/bo0Aty/cRfrU3lkuMNOb/B5e2Ot8Ytnwzwm3FrqJE2hqw87+CzhGyAVmEhcU7TeIXiR5rWJSzKeh2rmF6Nl7vnKsoHNiizZjScVysenpawqOdPxyAvXw/qnPfbtcRIXu2yNfIbmsMiQlgu5WQjD7id3QpbyI1S4dO9mILO8U3cHpbZPhSzH3qMoovjQSddkyF4cJfSKai9ozf2bwpoR9Aq4PdnCK1CFBV1o6ika4Uv1tmcOE2DvamKL8TlJDk4O9J8zWA0St7goKdL79rFoQdFvIGvtCFMKzLWQ9Sp0JA7Tg7PyiicYKDiIC8mueV8c1o34aJ7vXvexo3jq+B1yQCIz7iVFYvypULohXEc1z9lcHIPpk0TXtJymixxhbcfw9fm3CiWb1ZtmzRdDr8iZOFrmY1WlowyeiR+V26fkO2q/rCL3q9Hl2TwSvX9VOIMBYeENcDfPyttFWE+wQ96p3yQzyNm0oXRtLfrl6CtrYvx5dA7x5fdL6Vz+YKhxI9EkwYPMl+vLYMaoNY= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 0e3db8fa-77b4-433d-0c9e-08d9f8610226 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:18.2918 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /ff+aTSECQnYBaUiZY+Y6CmDALmopjHmGZZgHzGGzS7v/TU9Ub4/amd85XuUbYcStJdk2Tn3bDbYHSCL2DaBCD8wRpQweOUTUgDbGtXir0k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051622_509538_EF2944CF X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add the compatible for the Rockchip RK3568 variant. Signed-off-by: Michael Riesch Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml index 04077f2d7faf..b3798d94d2fd 100644 --- a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml @@ -30,6 +30,7 @@ select: enum: - rockchip,rk3328-dwc3 - rockchip,rk3399-dwc3 + - rockchip,rk3568-dwc3 required: - compatible @@ -39,6 +40,7 @@ properties: - enum: - rockchip,rk3328-dwc3 - rockchip,rk3399-dwc3 + - rockchip,rk3568-dwc3 - const: snps,dwc3 reg: From patchwork Fri Feb 25 13:16:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760259 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 F2B8FC433FE for ; Fri, 25 Feb 2022 13:18:43 +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=mXHdEqXn/q8S1LSa+14FkiuBll8Jw6jvR79bK7ryXGM=; b=1mZxv72taNKWa1 Z8yilcZHpAN6Arm9Dkpih3rql79GlC1zzEsa2DlKtz/bIrBTQIrwVLfNWPf7eZbhXYN0o5DY0OnHK Kqn4LDXVobR29JlQUGSqVP8nx+4WVp7uQm8qDF2dFOB4zirSXCgf0uD/PaVVgJetXoOBUYQMD46CK O8T8fCweyl+O/f0TnQvUkkZxM3mVdzm0XHtMZrafO9iZHtouZNQVePAYjBgt59AaSwCL4mIkpamVh TKbN5DUz2c2f6RelbJE1Zo0ga+kXHZce7tUWv86zkcKxpStu4+g8jM9OU7Uiepzx1+NVsn3+ankUU UFrp+Z1025/+DB+yKMBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaUZ-0052dl-4e; Fri, 25 Feb 2022 13:18:39 +0000 Received: from mail-db8eur05on2060d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSO-0051XZ-9R; Fri, 25 Feb 2022 13:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gOMrJnkYtRXOtpClV/ZoQhl/hvQjsTznKanfxQXlFNCePkxAHqo/HVUa6nxH/RZ9OQ5LThWEICMWZdTwQZaT5q2VZ3kU9xNXYH2qfjBPWyqxniMosdToVfbscmcRk7Izkp9b+/wijY1srTessnP6/fY3LXpTfmGN7iJRDTAgk9b8ielobeGDJ3VYBXaEIF32WIyOW8FQBQ1QdJO22VAdJ22TR1VRDGyUrkFsDLh2ogExp8Rt0sIB3g82s/ScHBLWCZf6ItDUnt9771zBNQVkJBwyXV8LN7p8H/rdlkhWNCDcBsA1+XlFVfTqIynxNA3Epyc8TfCVUeuJCFgxDFM4bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jGL+xI1OZjJbyLKHHgr88oDHq1kclPcVolD06Z7fcXw=; b=SpFkrL47Bje05iB1xlBlNSCjnDULr/XChnACuZyYJo3mvMmw7DY9Cn/JO7qNF/ZEe0GOvYq9MWyfO4ZqlRHDs3Zpe6nzELpA1iRaK4Bo7YqZRkMFZPQHMcWlAHeHWKphr0Ybe83hLf5sQO97ntdErrUPb+yIVgpOJn1P+il6+Zuw+cW9hWL1iBtUF8o5HcvGkavg2I3C+OBl45uleuIzk+67ehIhc/Taqu61FhWD0NKwgDC+TAnHJrEsIkGF+hwgamGFWFcqvgv5q97lka8vpU4q5SNgMRsfil60YRDrO5+ZlFKsYv7+mACRPDaXd+Pc1W9zMfe/YQnIFUTjXK+bxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGL+xI1OZjJbyLKHHgr88oDHq1kclPcVolD06Z7fcXw=; b=ARYYIk4X/uFe2jp9yNCX37pcpjZd+nRRSadmA7q2EnL3cEiBJTlrrO+zZva7nqvbW3oVu4+rYJEfXNjHidvt2PPHfWibJdOhfg9ABf5Ft49aLIhRMQgpWC1YZzmF+stENEMrJBRiIDlViO+uO/LfbI3NFaZIBxbry5hLSnZi+zw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:20 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:20 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 3/4] arm64: dts: rockchip: add the usb3 nodes to rk356x Date: Fri, 25 Feb 2022 14:16:01 +0100 Message-Id: <20220225131602.2283499-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d1b69717-7160-4e5f-e7c3-08d9f8610329 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZsJ8TgSc3nOGoOop/5SWK8NyyXbltZ8dBgyERLpuAotHd+Nb1ZHGXJLasxyBpge8qbk7AJKYoosSMJHs1ifmg2qaVBJs1t5qOyBXM3Vs6hOXGJMo5xw8Qjh3lhAy9mj/Socjx3zidSjOAULKAXPbNv7OIPnV0nKhr2pRTr/KE2Ilf5n7m7JebGfn7dkB9kQGPYq70niMD9IfuAvj547fjzO4Krfzatspc/JXOm1Q/lXiGCEwBI73G/qxdxpG2r+T64PtvS/VY62QG6L0X7q6EQQmspIi7aEe0elGs1JzKp7w1VAakr0VwTihejVwoBMLl3Y1rh5Jlu6/1ku7Gierh6oPOoc0XBiD91Eww1lrOZMZaD6xdjJkAfBjkpjBIcxkH9PxunD9eP7fqkkHb335yXAGoE6w+F9Cm/Ob6giS5eO+QRSaJMvVgaPzlBG6zos/+IGFcElqYUz5tNfQGnlJXf97In93o1G1cdlk63sVxlali8WVSIxFvQl3B+gilCN5b3cdDQqLpDg+9w//R3cZpRt0TMoCMkwyeDgWwxiY/v76ThTKkSAYjrYekAnf8xLvY2+sBqmLBNlKDN7kE01WDBrcLO0LEZXo5UbjmealpM1R+Ov6USLXNLHLmvmjAScERxZWMvwF5DC40QKrlL2y9g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yCTO+N3wIrOZmfXjam/AUzjmewIikF5pJUYfRfEEodhpUvorYU94OGyASiyCBm99OVy59ll7tC2Gikh4NebCK41cCOZl9w1e4UPhuNnUiYEtlk+cKQ2SqDBE3KoYyf52UjUEvPEzhMC39yvoZt1QKU7hyWjUSbeRZFuqwjCJN5tWZ7OxuTHXbDKrsSv7U8Jd3Yl6Sr1BDaV7npA4jJTDDu8eWhNnJj1wDil/6z2KBam59Y3SbQhcmmZqZobYDHflNQWP5tXyAbGf80Aqb4rLiO0MxUeSV83e/pJ2sGX4OES2M/PtdoMfQKoTw21ZbPDBjky12HT66dYfqiLjG4lqlAPhxRbGyxkSAGcjV+jyZ5O8r79GdUkqa95GuJAV3HnsKk93Akx0serd98ltQSa/7bul8JW2kQhhrhKHOrnz4w3I9A0XaDCV6s3lTF2ogrzjos4UVS1/49q817cXBdAW9kiftc7OOuP4+tZfio++Lh9K9K1iPuTTcZQ5f13MDV6MMr1yL5X0/5g6fM9XcAfyXrvVsMya/pzMbGB6Yi99mHSID9iLOIn/EQhAYkgwgOipE00Vz44pSFM869boQY8+0Ux4B3gnvFvCkIyFF/zT2EeN2Ln80lILoXCDOO1ZJHY8SIq2LITfH6dkwFpNJRspkkUesq8T20VlywybYABFMKlsr63Rkn4S3q+V28HHLaiJ94yiFljdMs+tRcZSwX9ScI2izkx9l+x7gzSNQ/A3nz4taqRGWLnEo6ZToFnAxFpogZqYqTthPb7ajo8Yf3WrhwrpJ7l8LzCuqub1txNnmqOkknVybNXedOVxfK91BGwwxwZZ6E3F9lNShpGRyFkDOGzqlU4sZcF1iorU7ebkDGETEqxcC9IBnzezTJEtjjVzOCt2f/NJNKX0JaLfcRAWfqgeQFPA1hSXdecEBS30FQW95OMT8O8w/nqljK2sx5DEpRTHQhFn7OZbSiKYSVP94D23B8mIAYzFYbiy8JdVgQE+ke+Iyv/niePpo8qvzHk8pCIobseiXZizzALMmKunqz0/XrXp/IoI8ABzq60qxtNIAUYVCGTCx32g8xNHXnPANxb5gF5f9BS1a4otwZwlMTH3/ZKA8ALeLXV05S4nmer/sDIUd4+3DOx8JEp8/nBjIBfaG9RJ+87x0bmp5LTQOkMPOc8zjVcIbmi+WVSUYJ+g4qgW/6QW4d/b4PKVqIB1omjTEm+9CpVbMEeSWX1pACZXNLhJw9h2cu1n/2SfcFqQX2SPE3h61MSr0u0T8EENaLXNGSOIbGsWkq67q7GsjU/PM7fUzAMFQPo1zNfkUZXvqI157ESIWBDHvX8I3fx4SnXMDsQ3w28oKdF38YcG4d68KG8ptDYaSlw63M2GbTVdCiTGIviNPHi/i0sq3Bq617Ck5vmGvj4+xJpH1kEKdhShDJsap1ptALKRs1QQoNml8+RSlD5KsddbIfzU8XbZdmlnEuoxpw2pTpHXZ+nNGM0TLIGCPFu2a93rBGffkYu/asW4Mm1Trz5DYthIG6CplH/2VDgUHyyWLfjChpU44TinmuSTI4mJD/pJMJ2DYBkbjztl0t8ZZw7YqG4o5hkLMNA2Wx5UHUZbvwCp4GuaEnH0NzBxDSLOA8eiGOj2g5vkWWE5qaAZyUw8uKIrzUSoWeMnd6tYo2T3sjpuQLauTS6KuIu7hjM/OW+aLkvY9o2OCVsX9ZOR8DBChqOujIf98R/nL+OD0p7xNuquLWTIM9wuFO4y9jhCWqJT4w19ssM= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d1b69717-7160-4e5f-e7c3-08d9f8610329 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:19.9479 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: r0VfYZyBlZaBWwkyNfunjfjuTQgeWNoESS+TUQExLUXS6eMF5Uv/4IrWZw6s+ky75SqKrHcfkzSd3nZdGlfx4u0z2/HXh8bufExYdXe/E44= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051624_402431_2E42CBF7 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Rockchip RK3566 and RK3568 feature two USB 3.0 xHCI controllers, one of them with Dual Role Device (DRD) capability. Signed-off-by: Sascha Hauer Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 5 ++++ arch/arm64/boot/dts/rockchip/rk356x.dtsi | 30 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi index ecc0f3015915..25f6398e5a66 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi @@ -100,3 +100,8 @@ opp-1992000000 { opp-microvolt = <1150000 1150000 1150000>; }; }; + +&usb_host0_xhci { + phys = <&usb2phy0_otg>, <&combphy0 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 742f5adcdf2b..9ea6f551b9f4 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -230,6 +230,36 @@ scmi_shmem: sram@0 { }; }; + usb_host0_xhci: usb@fcc00000 { + compatible = "rockchip,rk3568-dwc3", "snps,dwc3"; + reg = <0x0 0xfcc00000 0x0 0x400000>; + interrupts = ; + clocks = <&cru CLK_USB3OTG0_REF>, <&cru CLK_USB3OTG0_SUSPEND>, + <&cru ACLK_USB3OTG0>; + clock-names = "ref_clk", "suspend_clk", "bus_clk"; + dr_mode = "otg"; + phy_type = "utmi_wide"; + power-domains = <&power RK3568_PD_PIPE>; + resets = <&cru SRST_USB3OTG0>; + status = "disabled"; + }; + + usb_host1_xhci: usb@fd000000 { + compatible = "rockchip,rk3568-dwc3", "snps,dwc3"; + reg = <0x0 0xfd000000 0x0 0x400000>; + interrupts = ; + clocks = <&cru CLK_USB3OTG1_REF>, <&cru CLK_USB3OTG1_SUSPEND>, + <&cru ACLK_USB3OTG1>; + clock-names = "ref_clk", "suspend_clk", "bus_clk"; + dr_mode = "host"; + phy_type = "utmi_wide"; + phys = <&usb2phy0_host>, <&combphy1 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + power-domains = <&power RK3568_PD_PIPE>; + resets = <&cru SRST_USB3OTG1>; + status = "disabled"; + }; + gic: interrupt-controller@fd400000 { compatible = "arm,gic-v3"; reg = <0x0 0xfd400000 0 0x10000>, /* GICD */ From patchwork Fri Feb 25 13:16:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760273 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 2EF63C433FE for ; Fri, 25 Feb 2022 13:19:34 +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=1R7YUA89mmjdTypcRrC0vIY7ODaMNa0VLDyXvqNnOos=; b=mIfiajYBuioJOg cZXIitLkFFgjJDsGueW6YNwxTwgw89zCoKf2Tryi1CrSXCXbB6LVDCtGtvr7zjoPAow5Fihgop21l XigAOgfDrqEmhF8MnazKwvUSIVK6AJUpzgcGh94DUWX7ts/oL/sQLkcXOE2EYzAwmCck21RlYjPrj 15HnwHcNF6+Oclg2JoYntq/0EjqJ1tyzdkBsKMPiWP1dMf1SUcxKIC7DJ2DZvWnSGjLjkPmO4Qz8n cj0/T4R3rb+NFsGhGi4OHeEo5TDWVg7nsZRM4yCUvVOXbQJ8+4HgdqHvySfMSBfxTs1kwJY/kKIYW IhX7VPxan+10YDs2hzxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaVN-005312-D5; Fri, 25 Feb 2022 13:19:29 +0000 Received: from mail-db8eur05on2060d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSQ-0051XZ-Aa; Fri, 25 Feb 2022 13:16:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBnRjVMQcdBKqOzu8IVQIs5iaEBpcbYBd6UkAjn21Fk86OU6+M6awW1mIETmBmHH7uJHfF3ele5hwuyMCAbnDCH3IY32gqQpNfWHfwF8Hz9muxpEjcIZc7AysKbcCQtFNQNKPZPjFVRKFz3FGu9yIROp4DDe0qJVctpNFtPBiWcGoxP9HK8tMNA3CDoMT6ONr/FkEuAeruYQ9VSpafpUnk9LtsZKYpDtQ88N3WAB5Uvu/xH6Tk7ofb3vttVjqqyH03asE+Rq+VR+4OF0wlyX1HVOrGpsYbEP0tYMfojPmclc2kFPF/hczBGykatyHk3ZZfXbQn6bdJeANFm7OUSnSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5pGVEN0zFWGY7L9y9qpVcOmt9ocQFtU9+BzM7RCA4QE=; b=HNF56ALKegjzvKu/ZsjlDDrItYCRlkq7VK7LShY29xVTkQ9FlZGos9HCIEquQ9jDISLQyiEKOqxPvIwf1NpOQaxHPsfAHZZ/AvTtqZY/GAzpLEn+gFQTk2y4KdB5hbsMQYzyNcXucmGNBzphTqltPGF9JcaFV+qtVqkDIg5/zniqqjRogjRmVdyj6ivo9hQrpaE+OaEhC2XDkNwHCT+3OxPdHn5Ex4yNAPwUJ7q8yX3IpjUWTjpJaym00RbAxC69NqVBOCS6hlOowfehsMfmw3H2pTZKzJpESWj5nLRgSJmyOZCYsN3AI4nT/et1UaQCoHc0rPIlWMIBfWb6aKKIPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5pGVEN0zFWGY7L9y9qpVcOmt9ocQFtU9+BzM7RCA4QE=; b=0kordkK9r2Os5wcXi4IVRwqKM3ML9/ID6o2nCObJEbziBJkl0+oHrJWFt7dHamMJCWkJs+em1Ew1KrtA/xCwiOmOwuIhesQkIK5fiew3IwIVaQ/imwmaQ2+tY/8X7NsNcN0UoCqEHdP+nP8Lc7eX8h6NVC+wlQa6tDaV1QLIWJ0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:22 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:22 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 4/4] arm64: dts: rockchip: add usb3 support to rk3568-evb1-v10 Date: Fri, 25 Feb 2022 14:16:02 +0100 Message-Id: <20220225131602.2283499-5-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b45d79c2-dfe8-41bb-aa5d-08d9f8610477 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GEnslCrQJNsCfQ6ED0+v5Xn2XkQvtF0+fMuS8fGRL0BkSMaSGhFqJBJu/BN1kBscgNEpBt2JqehJ66PtjQ6ulLPA0Jgd1Q6YFkjlEg25kh3Qp5J+0dmGYZkOzH9WJYyG9P5FCVXL0DRKg2Rik5ATzXlTKkdrgTBYIJ2P7tXI3BCwGOVKliDIh2b86214xnQFrgyQzC2A27KtXv8e65aRow3bCTDWJ0M2h/IwwF/480l2mnlBiP1axKx+moh04Hr8CnMSI+0eZNV2NHkS2HC218z+Noe/KWUCmglcjcxKCOdTLZP+avHLnLX5xfhLLGhsNzg92x06PUxEQR5IPJoajF3+lLmLNSPiG1MXdJqQB8FMVmHBtxycTeIHir/UZsMw1H7xy4gn9Pxj89Xx5lSgIgoOo94V/k6J8WE+E+0/B/snrvRzacdjQPw5L64TDNqHPCHE+inLafFLW+QfgUKE2JDD/PC6+vaeJV/o/3NtCL7wvrP4mSn3TvxIS0O6FBl3odDgAfQLLthqi4VT/udmDzhKldzOpaZenGEX+WxsSwqGAFA9FYB8zu/DQBU58WkvKWLhOmZeq0gP0ykd8gyKtPPDx6OuW5w6q0dGGc9rN1TqhrEokMdoeGeez13W0Tzv4LrqObIodz8LKyP7R0+Xzw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CukEJ/6ueZTEM1+Sxl/t+rSleoHQubHVeefBJ85uz7VOjk8ZHBRSylJ0McKO0XN4mwsuyTtG9pF/IEaBunQ5JFez6H1FTsw8DPwvqS0UcAmltSATGusiVS5En31/POnRu1npQDcM14ojMWOvApD3buwmeDN2OjQZcwC4vDZ06eKFyox2kzSIxr4beI1jvdWmvcFqSbPdUVm6jpJ+bbK1TPCdR8A43Hq6/KY4Ze5pZIFakft3GZAsbFDuuLTapAcIM3Q8vIrwHSgKss+CC3YSr24uAprs0L7ETn5ynV1njj8sPIxrPAQY66D9U3rDYF+GPl+o1cqj2PzwQsUC55jXaOJwUgHz76qSkozhoMl2YIEFQ92uI2THpNwuXJKPfy+tl+ZciKAYa3rAH2FJDZ9QoO2oAZgb8SyMaAgBHB0wA/cGaqU7b8roFTTovqZjK3BRLBSGQ0Jq6Ahs4GNK2S/xzn6h/GOkLZa9oaAoBC0x+dBJd8xmvdDG5tP6dsNzG9kavgnkGEmuVuM3ITeTQiO1DFlL0oDI8TAdl9TA7fSd59UX9iGqjT4FCdanANkuRunTOGkFlLlr8ZTFmoZISARnjkvxuFcwQ3PRbiABZIiz43LrBJdifdQ22/nqaFEGG/0o7N3ewW7H9HHsXnF9sz98SgQrFXMfIQFYUcypTHLvkjugBSsD/A85ATYaouue51laGaWXHDbhJUQiA4Lp6i5Un8ruU2hdXwNAsvlRcYjxtOsOuWtIl1a+TQslsLilpSskpbXfJGU4be57ajCNlEdmCDoVnvJm6J0zsv+LZFIW7d/iJgVmzXULDZOujDrdWCPvDBOb5CCOVtuDErTatMy+NVDSDqOCAQhWacxpUwNEe0w0ga/O15UVq1Q6j2dyLbHTjubhqwUeboZk5Nv/kW85ingbeLr65IXdSbERy5T5uI81+xuCwHS/m2+rKVQCBJKsvR0ZvBxPO3MPeRTG+1Ue56GE7+V/5HBL04pFzkYX8fAeKoT61tfyKGavNyXRm1ueq3ztU6hTlI7JZi9dhiULdP/4LEquiJ2oXVhBnRJGGXDRo+GLN/Zxlubh7XKYzdk1Rjkzbg5KOmBbCzbEivB5996m2pvETJ0dZG9HdwjPA9e+DcTCTZF9rw6W7aVxz+uKL4AlC7nPtXolAbnJ1Q4w0b67/LrWbcCHxCz59DiIAj8aaO2a9Czoqn3UvGY9J2mK3mu7O8CMO0nHPXasOivVDTONJnGkK6ldUhAtBeN8W8eRzYMWaNqSCuK2DaB+B3UAldWIySJoC2GhLuDI++dyjaHS50tPmhawL89NEQR9n5cuSL7HWwJ2ToCLDqq0RbZ3xYzbCI3H6sJCH/y44qB8x1fzaTFHVBdfMmBjpVTasuCuXlCgkDgDrp+ZkOgvvKux+uzHZuJ52wcVddpbqjSNcgKzus6v4kE2fQ5hXhd+tgiWYnyFJasCL2EyH/TNUhEKWZXiSscq0QcVccZhEL/Wy7QeH+DNfojG6mMUFwv8k4JhP4+ns+FP90maM15PDbb90ONpyZX+WxHloK59EyqWKMq7WWXLdz9jkzxano0PC4TMsY3bidf5SazipxBlqHl3NDeGnI5d/7nB/zbSg4FF7cnqR6+ie9Z3kDsj7EkGfgAbeJK6yTTfd9/Dz67NSyC1G0awQUxo0jeVIsgpWtBPdvZIMKP1tDk9FS9HzhEwfD+65BvMy8TzwS473Qvzxphfkiw1qb/gbTdrqG9aGQaGbd9/A8xoywRD7wYK0ys/vls= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: b45d79c2-dfe8-41bb-aa5d-08d9f8610477 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:22.1196 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Q9ZCfdjkuigHxbW/aT9M6VdP/vvCZm+Yco8MoaFm/tR/s/dzfsv/ZrVgF0vBm384OClidvnO/jOy+WUFmmkKKgdUOuCJ439ccWin84QM+b4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051626_414043_14B314A5 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Rockchip RK3568 EVB1 features one USB 3.0 device-only (USB 2.0 OTG) port and one USB 3.0 host-only port. Activate the USB 3.0 controller nodes and phy nodes in the device tree. Signed-off-by: Sascha Hauer Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-evb1-v10.dts | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index a794a0ea5c70..622be8be9813 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -103,6 +103,18 @@ vcc5v0_usb_host: vcc5v0-usb-host { vin-supply = <&vcc5v0_usb>; }; + vcc5v0_usb_otg: vcc5v0-usb-otg { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_usb_otg_en>; + regulator-name = "vcc5v0_usb_otg"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc5v0_usb>; + }; + vcc3v3_lcd0_n: vcc3v3-lcd0-n { compatible = "regulator-fixed"; regulator-name = "vcc3v3_lcd0_n"; @@ -136,6 +148,14 @@ regulator-state-mem { }; }; +&combphy0 { + status = "okay"; +}; + +&combphy1 { + status = "okay"; +}; + &cpu0 { cpu-supply = <&vdd_cpu>; }; @@ -507,6 +527,9 @@ usb { vcc5v0_usb_host_en: vcc5v0_usb_host_en { rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; }; + vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; }; @@ -568,6 +591,11 @@ &usb_host0_ohci { status = "okay"; }; +&usb_host0_xhci { + extcon = <&usb2phy0>; + status = "okay"; +}; + &usb_host1_ehci { status = "okay"; }; @@ -576,6 +604,24 @@ &usb_host1_ohci { status = "okay"; }; +&usb_host1_xhci { + status = "okay"; +}; + +&usb2phy0 { + status = "okay"; +}; + +&usb2phy0_host { + phy-supply = <&vcc5v0_usb_host>; + status = "okay"; +}; + +&usb2phy0_otg { + vbus-supply = <&vcc5v0_usb_otg>; + status = "okay"; +}; + &usb2phy1 { status = "okay"; };