Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3922605rwb; Mon, 21 Nov 2022 01:06:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7i8PjsRfnUkruS823qSZnEg88PUgb2rB6u0ZAfneo581ILv/SB6zKBeVkEWfYucCTKm9b9 X-Received: by 2002:a63:e44b:0:b0:476:f69c:2304 with SMTP id i11-20020a63e44b000000b00476f69c2304mr17498054pgk.77.1669021595087; Mon, 21 Nov 2022 01:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669021595; cv=none; d=google.com; s=arc-20160816; b=GgtQ/edAQfNNIZ00g7EO6kLB+Dd2PloQQGjgXUc0nKNQnhBsJq/afmRhdbeTV0JbcK UzH5Z0ED0g34dvj7mi8X7dCSwBHttvBbf6iHKyOL14opGLnJA5CDpdpUp28uFoMPDpAI F5Zms/yYbxY/ZMexnmcMpZWNmCxEv+dexbs3ArpBCEUHKNHXB+6/+2wjgmLrC7qq2zhR DDlXMlbm+C6KuyMoyfKLBk0T0JXNboIEFUf5ljmszAK9NqqhcW/UyGl+eYnMMuivJmpO JIRi/Y+a/bXkIpGhQIvKXCxWsVSP4BQBXMzqPHV/kr0ULv74wmAu7eqTgim+7rEgG3JZ 4ALA== 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:dkim-signature; bh=k+tVJyc1L1GHiwD6JNInxUbkk05ZPiRwgmjlT/SkiMs=; b=aNmWilXeT0buIR8Vw9ycwiRo4i95PLOSE7pIN6s8SqC4mrXcCEqyFD7f2r71/cGNeR +4GXCywq5o1ZUYvWY+KHJVvaS+5tbEGhd/9rsBgBYlkojJIomcwav+s72CJP01cXx+9/ zYcbu/VCMVjsx4zU92iR0QtOnICCq1e6sPB2Tr6wxvsh0GgdIxAn2RzyhU3/5a+B06GV U/zpQfU8C61kEEzj2cH6wWOp9TgAYgkg250dK2sGOW0+1mVWzYFw1sRrGKl7pXiBRYOG i2oJ9eGQvsUqaVVq61iDRWvDbiHHziGLNYfT3sM6vCvriNCENgenGiAgigk3nm20VDUN 5b/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gKGZQu2y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ip11-20020a17090b314b00b0020a97a92a2fsi11968812pjb.135.2022.11.21.01.06.23; Mon, 21 Nov 2022 01:06:35 -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; dkim=pass header.i=@linaro.org header.s=google header.b=gKGZQu2y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbiKUIuU (ORCPT + 92 others); Mon, 21 Nov 2022 03:50:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229883AbiKUIuS (ORCPT ); Mon, 21 Nov 2022 03:50:18 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEBD57FC0D for ; Mon, 21 Nov 2022 00:50:16 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id r12so17823894lfp.1 for ; Mon, 21 Nov 2022 00:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=k+tVJyc1L1GHiwD6JNInxUbkk05ZPiRwgmjlT/SkiMs=; b=gKGZQu2y6mg/8WHMd//eEFJILPyHxaZ2cRHFgJz6kT2msFXq4g2wX2d5YF0ssbr04d osoEN8dmIBl6od9V5UdHJ7xLiSrp6LaCgK7PJ4PdVE+LpsS6xGH+qKqCmAReatUGB2xT TfYShpuRvqqcDkvcAqtb48/MwpxEBuMIayo9h3rZZtWzTkphZXXdamjP2uMyX0mkA5km 73yXC2w83xl092duhGELypFZOFwzlbizkXg0wfoP+7loHzvaWAwRyGqyRyRDdcJ8EHzE 4qGy5vorawf6vIHOjsgvCcq7SzOEfzU9nMU11efa8d3B7ek0SNarfpAoLzA8w7Bl3wV1 8pYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k+tVJyc1L1GHiwD6JNInxUbkk05ZPiRwgmjlT/SkiMs=; b=BlslbqWKldrSgMXGkuPxtkTGUMblysGOhPQEsxFUCjngeI3nXzEg80YplZvBLTaN9f QTPqjouSqTB0vm+QY1zxP4A+6bZKmGSnRu7SWcG/EY3wckMbCww6kf4z6IbN8fgWlJpq hbKolH4d/O+ZRXMadOm7XJuCy36JXYcbe9RaPWMyfxXF+gjAXzJb3kcnbZPUbiwJYPbF Xxj/TkBKC/6gUTUQeuPDHg7SFBafEmAHsJrX0abC+/n9H6pgUGLttg101+Tz4oGK86kn 19EZzA9/8+Nq0dWhUyUxOvW6LY4GHp/j319+W8fjAR6xmICluLY1PlPeWXLbHChm74oS YhGg== X-Gm-Message-State: ANoB5pkZLwao4qtUyGx7tU/uGiPBxTUjKEdNW3hzEMn7x389QTShWp9w CGrcnloN4NEEbF/pt7a5DTBzqg== X-Received: by 2002:a19:4f02:0:b0:4a2:1d18:45d8 with SMTP id d2-20020a194f02000000b004a21d1845d8mr5383607lfb.330.1669020615158; Mon, 21 Nov 2022 00:50:15 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d14-20020a056512368e00b00494706193adsm1949906lfs.208.2022.11.21.00.50.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 00:50:14 -0800 (PST) Message-ID: Date: Mon, 21 Nov 2022 09:50:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 08/14] dt-bindings: reset: Add StarFive JH7110 system and always-on reset definitions Content-Language: en-US To: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Michael Turquette , Philipp Zabel , Emil Renner Berthing , linux-kernel@vger.kernel.org References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-9-hal.feng@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20221118010627.70576-9-hal.feng@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > + > +/* 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 > + > +#endif /* __DT_BINDINGS_RESET_STARFIVE_JH7110_H__ */ Best regards, Krzysztof