From patchwork Fri Feb 25 13:15:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760257 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 51C81C4332F for ; Fri, 25 Feb 2022 13:17:24 +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=mBlpPPNS22+1Hy1SYaZHKlzeez1ZwHuqvXr03IwYp2I=; b=2JKOlGmcxKApp8 vMnlZRixdWXPola7mVagYxiDmjPzeZjizaxrBFvLLhP9aX7EI+PU67yYIAgs8Rr4qzYaDAMU7sZJ9 Z+VIOGrx42P7LeNnz5GDJPlELu8Q8FcaQODJ2XWbvWsldSuQm0DaD3EdK7FcN9abmXLeaXX2bR6oL H/xcSZu70RtSnOYABwFinpnl1z+z53XNO/b1UoqTs0Pk4HxP3F/b2xBFr5U+GtRO0qahoqV/zgm36 TMRRvWUQjmhAj09qCFW0KP5UWSqKf50k0T+uC/Vqd6QYKK2yv1N57yQOQsfCNOXBF2SBMZHkfnDlq PX1UV1MU3MlcNFV8xdMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaTI-00520J-89; Fri, 25 Feb 2022 13:17:20 +0000 Received: from mail-vi1eur04on0625.outbound.protection.outlook.com ([2a01:111:f400:fe0e::625] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSK-0051Vr-CC; Fri, 25 Feb 2022 13:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VIopU597FkPKLSEXkcZJO/19DyfNTmYOnOrWxCDrUiAhr1qMqycZPtrwQtTPH8Pinz1UWXYa7CHjNzT71jA0KTVccxzUbg+hioP4YtPjSTF0wZmyBDwHyOJUI3rKOKr1B2RHGCXLvDq9iaLsbwl+kgjuDE95o8ZZGGMvFEYGIzIxO1VLcW7Hwfg1tEF9TJav/coJeEEihfxkbeHk4KTD4Eiid5gAl3/zFCpt2+79L4C2LZ3TbHexTmKnrEqoNvfMezyae4X0huObm2rZk89VkI73db/lrHcQaza2g4VpPCqC2Ew62A2qcRV6GNP+0Q/CHv+L5K8VL6f9SuWJK4bjeA== 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=5wissWNh538t+jfob6SX7qAojapmbWq4t3xPFlIinXI=; b=OVuteHDZW6YJ495xqXN4K3KsWE7pp4yQip/Yse/qrgbrj+Ncws5ajmR/DnBLuks881Nui8KIEkcgAMggWd3JUbN+SmrEwxyrQZUtOcD0xovyCGTEdk86+a7IPBaK85v2wsJdurQDqtIswtQqDysqhuToHoK7kBefYjyExdRnRZLZTAdqLq3yMqDkjoDJOgC5FSehs86oG1bV5N+T13B0kDz2nuyZRxY/i19swrPNXGfjIj6GUrnjbryQzGLxIvVvdCAUE7KPiHUGugUyET1LxIU7syuIwqNoNLcnmjNzvMZ1Bu2OT1Xk4AZi1RaxI1afowBJvxZn4CwCRN0Gi04ERA== 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=5wissWNh538t+jfob6SX7qAojapmbWq4t3xPFlIinXI=; b=S5JrDWRS+A1MhnEPy8i8PrNwKi43PuXAk9uURaJrurby/maOuAX/sK2ECBxiayPBNLGvqQPETxVXc+YHh7kn7047es8C0DdN6/KRQSq0uft3y9G3eoNY7hi3/h6Zeq7SNfd5lcBvGT6Wa4vz91PVcYmtTfqFEqUQuDUVt6U95ns= 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 AM0PR08MB5332.eurprd08.prod.outlook.com (2603:10a6:208:17e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21; Fri, 25 Feb 2022 13:16:14 +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:13 +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 0/4] arm64: dts: rockchip: add usb3 support to rk356x Date: Fri, 25 Feb 2022 14:15:58 +0100 Message-Id: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 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: ed3fc01e-6d3d-486e-ebcf-08d9f860ff6d X-MS-TrafficTypeDiagnostic: AM0PR08MB5332: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: 7+swemphyyXVlCfMvjtQ/iYLFBfypOu1Xr9UFwMJBfVzC75aOMaoIptBexHv1IlUQ7/6SpwNypQ8Oij+sj1S1vu3HHTnZSZ3b0gSrWZM5Dfy06Loo+gJwpNE9aZdhPYf+BLwbNRT+2EVfWbB6c/h083qobarc/VAVPiZlxIUQ74OBLlaeT7BmTDVyfTlYGL/iM3IT2oSGVs2uGF/Jb4ulUAzEUNs+Vu0L3/lOxf8VMcMDflcBt8WTZGoAaGqmqQdSqfx7JoO1WjvhNRk66pAqoCJ0y4UphqGwcRV1efCGXoOfEg/fDsNsr+IlpzTcxnrqt25eWy9xB/X1GSyRu6ZsZxqADFEevRkcsc1OeeV0Jdbk4XVK+YgnbVJA9kz0O2fMUVZXI2cZjDHmlov5Ia6okupmNxcVFbMv+rVeR8IIZ7yuWrAaeQF3D+8LoVowJFkDsbXTm8FyBYVt8Ow3pHpbfjHGsSIYU8XoNGCMEGaFZ6JOPDmWJcjCWhdq+uE/kLjeb+3YWarCl7ylpQZhPFvzG1DMbOanb5DLBest/yVPCwsBN1F7G7pB13zpzqH45v2q3yg6Ew2abKiqgd58waGlyLRagLfEdzKcw1k1gN/KB4oWZbJzcjxxl+rZjKvlxVKSG8nU8INB6hGhKyoybB8og== 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)(396003)(376002)(136003)(346002)(6506007)(52116002)(186003)(2616005)(2906002)(54906003)(8936002)(1076003)(6666004)(83380400001)(6512007)(86362001)(7416002)(8676002)(508600001)(66476007)(66946007)(66556008)(36756003)(4326008)(6486002)(5660300002)(44832011)(316002)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D/RFY63LUneoNpiE97eW5+d2MTYrwnnEMgjatezkD3Ako82uLjgTMokxqQgM5SpAQka1XdqHHlmrB0kwnp7ALu0YdzAY71P5CqZwLD8NIDDDHpgzuMyZqASqBpUEXz51cz9sf7NOMmsOks44RFw6ggB8cdtmSfBMpwR5ve3kUI+2WU2WSZhSdIjVDPFZa5bHbW/D2VFVpP07RxqAf0derkfa9PDDWM3Yb+bBE9YwqsHoyY/LV2dc136OZjqQZJa0rEslzJq2QbfJDaqtwhKQblXGRy6vS+L4qtgZ+XsWMHL/tov5HduW6TJ5YtUikr+SmIeV2PGo2gLl1pYkKjwR9Tl7zC7f0cor93c213trwRsNaYRsZPTFYpOhwVkurxVz/3BwB+2kWT5tFBXduS7HaUYKzKFrEWOrJfb18dvrXWu9AaMR786TYaNXCtBFUrmdpSyW00gJKlpX3NSQWLefWahxCfcdAlirAh4KAR5tD1uhhIVzDiH7XpIpDdYMVJ5xzHxuz6rKSJ88cyNcHHw1kYlhO2cWiau8KL9pJmqYy45Vk5KIKL84HyRXQC0K7AOXUwhlNa6HJq6LzFEKnnzJPHaQ+KJQ3Roech9iYniIxYwtQxNM7RCrC6PE2CASmDtVjGIsKIh15WnAkZq7QLSglYV0CltlMyh5MCvbUI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X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: ed3fc01e-6d3d-486e-ebcf-08d9f860ff6d 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:13.8234 (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: eN4REzegwkvvONYYmg5V+lqfC16/MyWFfDr/CN/ht5xMKrJbnlMIIl90ctUf2U36a6T3LGxmKtCjUSbux/MAy4sshdElm3l/ZyJ1ilK0VYc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051620_432023_68455363 X-CRM114-Status: UNSURE ( 8.83 ) 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 Hi all, This series introduces the USB 3.0 xHCI controller nodes and enables them on the RK3568 EVB1. USB 3.0 host and gadget operation have been tested successfully. The second version of the series considers Johan's comments which helped a lot to clean things up and get rid of the dtbs_check issues. Looking forward to your comments! Best regards, Michael Changes since v1: - move power domain PD_PIPE to rk356x - add rockchip,rk3568-dwc3 compatible to documentation - merge subnodes with corresponding nodes - remove all quirks (add at a later stage if required) Michael Riesch (4): arm64: dts: rockchip: move power domain PD_PIPE to rk356x dt-bindings: usb: add rk3568 compatible to rockchip,dwc3 arm64: dts: rockchip: add the usb3 nodes to rk356x arm64: dts: rockchip: add usb3 support to rk3568-evb1-v10 .../bindings/usb/rockchip,dwc3.yaml | 2 + .../boot/dts/rockchip/rk3568-evb1-v10.dts | 46 +++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3568.dtsi | 17 ++----- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 44 ++++++++++++++++++ 4 files changed, 95 insertions(+), 14 deletions(-)