Message ID | IA1PR20MB4953267AE83D7E6FED7C06ADBBD5A@IA1PR20MB4953.namprd20.prod.outlook.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4721781vqb; Wed, 18 Oct 2023 04:32:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfJcN6fex2KCD39ugtmv0S0Ur7uyLtH9Wz6w8cNyMoTX958LQxEu9AAO8vYbj1Hb5ubcRE X-Received: by 2002:a05:6a21:a5a0:b0:17a:e03f:38b7 with SMTP id gd32-20020a056a21a5a000b0017ae03f38b7mr5215770pzc.6.1697628750443; Wed, 18 Oct 2023 04:32:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697628750; cv=pass; d=google.com; s=arc-20160816; b=zkGukiPHqQK+XwDWTQf74Kj6TeA5r9blm8DnRqH3ygFP8XMJ9cFNNIWD47nfZ2dnxq 8vO+wb2aHFdtSvNq+37oBenssdYRIb135mv7ux53uwG1/ecAUaKH5Xe66HF3G18ibC7H Uzqm0xK+lqyOnhYg5GGMWxp/F/lEFIjHTgZXVVdTHjwPjM+ChJhvt7IXYxjW7Uaq7iwL FiYQyAD5hB6tqqUVxFf8Lm22+y3YSwt6t4N5xIUDKA1ve9asteMh3i6DcjRE+/IgG3rT sFlI27WCuuKXhl90CbaLvM9l6byK/EAyAY8IoH1/HgNWdA6lVXNeAg7Op4YeewVVSIoY aBaQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f/s7p3+fTsVg2gf8SVIXagYsMNWEfoOfstvhSjrOVu4=; fh=GjFy0eVPwu1AO6Qekgg/ppikcnp2zB1N2fp3SdGmVH8=; b=qKZfHxCTClwUv6CRgBYex0w0Z4TNNI2ZGoB/NnB3/u61svQq0ZHWGMQhE6oSypafLZ MqRiM64baIRjxF6SLNVO+fiMUJqMnemjgTyXFDCyXq4bi80Td5xLHk3InnWDmjefiC1N bIHrahw0QlNe+FqLmEWSafHB1oC2KqgwGS6vc0IgPenvOVH5C/d75/+33BWSbqLEnKFB QNtQZ4XQv+ZNYkS/5Kiyx30mJF6JQNMuHuYDegPo2YUnFvDYTfvUIMoC+NEe295Topa/ Oa7SH49Mz6QfM+KFtYCU61YBPzUXqLxR/UiMywZHaXwZi5xQ/qbaUuce/ej9n9SXs9to Y/gw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=YNAkemGf; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id r201-20020a632bd2000000b005ab190f9504si389015pgr.602.2023.10.18.04.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 04:32:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=YNAkemGf; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 692E2803C468; Wed, 18 Oct 2023 04:32:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230499AbjJRLcW (ORCPT <rfc822;lkml4gm@gmail.com> + 24 others); Wed, 18 Oct 2023 07:32:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbjJRLcT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Oct 2023 07:32:19 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2106.outbound.protection.outlook.com [40.92.19.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B60FE128; Wed, 18 Oct 2023 04:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f5DoZfXJmbe3HrdU55eKYwyeTg2jaqpzJ37RfuVlIgapZTm5WuV86PJ0ij8fUzaquRvc08rvSVruTYYaqU+NgE5dxMRfBska9vdvgWc1Oc8BvlAAzeEAMXI3PeEFWZNaACP1OEyJOMSARHaXYrFmNpK1SsUxevZjaNCjf4MgHlcAzGi4yqL5kdg2OEJXje9fDrjqfOIENbeWvhCscwEQcStnrLJvaVaOO+G4OwcUMd0WJtMVkcdB6sfhydutDO/TnbuJLIcHCvp1zRSTdeEciz+jivpHsLBTI92ZIoB5tkRE1p+mn7heNXZS7tYW1Feh/yLFEThHNSr6NbjncSgocw== 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=f/s7p3+fTsVg2gf8SVIXagYsMNWEfoOfstvhSjrOVu4=; b=iGq7dC7MvgqJJJdJ1Z0ammDcwfr488btbMbYjZmdUVwT/7dSEFr0c4kJ+cuSI6iEuN93KPmqcUfQVb029n/nlKP0dqrwoWW30hqS91IGJmhveOgGs7enQykTbZLoOgG+NqWD2yYBp/zcmhtQ8uP+tLLzNaTdrvclFTlkVaUaZ6nyBcYLoCcsCyts6mbWnmwU9oOiJWTCu8mwvvOFQEux4cJ51FrbkbO+dQFzJ6g8MHgZN2xveJKTeR9mhQ9+Kc2NwzRC73bY03b0N20y9p4Y3ad7IFoKRVvuuVDb5BNYjbwq2PLyBPDy8qn7nqG3QJt6Aq5JtmLAXOXf8HiLrpFNSA== 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=f/s7p3+fTsVg2gf8SVIXagYsMNWEfoOfstvhSjrOVu4=; b=YNAkemGfX/5u56fScvSyfNbDzOVGBQRixXyIycp5jd5W4mo3ZpyEPxhVNTcBUb2SlxV3adKsYUAiKula/vPPxSSudNWCEemYCHYp0aEEhDfNqZahScoTcmSaZqrVn6UZNtXSgTqYl10jUA+2cepPBGSLe6vgpMTZZSY02NTA3J3SFUoVVXGkYXYFT+Do9Krf8AKYDy9aK7QOkN/92It6PGH+R3VcqRS8aVUoUOGWmgkHLgSFH4HfxVLCj78ZyJGpZrnPnBR6dke7icwKwo+uLbMpo7XA8ka0nBf9qpgfutbMP4BzoUcicOTEfmQ6UiNxdVf4UBM0lBhSEJIkQtP7EA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 11:32:15 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 11:32:15 +0000 From: Inochi Amaoto <inochiama@outlook.com> To: Chao Wei <chao.wei@sophgo.com>, Chen Wang <unicorn_wang@outlook.com>, Conor Dooley <conor@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu> Cc: Inochi Amaoto <inochiama@outlook.com>, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/8] riscv: dts: sophgo: Rename cv1800b device tree file Date: Wed, 18 Oct 2023 19:31:49 +0800 Message-ID: <IA1PR20MB4953267AE83D7E6FED7C06ADBBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <IA1PR20MB49538F60A390CA74EF1D16A2BBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> References: <IA1PR20MB49538F60A390CA74EF1D16A2BBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [67jmYEbwx0bcn5gevE2IXsUeEOwGt6DeTVhZvOaGydw=] X-ClientProxiedBy: SGAP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::33) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-4-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 701e6075-55ce-41a3-8b75-08dbcfcde0b8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-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jzLgsgXcfopXVy0x+4JB7confAaNfe/q8b34k4HF2SbDCneoId60B66dwVOV+CFRxRhUvd0CHv4IeMgzqIx1M2cvZPpfAVqkCrnG7bJpQzcdb08S9DG9/radiMztKAesnlA2sTkFh4R1yZsuzeKRqrbVu8z75dAKHxxeg8V/0n4FBGu66YVTFgDlJPKUBjr051WpNpN/mbE4Ga+Z/LG8GY6bRse7Lkz/mv03dskhuZPLXxvZKJfoGE0IbzYyIe17jAHHtgRDk08ox5vdLeHJ/eefigEJ4FNaZxjyC1pMn46HfIjvfueeDJkM6A9iIl9CtfxE3hdOVWlBcViYyLhEVhy2fG5wIEXpVwiByEfpH+wqSbKXaT/U6vT8g53emA29XNu9cqO9Vi3WpBiOL3OhC02WpmytrT0oaV9/FIiidQqGlXvyKSY8DVRyo6jFJc43FRQ6qpDp/lwVCb4Q/GYLnR7QYeh7366KnfdOUf1lE/g+7W91kT6ejEmuQ9+g4d+NPlbcpwyGHW10dVezmqZv5v70jbhRJw6wB64s6BheAZ1OWRe/NNETinGbo5lGqKtrxrMnf51RCmSygMj9Mq/+YDN41rI7oAu8DjjeDr4c2OlYyyj59bobpQpNz0UEM5Tj8Kc9SL4OyRHInXKK/9uHJwt3i35xa3srIoUtPL37sSZUMQqFInZRqflOK00stPBAHrQd8nOrW405U+t9oyEdyeWINQAD5JhDiecxd3J2hlMNxJZiLZKJPmh9JzlP9tCYkWJKFi+Mu6a2tKXvOhMwk2WSttLppeFflgfA8UyEyl3/0RAk1NIV6YB5FtCdSVYVqJifvi3t98RRpa9P8f/DVUtoVJWuE5gBYDX18+18XNqMgHuUtI= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 701e6075-55ce-41a3-8b75-08dbcfcde0b8 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:15.3405 (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: CH0PR20MB4059 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 04:32:28 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780092764906877918 X-GMAIL-MSGID: 1780092764906877918 |
Series |
Add Huashan Pi board support
|
|
Commit Message
Inochi Amaoto
Oct. 18, 2023, 11:31 a.m. UTC
As CV180x and CV181x have the identical layouts, it is OK to use the
cv1800b basic device tree for the whole series.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
---
arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} (100%)
--
2.42.0
Comments
On 18/10/2023 13:31, Inochi Amaoto wrote: > As CV180x and CV181x have the identical layouts, it is OK to use the > cv1800b basic device tree for the whole series. > > Signed-off-by: Inochi Amaoto <inochiama@outlook.com> > --- > arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} | 0 > 1 file changed, 0 insertions(+), 0 deletions(-) > rename arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} (100%) > If nothing breaks by this commit, means the file is not used, so how did it end up in the kernel? Best regards, Krzysztof
>On 18/10/2023 13:31, Inochi Amaoto wrote: >> As CV180x and CV181x have the identical layouts, it is OK to use the >> cv1800b basic device tree for the whole series. >> >> Signed-off-by: Inochi Amaoto <inochiama@outlook.com> >> --- >> arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} | 0 >> 1 file changed, 0 insertions(+), 0 deletions(-) >> rename arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} (100%) >> > >If nothing breaks by this commit, means the file is not used, so how did >it end up in the kernel? > This commit breaks the including file cv1800b-milkv-duo.dts, which is fixed in the next patch. For cv1800b, it only needs to set compatible strings. The cv1800b and cv1812h have identical layout. I use this commit to avoid wired output provided by git and make the change more clear. > >Best regards, >Krzysztof > >
On 18/10/2023 14:37, Inochi Amaoto wrote: >> On 18/10/2023 13:31, Inochi Amaoto wrote: >>> As CV180x and CV181x have the identical layouts, it is OK to use the >>> cv1800b basic device tree for the whole series. >>> >>> Signed-off-by: Inochi Amaoto <inochiama@outlook.com> >>> --- >>> arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} | 0 >>> 1 file changed, 0 insertions(+), 0 deletions(-) >>> rename arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} (100%) >>> >> >> If nothing breaks by this commit, means the file is not used, so how did >> it end up in the kernel? >> > > This commit breaks the including file cv1800b-milkv-duo.dts, which is > fixed in the next patch. For cv1800b, it only needs to set compatible > strings. The cv1800b and cv1812h have identical layout. You must preserve bisectability. > > I use this commit to avoid wired output provided by git and make the > change more clear. Don't do this. Previous patch was ok and readable. I don't understand how this split helps (except breaking bisectability). Best regards, Krzysztof
diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi
similarity index 100%
rename from arch/riscv/boot/dts/sophgo/cv1800b.dtsi
rename to arch/riscv/boot/dts/sophgo/cv18xx.dtsi