Message ID | IA1PR20MB49532613F5B4BD9753A1BB4DBBB3A@IA1PR20MB4953.namprd20.prod.outlook.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1088378vqg; Mon, 13 Nov 2023 01:26:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6/8td91Y33LdxlIp6xpwg0ROQ1TAvotN6l7eJpNh5Ec+v/wrWE782RQx16ePhWr1ZUxsL X-Received: by 2002:a05:6830:c5:b0:6d6:4805:45aa with SMTP id x5-20020a05683000c500b006d6480545aamr4902054oto.8.1699867604366; Mon, 13 Nov 2023 01:26:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699867604; cv=pass; d=google.com; s=arc-20160816; b=M9jMqJpnUibJdGdu/Df9NqNlm73R6h4u9oD8ofjLsOQ0rSVVblXFoYTjGXzDfTjK8W N/L/2Qn3aRwF4zad1rpIT7y/pDOtpah5nywJ1cRx+xJIkT9gqglgfcNEjr2FixTo+aqx 1QmT6jInJ282/0UG2X4qENvfPwC3mMV9Q5R+jMfTuclthN3c58eKPAEYOG7u8+pIZxky nvP5Gpmz990Jj0cgf9EyuTrbXla0lOpuSD1ku1NKvbpl8QFPHu17txMC/do2miZOcqg3 tjp/epBKIv6KqFmmumcrsrbSxb6JQO/vQtUzJFw6jsV1Wp1cNw9Er7Nj7lSTfUMXu+Z2 TnzQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qqz5pQMI0E0+HeT6UiwmUgbdQrhyFUVIy+H8obl9xH4=; fh=N7zLg1FHADmCb7ycisgweH/xfMOP9Lnd6iiFZKIrE0o=; b=AmyOPCM1L4/oyFqXxypVlK/hDqgwY3nt25s+nBSRABq4Hgaa/TF5ZHDEOMdLsokGtL LdJcC04CgtSGcrj5CArv1xFexHRyemyFSZKg5EFZcipDhYpaM55cU8dun+K3165/G4c7 QtXqjxSNFxbMKQEBJ1XNAiLuOLhBhh82ZjeMQUhghLI9+dGrnGIObPXeL5M332tfTh59 2cotQiarvigDNSlEC8OodY/jDy7KWJcuhDZ0TyTLDae26gbT7sbKfIFTmaZVXdLXxbW/ brzEsB/hsxuTxOy7OfxyCAaPqpIbXh1EuBz3SxeN3vZxQsn/tQOWQxeB7PlvxHXMTjVa tHwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="mMCt2A/P"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r128-20020a632b86000000b005b16e351343si2661990pgr.241.2023.11.13.01.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 01:26:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="mMCt2A/P"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 3E030806CC01; Mon, 13 Nov 2023 01:26:13 -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 S233279AbjKMJ0J (ORCPT <rfc822;heyuhang3455@gmail.com> + 29 others); Mon, 13 Nov 2023 04:26:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjKMJ0G (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Nov 2023 04:26:06 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11olkn2010.outbound.protection.outlook.com [40.92.20.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF85110D0; Mon, 13 Nov 2023 01:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8osBBdC3BFoJlM00tnWpuji5wKZZsLbIEoFnCJy0+nPPtu1Jvyo3r/kODGKti6CGkEnZ/Dq/By9RoMNtwgv8OKnHjaFTulLYDb8F14a/RdKyuixHf8qO6i4TtfhsmCdnF52kJLtjrCemOw1YNBO6BX4kpi3oo8z1cYb1mTALezU20QmGemln7BCU0gJafgK7lkWd8IuP9fflrFmPr88pd97LQHq++zzFTJz8LBgDhpd282icJOiISMmXEjeUlNdr5KI9WPaJCgbBh/F+PkPGr+4T1hhfeanHhZVJvAyaBdcPL1dkP/d0WfOPUWL85NmJwwwsM5Z1eS2LRAPuA/t9A== 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=qqz5pQMI0E0+HeT6UiwmUgbdQrhyFUVIy+H8obl9xH4=; b=Cw78SQFztMM+2fAgJrL8MfNsIfCSGa5v89cXfK8LTW+BxV+m90ygdKaJ/Q2LYTW1ofbkmUNYeyACnBf4T1a1B5kVKkw45NI/WYfrBtGeauiRCd7XeeWW2Q28hzi7p5uQ5rFbm8KE5ir0Dq4sbeAidpmxpTeCKkm/J1Jtz12f6EbCq0Rsvip8d4I1uCdO+ec2oKEEQdyLKHj/UXplqsK46Xh/uNbh5vqjXhdWbEhTBvEQjLcTOORBPIZ80GCKIJ7mR3yQ/G6FjizvS8XYmX5vmHIUTVsuAqoGrM7kyKsFtIG/7nPHT63JzZqxu+egX75aGZgrPrhWCB5hL7OU9hqmsA== 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=qqz5pQMI0E0+HeT6UiwmUgbdQrhyFUVIy+H8obl9xH4=; b=mMCt2A/PnAvW1xca9GF8O1bdiQwrSTkW8KtpoWffsVaRicpk1ps7b0MJFuOZyncWJA79As/BkgEB+4CK/5hwTGjr2H7zMCnxpoOMxPn0G19uWCQmmby9rbtnlOjXsZhEn2Hl3oqmEsk2R/K/qS7DxYAQBLd33BYEBvey0sXfK9t/PeWh7zUUtjHtBYEs9DCVo/DZTdbDz342uImPy5JKcM4yCMON6AJG8/Eor21QnQjHKSxAAxrpY//xLaoLKUbUtl3YzGgPm5xSGZXiqV5oxKYPdC7N5Y9vSggREPcwJyVXTZk/3v4ybaEDaqvxxMsVCYEJA3jnIj8mNdlC3tENww== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by MW3PR20MB3465.namprd20.prod.outlook.com (2603:10b6:303:59::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Mon, 13 Nov 2023 09:25:59 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::55b:c350:980:ad8]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::55b:c350:980:ad8%6]) with mapi id 15.20.6977.029; Mon, 13 Nov 2023 09:25:59 +0000 From: Inochi Amaoto <inochiama@outlook.com> To: Chao Wei <chao.wei@sophgo.com>, Chen Wang <unicorn_wang@outlook.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Jisheng Zhang <jszhang@kernel.org> Cc: Inochi Amaoto <inochiama@outlook.com>, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: sophgo: remove address-cells from CV1800B intc node Date: Mon, 13 Nov 2023 17:26:15 +0800 Message-ID: <IA1PR20MB49532613F5B4BD9753A1BB4DBBB3A@IA1PR20MB4953.namprd20.prod.outlook.com> X-Mailer: git-send-email 2.42.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [wEvxMjLbPiEQh6PPG7qWkwPTA10ApsD5A5yMO0pAxcQ=] X-ClientProxiedBy: SJ0PR05CA0125.namprd05.prod.outlook.com (2603:10b6:a03:33d::10) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231113092617.114031-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|MW3PR20MB3465:EE_ X-MS-Office365-Filtering-Correlation-Id: 83675bb7-ab93-4bf7-d2ac-08dbe42a8b9a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rfwcs2EX3lL+1cVU31ZRLf+cMQ8qQFGUrIQfu37V4wyEbcvjt/1GyIJgzA4xiKjlvRZ7RPuqovZqc9UB4GgI3H0uqPIqviT70M+9XIsJ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9KjZEaDXN2UDbUvId9Dkh7WYmzjOsGaNE7BVFu/rAmHDMtsmS9fdEnbN9Zf+9hYQii8+VVyv6fkTE2zlaWuzMCSVl95chabHIFjzOImJ8Rvdeye7vv6MDxe1vtO2p1/f3hA1LrtpzEOQ2bur2A8nCZHwnkDPZPCQ2tFHWfz7pXKsY1n10pPuJrSzsDlg7W8rrwwppiSwiv0JCCtmfXUomAcR8bFDVdEvoZ+PgKL4YMj3AsK40rHi42T6Wb8KE5z3lSHitsMn9kO+yIvS48nGIRt4DPDrwLmfSwjSwlqMR9SReZ5ZFZ+N1Mfnbb0xjXm5xewPlTMBYOcplxqdzVth3hf9Wtttfs3p/eUfkjiq1eA8BoPaJ/vsPqcIMdNy5dIXj+Sy6t7LCXc4xxPGfJU854gcpngyjsq+poprII/vtuAYaX8OFW/fzhinH9wDx/96/NJjOY0gOcZGDi4lX6lRcLOr9OLzlchuAfiXopmyk8xhWedDavpSRE8pwlwh4uYzbpkq/5F8mL2LeftErsjBODrWSecPjFuPRi5SgsQRX4XgM4OPmwHtbkWOUpN4otzIdGd1zaLgs0mPXuf8/sPAtuC3Q17BzWr1FnHy4bjiGeXF7wozq8GbV+FqC7J9OJn5/W17TjHd6VBCPLWEHwoG6gGXweF8tzdQ699aXt2W0O9hejAwtAsoP75KcO0neX5mpB2TrPnnEAZLdFwEVeXV5KbkpapbJqCBst5FeNSgKAIII8ZIiRTTQzli42wRqdwO23+aGUAgs= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83675bb7-ab93-4bf7-d2ac-08dbe42a8b9a X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2023 09:25:58.7669 (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: MW3PR20MB3465 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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: <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 (snail.vger.email [0.0.0.0]); Mon, 13 Nov 2023 01:26:13 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782440373066937985 X-GMAIL-MSGID: 1782440373066937985 |
Series |
riscv: dts: sophgo: remove address-cells from CV1800B intc node
|
|
Commit Message
Inochi Amaoto
Nov. 13, 2023, 9:26 a.m. UTC
A recent submission from Rob has added additionalProperties: false
to the interrupt-controller child node of RISC-V cpus. But CV1800B does
not follow this change and still uses #address-cells in its interrupt
controller. As it has no child nodes, #address-cells is not needed and
can be removed.
Fixes: c3dffa879cca ("riscv: dts: sophgo: add initial CV1800B SoC device tree")
Link: https://patchwork.kernel.org/project/linux-riscv/patch/20230915201946.4184468-1-robh@kernel.org/
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
---
arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 1 -
1 file changed, 1 deletion(-)
--
2.42.1
Comments
On Mon, Nov 13, 2023 at 05:26:15PM +0800, Inochi Amaoto wrote: > A recent submission from Rob has added additionalProperties: false > to the interrupt-controller child node of RISC-V cpus. But CV1800B does > not follow this change and still uses #address-cells in its interrupt > controller. As it has no child nodes, #address-cells is not needed and > can be removed. > > Fixes: c3dffa879cca ("riscv: dts: sophgo: add initial CV1800B SoC device tree") > Link: https://patchwork.kernel.org/project/linux-riscv/patch/20230915201946.4184468-1-robh@kernel.org/ This is a dupe of a patch I already applied, but have not yet sent a PR for: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=b99df62818919b84e970eea5aec60b0dbc57da18 Cheers, Conor. > > Signed-off-by: Inochi Amaoto <inochiama@outlook.com> > --- > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > index df40e87ee063..aec6401a467b 100644 > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > @@ -34,7 +34,6 @@ cpu0: cpu@0 { > cpu0_intc: interrupt-controller { > compatible = "riscv,cpu-intc"; > interrupt-controller; > - #address-cells = <0>; > #interrupt-cells = <1>; > }; > }; > -- > 2.42.1 >
>On Mon, Nov 13, 2023 at 05:26:15PM +0800, Inochi Amaoto wrote: >> A recent submission from Rob has added additionalProperties: false >> to the interrupt-controller child node of RISC-V cpus. But CV1800B does >> not follow this change and still uses #address-cells in its interrupt >> controller. As it has no child nodes, #address-cells is not needed and >> can be removed. >> >> Fixes: c3dffa879cca ("riscv: dts: sophgo: add initial CV1800B SoC device tree") >> Link: https://patchwork.kernel.org/project/linux-riscv/patch/20230915201946.4184468-1-robh@kernel.org/ > >This is a dupe of a patch I already applied, but have not yet sent a PR OK, I will try to check the tree next time. >for: >https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=b99df62818919b84e970eea5aec60b0dbc57da18 > Thanks. >Cheers, >Conor. > >> >> Signed-off-by: Inochi Amaoto <inochiama@outlook.com> >> --- >> arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi >> index df40e87ee063..aec6401a467b 100644 >> --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi >> +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi >> @@ -34,7 +34,6 @@ cpu0: cpu@0 { >> cpu0_intc: interrupt-controller { >> compatible = "riscv,cpu-intc"; >> interrupt-controller; >> - #address-cells = <0>; >> #interrupt-cells = <1>; >> }; >> }; >> -- >> 2.42.1 >> >
diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index df40e87ee063..aec6401a467b 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -34,7 +34,6 @@ cpu0: cpu@0 { cpu0_intc: interrupt-controller { compatible = "riscv,cpu-intc"; interrupt-controller; - #address-cells = <0>; #interrupt-cells = <1>; }; };