Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5183711rwb; Mon, 21 Nov 2022 18:14:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4UfzjYKyaZpF2LNl38pup2Wd99VZr8OYjazT7krAnjEJuCGPCQ7AXt3VrWKWErJ7mJNrYq X-Received: by 2002:aa7:87cd:0:b0:572:c28a:64cd with SMTP id i13-20020aa787cd000000b00572c28a64cdmr2595385pfo.68.1669083264239; Mon, 21 Nov 2022 18:14:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669083264; cv=none; d=google.com; s=arc-20160816; b=lk4zVKd/uQYpfuLwo1vWg74voXErHUjGYYsZTzOCFvsydGC7JRDuJXQwAWzMfPttXr gxQ+/J8kzZAiLY0vYxUil8ahQpESdqf2oxjoc5F0ye9Vd2tzdJFwXZWsJZwcUCzANPFe +6EbWhSfNsORw8svH1BgVVyWDnQNBwfdCG0xixVbprFUKERJAh3BSYtgeGCg/BNioccM nFiyLsUMwCD0OHSsKgFuSXriEMu7lorOFkaTiUUuqAoKvQKqQ8AwJcWvxXAC3tX+UmC+ MBgITXBNF1sv9Mqiik9Sa2gMGAiyTsqZPCtbwtNVjVGLhwWKMlyRrGP1/gNflDIOqYXE wa1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=bRCg0bVgpyGEsuK+SnbR3uK61P/Srmh6MpzdWvnE5GE=; b=Ld1icEFXco9I18Z1Xh4tkShImnczGatxwAxhdWDb3PI9ELllsTMdHizfr3P819KCtg sODm01JQku0JiBsdGKo2YSo4WNGuhtlf2brXl68E9gLfiGa0Rm3ENbqkSeNzlWhXv6Ok r/6Re0MjQoHcM+y9X+wybohi5FMmbyQEz81wnkdXY+MjM/hapYD+/OKBfetl7UrwC+il TmC+cxgTb6sFOFTTwQukP4i6VCLf+gL0jlJ13exCxOLtmsi6eayR7ari12JkGJKdGAev JMhpgrda3N+dMvsDv7xKnPQx6N8adry/9X/J1MA0+37HBDSSMBWJLFLrBP+YftRFgILh BoNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902eb9100b0017a0f71990dsi12637185plg.141.2022.11.21.18.14.11; Mon, 21 Nov 2022 18:14:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232032AbiKVB1C (ORCPT + 91 others); Mon, 21 Nov 2022 20:27:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbiKVB05 (ORCPT ); Mon, 21 Nov 2022 20:26:57 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 249C4DEAF6; Mon, 21 Nov 2022 17:26:55 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 9ECF524E09F; Tue, 22 Nov 2022 09:26:48 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 22 Nov 2022 09:26:48 +0800 Received: from [192.168.125.106] (113.72.144.23) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 22 Nov 2022 09:26:49 +0800 Message-ID: <37d5a252-6540-7ba1-41f0-f68cb1c817d1@starfivetech.com> Date: Tue, 22 Nov 2022 09:26:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v2 08/14] dt-bindings: reset: Add StarFive JH7110 system and always-on reset definitions Content-Language: en-US To: Krzysztof Kozlowski , , , CC: Conor Dooley , Palmer Dabbelt , "Rob Herring" , Krzysztof Kozlowski , Stephen Boyd , "Michael Turquette" , Philipp Zabel , Emil Renner Berthing , References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-9-hal.feng@starfivetech.com> From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.144.23] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Nov 2022 09:50:13 +0100, Krzysztof Kozlowski wrote: > On 18/11/2022 02:06, Hal Feng wrote: > > From: Emil Renner Berthing > > > > Add resets for the StarFive JH7110 system (SYS) and always-on (AON) > > reset controller. > > > > Signed-off-by: Emil Renner Berthing > > Signed-off-by: Hal Feng > > --- > > MAINTAINERS | 5 +- > > include/dt-bindings/reset/starfive-jh7110.h | 154 ++++++++++++++++++++ > > 2 files changed, 157 insertions(+), 2 deletions(-) > > create mode 100644 include/dt-bindings/reset/starfive-jh7110.h > > > > Thank you for your patch. There is something to discuss/improve. > > > +#define JH7110_SYSRST_TIMER0 118 > > +#define JH7110_SYSRST_TIMER1 119 > > +#define JH7110_SYSRST_TIMER2 120 > > +#define JH7110_SYSRST_TIMER3 121 > > +#define JH7110_SYSRST_INT_CTRL_APB 122 > > +#define JH7110_SYSRST_TEMP_APB 123 > > +#define JH7110_SYSRST_TEMP_CORE 124 > > +#define JH7110_SYSRST_JTAG_CERTIFICATION 125 > > + > > +#define JH7110_SYSRST_END 126 > > Drop weird indentation in the middle of syntax. Will fix it. > > > + > > +/* AONCRG resets */ > > +#define JH7110_AONRST_GMAC0_AXI 0 > > +#define JH7110_AONRST_GMAC0_AHB 1 > > +#define JH7110_AONRST_AON_IOMUX 2 > > +#define JH7110_AONRST_PMU_APB 3 > > +#define JH7110_AONRST_PMU_WKUP 4 > > +#define JH7110_AONRST_RTC_APB 5 > > +#define JH7110_AONRST_RTC_CAL 6 > > +#define JH7110_AONRST_RTC_32K 7 > > + > > +#define JH7110_AONRST_END 8 > > Ditto Will fix it. Thanks. Best regards, Hal