Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1431916rdb; Fri, 1 Dec 2023 17:11:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHp4EET9LRt4jEmki9sRLrsQAFE0FFzBbYDSnTfsEv76TLU3h0Mihl6NLyg8c2X83/UjUhX X-Received: by 2002:a05:6870:2e03:b0:1fb:75b:2fc8 with SMTP id oi3-20020a0568702e0300b001fb075b2fc8mr626087oab.95.1701479517573; Fri, 01 Dec 2023 17:11:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701479517; cv=pass; d=google.com; s=arc-20160816; b=riA75V71B0K8Lo4uNFwQIPHxdQ57xi0iufXD30vbuVgV74JzyFHzfA1Ij4Qm6FU2mi 3urPQtOBazBVrcUZ/cGcrhA/J9vfjuPZYXVKllZzd/WuMp++9Hd1Md2ODzTaspN0+5iY XxXIQViNSxDDgC54F7MJHtSZwTMH2b5RTgZiaD3EO3E1tI96SrEQryKV/fgFO1KnQf5w vTs8pJYWRTGzpa+xjNrVrSrRAKBfGce26iEw1siA0lyr9vum6JmUZ3VbREjBw/N0od6p DeV+7/MrQWHUjZVELqrGcwZbgL9zwYbPykythrA6jPJQN4j4F05JHYJ+1xFDxf0DqKa4 n6cA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=r/xz0cjQoFaYfAbbc5zlMSgapLIlrdgQMm2WU6WIVf4=; fh=Tp+AM8Hi7T8G91KnfIyhWrG7ataj/dc2KPkuQ69lsP4=; b=Of3gdURr+fRdW5pnVY+0nzbQSqEF7fegv98NBMr7suKM+nsNQ7vfeAUrkdaD0EcqHM p69aitu8owq2pQKO5Zi8+snQXuMfWs4ddxZeZ/8wJWfpaGXDcCviYRX8cjP24N6Zxz1a o8CRMsivFKE5ZbP12L+c7f6uLpmybP9sWlSEwlu/ez3j31oReU+tICl7p3U8S0vkq2i3 XgD51zMInqrdeBsh5dleC0pSehCoHfgZu3FBKMD+EeFoDfE/gOg3lWzZdf5sfV56AFPi u1Jl7hSp38YYJM7c3Li1Ay1hi4+nznyBi7Ap+NCkzhQeSh+bJ13cuoh57q59KflEl5dN ktmw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=kIh0NEKJ; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a13-20020a65604d000000b005c216b7d4easi4449861pgp.473.2023.12.01.17.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 17:11:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=kIh0NEKJ; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6B7E1818ABDC; Fri, 1 Dec 2023 17:11:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbjLBBLp (ORCPT + 99 others); Fri, 1 Dec 2023 20:11:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLBBLo (ORCPT ); Fri, 1 Dec 2023 20:11:44 -0500 Received: from IND01-BMX-obe.outbound.protection.outlook.com (mail-bmxind01olkn2047.outbound.protection.outlook.com [40.92.103.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0C0FD54; Fri, 1 Dec 2023 17:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMhC84lfg199/Lhgt2fOOcy6PlgNnxXfcVrUeYr3bBOyMnvuiRLvsvB236V5zQ2Qvkj2Es2tFRj1x6fHUcrnZJwzubn+rEOfV4vmybostcCwnXrs+QKNVhizaITItEua9e67cDqlfaQgTeHI2z/+7wJ78gDVWBh9iTVPZY1ft6eMCi8f15pEldQFYOqIeEcI8gH/jfgdwANYRTwUsOShfX4nR2fMfBxIjdf+U6FW6Vakd+A2MbNAUUriaW85SjI/Hrqvefavk7S0lqgncOGKmDUKTOn7AeNKUKj6sfzSYQcVWgyOrdKS2DrLX2RQCPnjSrVcQVYBtPfu07z7bs1W5A== 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=r/xz0cjQoFaYfAbbc5zlMSgapLIlrdgQMm2WU6WIVf4=; b=G0QCBcYVqVZLC4hl3nMAVbV/0UMwK9RdFGIO1WMF9fkIDj+8pNZx/rhwzgMIpfEFAW6PI4x1xTHd0mn62tJaY/w5Tif9TDDhgtUPTp+cJK0V6M35LI332biu/bDrfUuZIRxuOll+jNVj2MVrUXHyI2B5/i3L5BWbs7dhSkFnfpn9eVEbtJuHzSp6ypHG0khNoaAKOSHk7By/MGGBbPNbk1ib9Ty/lr5v9GUVGvM1lk5idKt0iwyZaru6bUFuQg6w1LUF7E30mpRmW6TnkONc3/xkeLOAWzQyDgGxPz44gAMoALB240OqXSpvEGdOm+yfBbe9kRE9CXYLKB4m0CuMsg== 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=r/xz0cjQoFaYfAbbc5zlMSgapLIlrdgQMm2WU6WIVf4=; b=kIh0NEKJnxeqLk7NbLjfnZqqWySJc8Za2DsZFCKX90/dUwIFJSstT1aYe8BIqEIFN37UzQjE7GgqCZL0l1kpqdUd4xMZxLU9GOvmPKDMvWOMMAL5IJ+YkBvE93kVcW/yL2prOHhlTJ4sk1fHVU9pIWLTnstlmZJb77vV0AE5G3sowCbiyZeF61H5/F3ifQP/Tts1G0JgSkgNv2zS1OLe1ia6Cq6HWt/xbTrJ8OmyPcDaG5Cvdi9Pse+WFiMgidKXuV0ul3PG2BlRheJooHbEiY6H5E5RyhVoVmusfjTWwex/TG5C3d5QOj4ULw2bvCOuem50Gd4M+b5uJRIAMoEePQ== Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) by MA0P287MB2448.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:122::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.27; Sat, 2 Dec 2023 01:11:43 +0000 Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::b1a7:eee7:e903:9ef3]) by MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::b1a7:eee7:e903:9ef3%7]) with mapi id 15.20.7046.027; Sat, 2 Dec 2023 01:11:43 +0000 Message-ID: Date: Sat, 2 Dec 2023 09:11:38 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/7] Add Huashan Pi board support To: Conor Dooley , Inochi Amaoto Cc: Chao Wei , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Anup Patel , Conor Dooley , Jisheng Zhang , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org References: <20231201-strung-mandarin-110a322468c9@wendy> <20231201-nutshell-uptake-48161193c6e7@spud> From: Chen Wang In-Reply-To: <20231201-nutshell-uptake-48161193c6e7@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [EYvLaaxD3TkTRkIYxut0PHNqK+0UAeyn] X-ClientProxiedBy: SI2PR04CA0010.apcprd04.prod.outlook.com (2603:1096:4:197::11) To MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MA0P287MB0332:EE_|MA0P287MB2448:EE_ X-MS-Office365-Filtering-Correlation-Id: 4803afa7-e2a7-488e-ccbc-08dbf2d3a529 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PNiLuw0/GS3QLMGa2oQ/Vtt15vNkJsU55TMdKOAZHcZMnZxZbN8UKafkmOD98gZ1AdAV2AEi+5pXhUh/BSgyMi1IZWD8yQs+dQ+TfWUVlQJs1BUY3oB/XwnL448iqImnbawX+dvfBG5efOOKB2JtVy0MAQnaG0xebRcQu4swRJH3g5Gy43QFIVCdDvA88X83Cyx0ucapp9JGyo2l4A9eRA3D0+h4ABhOUxmuOlonfSmPScUEpCVx0GgbniHsGkdJpZg4XVu2S9UHnWBwT0HHU6fIreCw/+3xnJCxIhVhyc+ZD2hPMnWbOtO3CSWhiIfl6pHuAM7yNW++idYxd/XON10TDrAZaWJIWznBuXErRkw4W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4S3NwS0dweGYvQjNKRFZSRCtBWmdmWWRQdEE4M3dZQTFrcG51SnpZN2Ra?= =?utf-8?B?Q1lWR2FSdkltWUFjUUY3SFNza0lSRUNTdWxQVDJvYi8wcnRBK0w2S3RNdm5m?= =?utf-8?Q?Ht/AW332YpXcwrmxCK/eREQW7VL3FAOmS+JlZjzNg/X4=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4803afa7-e2a7-488e-ccbc-08dbf2d3a529 X-MS-Exchange-CrossTenant-AuthSource: MA0P287MB0332.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2023 01:11:43.0528 (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: MA0P287MB2448 X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 17:11:55 -0800 (PST) On 2023/12/2 0:21, Conor Dooley wrote: > On Fri, Dec 01, 2023 at 04:31:38PM +0800, Inochi Amaoto wrote: >>> On Fri, Dec 01, 2023 at 09:02:59AM +0800, Inochi Amaoto wrote: >>>>> On Fri, Dec 01, 2023 at 07:21:29AM +0800, Inochi Amaoto wrote: >>>>>>> On Thu, 19 Oct 2023 07:18:00 +0800, Inochi Amaoto wrote: >>>>>>>> Huashan Pi board is an embedded development platform based on the >>>>>>>> CV1812H chip. Add minimal device tree files for this board. >>>>>>>> Currently, it can boot to a basic shell. >>>>>>>> >>>>>>>> NOTE: this series is based on the Jisheng's Milk-V Duo patch. >>>>>>>> >>>>>>>> Link: https://en.sophgo.com/product/introduce/huashan.html >>>>>>>> Link: https://en.sophgo.com/product/introduce/cv181xH.html >>>>>>>> Link: https://lore.kernel.org/linux-riscv/20231006121449.721-1-jszhang@kernel.org/ >>>>>>>> >>>>>>>> [...] >>>>>>> Applied to riscv-dt-for-next, thanks! LMK if something looks not as >>>>>>> expected. >>>>>>> >>>>>>> [1/7] dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic >>>>>>> https://git.kernel.org/conor/c/21a34e63afcc >>>>>>> [2/7] dt-bindings: timer: Add SOPHGO CV1812H clint >>>>>>> https://git.kernel.org/conor/c/06ea2a1968a9 >>>>>>> [3/7] dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles >>>>>>> https://git.kernel.org/conor/c/d7b92027834e >>>>>>> [4/7] riscv: dts: sophgo: Separate compatible specific for CV1800B soc >>>>>>> https://git.kernel.org/conor/c/5b5dce3951b2 >>>>>>> [5/7] riscv: dts: sophgo: cv18xx: Add gpio devices >>>>>>> https://git.kernel.org/conor/c/dd791b45c866 >>>>>>> [6/7] riscv: dts: sophgo: add initial CV1812H SoC device tree >>>>>>> https://git.kernel.org/conor/c/681ec684a741 >>>>>>> [7/7] riscv: dts: sophgo: add Huashan Pi board device tree >>>>>>> https://git.kernel.org/conor/c/2c36b0cfb408 >>>>>> Thanks for the confirmation. But I suggest to revert these patches. >>>>>> Several days ago, Sophgo informed me that CV1810 series will be >>>>>> renamed. And the Huashan Pi will switch to the chip with new name. >>>>>> To avoid unnecessary conflict, please drop these patch and I will >>>>>> prepare a new patch once the renamed chip is launched. >>>>> This is a board that exists, that you (and possibly others) have, right? >>>>> >>>> Yes, of course. >>> I dunno then. It sounds from your message that this is purely a rebrand >>> of the SoCs, >> IIRC, it is. >> FYI, Chen and Chao. Maybe you know something more. >> >>> so since people already have these boards, I'd rather not. >>> We should be able to support both since it's just a naming change, >>> right? >> I agree with this. If the above is true, we can just reuse the exists code >> with a different compatible name, right? > I think so? I'm not sure what the precedent really is for pure > rebrandings of an SoC. > I say for now, assume we can do that, and we can discuss it with Rob and > Krzysztof when the time comes if there is no difference between the SoCs > and boards. > > Cheers, > Conor. As far as I know, sophgo's SoC product names all start with "sg", while products starting with "cv" come from CVITEK (another chip company). CVITEK was acquired by sophgo a year ago, so now many SOC product names that originally started with "cv" are being repackaged and changed to start with "sg". For the cv1800b adopted by Duo, Sophgo has made it clear that it will not change its codename. But I heard that for other products, such as the cv1812h used by Huashanpi, sophgo may change their names in the future, but sophgo has not officially confirmed it yet. Looks like sophgo themselves are still in the process of digesting cv's products, ;) Since we have just started to support cv1812h and have not done much work yet, I suggest not to merge this patch into the mainline, and wait until there is clear news before doing this to avoid introducing unnecessary modifications later. Thanks, Chen