From patchwork Tue Mar 26 02:36:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13603284 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 A7C5DC54E58 for ; Tue, 26 Mar 2024 02:36:45 +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=f6wqdz/EwRbK5d1Sy8iFATuQTaTKR8DyMLWFKBBRqhI=; b=y92QVdTxdYSN0F /ewhYsXjxn2NCgFCdHkUS7QNrhqRhmsHNtpQ3patXBKdiNvR3la5v5+aAnZFQAOyFX/ENNXWK10Fx GAtsGr2h+/hRReKOGJyZIfpKt5TurfBqqakkxIMKRSO0S0tYhakZGP6pQBh9Abl9Pvm6flKxKHIOP MWYWgPPq6gB7zigWta29ZnWSI5cAaJApYOveGRYOpZecKWYUzaIgWJc2dlzDoy4oUoZ85whvPXW7c jA9//ZJqXdxumKomiqMtyurwmo01kc0CvDksm8pm6s+Vz9y5TsjAkNSZczEUWl94UQLq+tD5Ig/dK i3X7OAdelaMD+4KBe0LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rowg4-00000002nDP-0wDk; Tue, 26 Mar 2024 02:36:40 +0000 Received: from mail-bn1nam02olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c07::800] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rowfz-00000002nCG-3lgX for linux-riscv@lists.infradead.org; Tue, 26 Mar 2024 02:36:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TL0XmyibaV0zPM5Ymky2oy7cLd7nTMQMBc/oXQnSAuv9x9G2nItNfLA8Y+g1C9uJsA557ULcNRLKyOkwfs5dNQN3ImQhi1xIvAczUjPf7H8ytFjEUO2zkhYn+1OHV/vatnqt6O2LYCd/Yhrf0QcM1lZJP9aHBTik1QkduxOjZvfJ6h1E0rJi47NYuw2IYCQxC+4LIIS+qvtaJSjAgn37RSnLQZBYnKWgquwzEKckEmuap8rfxY3y8v6FNkda6p3G0qiaVWySsMZTYY6b1OuzXC3TCvlGKH7U8zzZCTCpV2BqdcqfSmsn/lH3f+oFyMT7D8raHX0RPx1G9K+zh0xQ2g== 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=fnlPYA4SJsyyadPgtRaj8OyDXWzquF3l5+nwFhTHO1A=; b=hrmUOQBdrYlObt2VC8eZwiORogMoYYNaYxqskUkRidE2Ymzy6Vt3Qgs63RsrykDSkYiqoG6om5wLhbES7BPdaWzN/61y2ZETnZ/HO8xl/B37g2PuxAay5PsTyPCMx4K9Hoq5iLPNSK/ke1s6sYVNdkdr9V5s3MqAwLOnmhyxLPpxvK3fBD0XB98P74oCvav+obeEnE8RnCAsdofaqJDrfFTgNey4JtvVWe7rqGZIK3ws3goLOMPNLmhhwCG7HU8YcDpVobNfPlScgRRR4R7DZzPD8uwikGpmW0sKUpdAGfgvlcDTuUGTpZVLx3kG0V57I0X01xrCS5RCDQuWFX5STA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fnlPYA4SJsyyadPgtRaj8OyDXWzquF3l5+nwFhTHO1A=; b=rSSsk5wfqrqMVRt7FVUiJ/B6z2u6trzzs63BPtcORlGwCn4zRqdnyq4QTrMnW90QKVJM/r6xbu2RxHJNo37NuZeRBxeqIPsb23jMgnULAVSNMXccvLW8LkOWg5GswPO147AoKVsYqsBIMi9r3axzHfDSqNTC3kywwU9+dpocEZRF8r6uweOPRy9UxjDAiZz7EeAAFiVk0WrHiX0wvumj529KvulGJXSZCvZ+faawF7KKGiwoiP/wJJkjiUF31SWLDE0nV960nkZS3hTiOpD4Pt7NaUEboVKtNmUNM9XAolTF3XQRoniGY5NJZXlU1O/r4naEHO0ypreN/rL7/oV0gw== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by SA1PR20MB4394.namprd20.prod.outlook.com (2603:10b6:806:22a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.32; Tue, 26 Mar 2024 02:36:29 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819%2]) with mapi id 15.20.7409.026; Tue, 26 Mar 2024 02:36:29 +0000 From: Inochi Amaoto To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Minas Harutyunyan , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Chen Wang , Liu Gui , Inochi Amaoto , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 0/2] riscv: sophgo: add support for usb controller of CV18XX/SG200X Date: Tue, 26 Mar 2024 10:36:37 +0800 Message-ID: X-Mailer: git-send-email 2.44.0 X-TMN: [CCg/90J1tirDtzSd9x1AkuYXJHiKY567afx/Cgbu7ZM=] X-ClientProxiedBy: TYCP301CA0022.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:381::7) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240326023638.381069-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|SA1PR20MB4394:EE_ X-MS-Office365-Filtering-Correlation-Id: 24338e9f-3007-4f47-e10f-08dc4d3d8a1b X-MS-Exchange-SLBlob-MailProps: dx7TrgQSB6d4xbak4tYeMB0D40EITU903omFSgf2CP9inXnVKgkP1eE6AT0cyom/K12lFStc/uQ316xSv1WD/N7KTFP4V+BYpPk4KRRvJO7KH3ppkNjhyD2lgEhhEdymnzF61rnlJOpOZehj8Ao2+ARhxLyVAH/+tOfuooXF8QjHl/3dfuXaR3S5d1alho73khytEsVFMpSt8l849myJKDyvQzVQnjuo/8BV4D25FZclxKa7fT837zzKz1LAPCUH9dWFPbphnLhMKy0Yv1gGeOfrxxOf+IqsXQKKuA9CQ8iHHpbCKHPa2L4SHfF8nToWshZ9LTo9Zyisev7tcMvXMC/6iNaM6YaCTe4Kwi24o3pc4KCgGj93xuZPcsp+dBCmbqaqKV4PidxeMRVt26uPx0T0bUwFL0dzrhmGl8O+Tg6DhLvmLkcSujtlHGEHyiDuCCWY17W5WFqytxSC2irFCCjg7rF4DiMy07dMimbciGBNyT0ePlZjqI9n8jmOoVIN1ntD0iaO0qNX+JN1DyjsMsnN4Pfoq4GTBQMHzPadByV2oGHwtwtPHvOT+GbmWNRwBY3uCOzm9BgIbieipLkWB94RtBes+rtJLdKBAr7cIYp9rh6JcLoE2zoZO+4pTn1DUoPfZS54utdEDPJsqKmRJq2wYEBcQKniIUcX9+PLMOz+myl5xi3z/FpEFXQH4kplbzcMUpFKQKDLukfyB8YvNlO1JkVpnyHQjU41RHsWqi4MC1hlxBPPv2A/gkxslGElfvAtO21G+Rg= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bdAOk5cSyCwP4cIrqi3mgP874tJuO7DEnKiqEYpT8cN3D70quTHv7mX2iH21S0c/gZZOSk4Y9/qQJhLDb+hOI3n3ByIZs9toB9wLaP83Bzu2v4HITXznH8H8QTx4MaCSylR/i63S45LQIiKQs0/bXJIr1xQz2VfJMPz0ZRIQJsXxPtSPnTxBrMgJztogjZDo05oEZHbZm2Oo3bxAL/zQSm99ARuY6thr1rZUYN6ukDoVtdbj/6dKpSE/GgbhANZsZZ8w1XU6SKxKKGvdXNYbli+D1KLw/5LxxDIn5GPL7VNLKo7N/OUgGzZS9DxGyXIecwWpVMLmhcza1izpm2wug46BMu2543JY959aMK8LFkDgud0JWNK7qyfF33aH2NV6F2tcva4ZwckmCnyvdR4FnqDuSIXubpxADOfN0V+h9da6YiuNAqkgGx5spvxQ0QZahiES091NBzxXVFGNti6xpeidJ5nkuT/rLKmCOlSioD76KmCNYyoLKzdPCDT5RRI7wlPBGKl+k4jRXuYO9jDGAizamnT6N922Q1RVr1BNTvabJLrVJEsdJcTA7yVCixcRJJ4HeRm0ANDQ0/2M0uhfDG2ZvA/KsAnkTMvixdp/PX0Wk1QZg33Hj5VR0MYQXqSL X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5CYFm0c4AYsXd5Zhdl+w9ddsX5aOW5ui6w/eaUbWg6tJ8MYq9ELqlMaAGleekIEzqWVyB6pKz6HG/bYb13yD8S30p4BOpcP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1lCa3g6LHKggIBKe6GIsUXcqD8iyrcXAvqUnTda6FsqKPez/25N36393qm77uF2xGd2FjoavBHRSFjx6Be6F8t6CrTjIvWc0YANPlMy X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24338e9f-3007-4f47-e10f-08dc4d3d8a1b X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2024 02:36:28.7097 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR20MB4394 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_193636_631288_8A6181AE X-CRM114-Status: UNSURE ( 5.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add usb controller params for the DWC2 USB ip in CV18XX/SG200X Inochi Amaoto (2): dt-bindings: usb: dwc2: Add support for Sophgo CV18XX/SG200X series SoC usb: dwc2: add support for Sophgo CV18XX/SG200X series SoC .../devicetree/bindings/usb/dwc2.yaml | 1 + drivers/usb/dwc2/params.c | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) --- 2.44.0