Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp163330rdf; Mon, 20 Nov 2023 21:25:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8h4PnB64qQ6emIJ4oKBQQ5CjTyB+Q5iLVpqmN7IpPxBuFNmladTH9gXAnF2cCOWQ8AGbN X-Received: by 2002:a17:902:e543:b0:1ce:c27:665b with SMTP id n3-20020a170902e54300b001ce0c27665bmr8751080plf.47.1700544303006; Mon, 20 Nov 2023 21:25:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700544302; cv=pass; d=google.com; s=arc-20160816; b=nxjxY/Bcs/NuQE0DBIdhO/t12n710Hh4J71vMiMxJF9QeZrkZkVK8wpgGaSFrH5hVK ysBmwfpOrJE5DZNN/FULqMULKhZBJgQLua6eec/1ttQQxNdC3hL95GN9zyYKyHrFF3Hh B4Ol3TEu1wNQaD3n2CGHShvkSfY5j5aQVUV832dCkHoNeDoPjA5+sIxM0ixK0Gg7k3bq QVtQjYiJKpDeOT0WRoJtxuAX7KMf4PKVDk2KXLeBLry8LHlqlYDkVbR1PHDcE56JnAO0 RIzZPt+sutC/sfEKZaLclSqbsO6sEBGwxIpA4NLTAeUW3HFUoEd4KjRas8rL+cspxi94 5TSA== 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=xb6IfHB18/0TQjWknL4Vp9aEMsi+NKpkMvIcgEzHEoE=; fh=9x/wyA+tp47hLrDnloFTq8GIFe2q8LMbi09S3UbYQfQ=; b=F06nMUiDxUHwabknALBb8R2gcGGeoKvlf5heMvrRP1WByTjBP7qjmCFYTsqgj7RpNM zTg/M0jaX0SPp+Vov6wNuV0ya9M4rRoiApdlezKT6/xbG2CFq+vh2OCJvJrYu8z5ymNJ 1EZFtPFR/8IgPD0DOEbQici4w2ughvYkZ/g+Qoybu4ggJW0q+nkwqb5SDmxyrSfYPLF7 F2sWIZL/grYFKCj0rBWingX5Ib+9XaRIil6eEufYS/Ph9NRpHTP+JldAbtooqxrDmWUC ZDZwv/UW8CmZTgWG8tFo+Dsd692dRyNCm+BOaK47+4qhlPW5s1H2bYGO5xnN7xU0HsSS Nlog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=fn5dq86g; 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 f21-20020a170902e99500b001c9dfd47959si9236672plb.602.2023.11.20.21.25.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 21:25:02 -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=fn5dq86g; 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 6246F803E792; Mon, 20 Nov 2023 21:24:16 -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 S233313AbjKUFYK (ORCPT + 99 others); Tue, 21 Nov 2023 00:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKUFYJ (ORCPT ); Tue, 21 Nov 2023 00:24:09 -0500 Received: from IND01-MAX-obe.outbound.protection.outlook.com (mail-maxind01olkn2104.outbound.protection.outlook.com [40.92.102.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE98CE8; Mon, 20 Nov 2023 21:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WSClK6lc4+ZyiQvhTiFhTnX/7Q8TSRLA8oqYi0krtMzPQb7qXoY+Z9ufegEg1AjJCzLaikxrBc8Y1Ht+qNeZRxc6sCxK88+8nRvBUQs+zwpyMcFYhkHKciP/4zjIDbbh4GvN5s5iqL6zjlT+xcmS7/ng/VnwTWx8vCItKMBkBqERRxliGxstpmfm4qfaxn8g6miRJV3q2VksQuYTv8JMF0WTQyWwtbgVSpC0SNpLGfDeDJPF49pzfOqMj+R41/unEAMMcwAml1vdgeErKkcr0mttGLZfbVXE5qJArJwsDAaps8ptsSj08pVNX7hbvyEwlnmBzCxzu1DPjUfc6Nh18A== 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=xb6IfHB18/0TQjWknL4Vp9aEMsi+NKpkMvIcgEzHEoE=; b=e75NvCMhhJkSgXdwEBkxUjGDGTRnbLLj/Dp/xvrBAbVcMbEe6mDpdWyAKkgfzvYY2xmYSXkfUff85IultuP4k3NK2/it8zxmuyUPsM6IDxzX5G6vfTJ9u8yJiQw9aPAPIi5OVLK2GHE4wZgUoUKm8j1LYsk9ysxhT9PA8ivr2shv+hSvhjZ7haqmrL1RzxmX3T98aIj++BbsCVsiNRW5k3Rodgvm5kSsexiJXHCjwKFqKitVIdZN8bJQKA3ublmuNBiQfBJrrmFk7SdbxTCN7gKW5mZS2cL+j8lI6XJ2oPFRBLyADg8RaF8ukC6+/zkHUVqWcN8UN3sF+ftDyth5Og== 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=xb6IfHB18/0TQjWknL4Vp9aEMsi+NKpkMvIcgEzHEoE=; b=fn5dq86g16/Hng2LzhsdxXmYNPAZC5Gw+Ulkx/iq9QzlhXS5kmi83FepHtriqJnJbGn67rPcH2S4GdRytbMpMZdcL44uld1/d/gQUelDSwqUr3Qex4/bB7qAD84CQioFP1M7u5FSY6cqY/q7PEQwkPtlMb82mRFz8HA7ihhIMoYGkXfaoDZriyJb2f8SqJ9xR3revUa1X6gw/Zz7kQ9GVfy4X2iMtxrcPoayVoqBo6OBzhYpHfKVmZL8BjfnL09sOAJWydVtTg2emz9rhWJTy5dKgsJhqp1Fg+EMlz4b5D4lEcDB6noxnXCpGfqRPv3doxmz1bPpRpxTmeSbQbKosw== Received: from PN3P287MB0324.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:d6::7) by MA0P287MB1708.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:fe::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.28; Tue, 21 Nov 2023 05:23:55 +0000 Received: from PN3P287MB0324.INDP287.PROD.OUTLOOK.COM ([fe80::5a24:3fd5:dd38:3ecd]) by PN3P287MB0324.INDP287.PROD.OUTLOOK.COM ([fe80::5a24:3fd5:dd38:3ecd%4]) with mapi id 15.20.7002.026; Tue, 21 Nov 2023 05:23:55 +0000 Message-ID: Date: Tue, 21 Nov 2023 13:23:53 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/2] riscv: dts: sophgo: separate sg2042 mtime and mtimecmp to fit aclint format To: Inochi Amaoto , Chao Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Xiaoguang Xing , Guo Ren Cc: Anup Patel , Samuel Holland , Jisheng Zhang , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Chen Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [PQWB9DaVwIWMLfRswRqUSmBcBVJ81czq] X-ClientProxiedBy: SG2PR04CA0213.apcprd04.prod.outlook.com (2603:1096:4:187::11) To PN3P287MB0324.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:d6::7) X-Microsoft-Original-Message-ID: <3b6ac5a9-ecc5-490b-879b-fab564557922@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PN3P287MB0324:EE_|MA0P287MB1708:EE_ X-MS-Office365-Filtering-Correlation-Id: 42b7283f-c936-4a55-fe81-08dbea520e4e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o/WBrUozWE1J0dLVXL1xTnYqKSYh2FIdipE8sQfXyQPEb2l90a++FRf0/kCgG6IWA1Hc66kVcM/wU4FDEGO8LgYOeZl7fLIGQ8FnA/L6InPfhrVlFVRjxTtCCiLEKI0KtnRhWyGlFmJyaEPsnXVRflSoABsX6HEwD6NCPe9e1J2SqCwYiQxeYzWooqq9ad6GQ4pZ7pEmRYXS5eYP28gWWJtTtL81WxjzysTIJeTozK6R0rgd7qxN+uN9PusJN7dRBqbsQqOJHrOFoEn7p0pTbiieUGcJ/0i8S8Dt71sjFXfcUiolm5W+jrMztZtRKFDaTSOwPHred90NnQ3AD6kMbBKFxLyqNiNsdwlFO0IruBUQBGRAl1lWBOoOk7FmpCO763qQqbw8Kb60V83QfQrdHCC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WmkrYTQzWDR4UDFRbTBybEF1eWJCK0VDWXg4dVdxaDVWR1ZE?= =?utf-8?Q?D0akhX1RFy+c7u12aqAswYB9vWTOf4yqcasvoK5LgyBE=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42b7283f-c936-4a55-fe81-08dbea520e4e X-MS-Exchange-CrossTenant-AuthSource: PN3P287MB0324.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2023 05:23:55.6377 (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: MA0P287MB1708 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_MSPIKE_H2,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]); Mon, 20 Nov 2023 21:24:16 -0800 (PST) On 2023/11/18 15:10, Inochi Amaoto wrote: > Change the timer layout in the dtb to fit the format that needed by > the SBI. > > Signed-off-by: Inochi Amaoto > Fixes: 967a94a92aaa ("riscv: dts: add initial Sophgo SG2042 SoC device tree") > --- > arch/riscv/boot/dts/sophgo/sg2042.dtsi | 80 +++++++++++++++----------- > 1 file changed, 48 insertions(+), 32 deletions(-) > > diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi > index 93256540d078..ead1cc35d88b 100644 > --- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi > +++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi > @@ -93,144 +93,160 @@ clint_mswi: interrupt-controller@7094000000 { > <&cpu63_intc 3>; > }; > > - clint_mtimer0: timer@70ac000000 { > + clint_mtimer0: timer@70ac004000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac000000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac004000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu0_intc 7>, > <&cpu1_intc 7>, > <&cpu2_intc 7>, > <&cpu3_intc 7>; > }; > > - clint_mtimer1: timer@70ac010000 { > + clint_mtimer1: timer@70ac014000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac010000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac014000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu4_intc 7>, > <&cpu5_intc 7>, > <&cpu6_intc 7>, > <&cpu7_intc 7>; > }; > > - clint_mtimer2: timer@70ac020000 { > + clint_mtimer2: timer@70ac024000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac020000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac024000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu8_intc 7>, > <&cpu9_intc 7>, > <&cpu10_intc 7>, > <&cpu11_intc 7>; > }; > > - clint_mtimer3: timer@70ac030000 { > + clint_mtimer3: timer@70ac034000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac030000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac034000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu12_intc 7>, > <&cpu13_intc 7>, > <&cpu14_intc 7>, > <&cpu15_intc 7>; > }; > > - clint_mtimer4: timer@70ac040000 { > + clint_mtimer4: timer@70ac044000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac040000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac044000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu16_intc 7>, > <&cpu17_intc 7>, > <&cpu18_intc 7>, > <&cpu19_intc 7>; > }; > > - clint_mtimer5: timer@70ac050000 { > + clint_mtimer5: timer@70ac054000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac050000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac054000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu20_intc 7>, > <&cpu21_intc 7>, > <&cpu22_intc 7>, > <&cpu23_intc 7>; > }; > > - clint_mtimer6: timer@70ac060000 { > + clint_mtimer6: timer@70ac064000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac060000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac064000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu24_intc 7>, > <&cpu25_intc 7>, > <&cpu26_intc 7>, > <&cpu27_intc 7>; > }; > > - clint_mtimer7: timer@70ac070000 { > + clint_mtimer7: timer@70ac074000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac070000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac074000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu28_intc 7>, > <&cpu29_intc 7>, > <&cpu30_intc 7>, > <&cpu31_intc 7>; > }; > > - clint_mtimer8: timer@70ac080000 { > + clint_mtimer8: timer@70ac084000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac080000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac084000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu32_intc 7>, > <&cpu33_intc 7>, > <&cpu34_intc 7>, > <&cpu35_intc 7>; > }; > > - clint_mtimer9: timer@70ac090000 { > + clint_mtimer9: timer@70ac094000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac090000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac094000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu36_intc 7>, > <&cpu37_intc 7>, > <&cpu38_intc 7>, > <&cpu39_intc 7>; > }; > > - clint_mtimer10: timer@70ac0a0000 { > + clint_mtimer10: timer@70ac0a4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0a0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0a4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu40_intc 7>, > <&cpu41_intc 7>, > <&cpu42_intc 7>, > <&cpu43_intc 7>; > }; > > - clint_mtimer11: timer@70ac0b0000 { > + clint_mtimer11: timer@70ac0b4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0b0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0b4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu44_intc 7>, > <&cpu45_intc 7>, > <&cpu46_intc 7>, > <&cpu47_intc 7>; > }; > > - clint_mtimer12: timer@70ac0c0000 { > + clint_mtimer12: timer@70ac0c4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0c0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0c4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu48_intc 7>, > <&cpu49_intc 7>, > <&cpu50_intc 7>, > <&cpu51_intc 7>; > }; > > - clint_mtimer13: timer@70ac0d0000 { > + clint_mtimer13: timer@70ac0d4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0d0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0d4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu52_intc 7>, > <&cpu53_intc 7>, > <&cpu54_intc 7>, > <&cpu55_intc 7>; > }; > > - clint_mtimer14: timer@70ac0e0000 { > + clint_mtimer14: timer@70ac0e4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0e0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0e4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu56_intc 7>, > <&cpu57_intc 7>, > <&cpu58_intc 7>, > <&cpu59_intc 7>; > }; > > - clint_mtimer15: timer@70ac0f0000 { > + clint_mtimer15: timer@70ac0f4000 { > compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; > - reg = <0x00000070 0xac0f0000 0x00000000 0x00007ff8>; > + reg = <0x00000070 0xac0f4000 0x00000000 0x0000c000>; > + reg-names = "mtimecmp"; > interrupts-extended = <&cpu60_intc 7>, > <&cpu61_intc 7>, > <&cpu62_intc 7>, Reviewed-by: Chen Wang > -- > 2.42.1 >