Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22563487rwd; Fri, 30 Jun 2023 09:30:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oFkmFkpthu5WPnzGn8MGFok79UIN9tfstkqIkOUxMcJerweiew/zBKofvlLAXPZB9wE7h X-Received: by 2002:a05:6a00:816:b0:66e:aad9:d9ab with SMTP id m22-20020a056a00081600b0066eaad9d9abmr12054399pfk.3.1688142634443; Fri, 30 Jun 2023 09:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688142634; cv=none; d=google.com; s=arc-20160816; b=eB99f4ulmeYjtPjP9myByPzDrovxxOxAN40HBqrQznD2eazN61BW7Sqw1WnEFFkmkJ UJgilIN6oPRdayOjkV5g9kxeKpoDLugmYfaMiQCOUAqRBjxtGh4YqY+RYZ79tJdXjE7L GYlUWYldeuv9lYzU1dvJDt98B4eDhihew14AAFl0lfK46w97gDtGiqpH2RHAZ3jE1cH2 8lNeB0qc3YdLK6ibKgsynGEs0AA6DjmWSAitSIHvVQ1okXDXgg/2tkdZ4+jjGtw3pNR+ mRooQZ5AhIMFa201ACrENsE1C+LXCdhKUrwYhm67GYbRS7DIA/2AtT1NY16cOc/MqNcu NtLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=DYDUqZ5q1Q+sph6vsN5QJLQHBW12OVdZvTZa4RwFxxw=; fh=QZ31MAuYvdViFN4n87u15BzNPxqZUYE9GgrW96mDRQ0=; b=ukelpZpBQUoZon2PIJWFDnQbJkt0cS2NSqXr2Nui8/qnlssZqMOLrwamBZZqn51PzB Xo7pp6XbEmETinXWQkclkKYduZbC/wjeDLv+1L2B5DyIVpY6Tjvx5K5PELKAhpkqFw9T 64+CgOkow3OljwXZh8VOMJhDL/M3ZNsb0vdxdXjUsneU47pcLxPz2hFw8If+fYHek3L5 NrYz1iZtVJys2zaACjGbmVM2VLpAUO5+BUGD8x/Dvn6AonBXp4QC8BKzQu4HnLYSicd2 8gWVJ8M1jevfqY7qGKs3payq86wuoQwA1J1kmf+9Oi/PDqzELp7TX45iWULevjqk8vnu ry+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=pkn05C5Y; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22-20020a056a00139600b0064f7150b45bsi12841125pfg.352.2023.06.30.09.30.20; Fri, 30 Jun 2023 09:30:34 -0700 (PDT) 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=@sberdevices.ru header.s=mail header.b=pkn05C5Y; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232449AbjF3QYC (ORCPT + 99 others); Fri, 30 Jun 2023 12:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbjF3QYB (ORCPT ); Fri, 30 Jun 2023 12:24:01 -0400 X-Greylist: delayed 443 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 30 Jun 2023 09:23:59 PDT Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341C9E49; Fri, 30 Jun 2023 09:23:59 -0700 (PDT) Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 5DF9D100002; Fri, 30 Jun 2023 19:16:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 5DF9D100002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1688141794; bh=DYDUqZ5q1Q+sph6vsN5QJLQHBW12OVdZvTZa4RwFxxw=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From; b=pkn05C5Ytqa2b3cXCsR7wj5mahZr8wJnb942hV1b9vPD+uSJK3h7s+kSSgmKgZft/ 4CHHvwGsW4sacX2udyfF+Ob9tu0gUGs4GXh6d6+3nekQ7C9OrS71U8Y1cDpXbRSGG9 eLc1oz6rn9ympSoRSHka1EmYqo2ezvcZG7NnjazTj4EwVJPpdHow7NsmZ1uBdzHI0Y bNL2rdviD3DCcXoet/xkxdVk8itMxz7v9Egd6HuBhHx8mN/Fme9aQb+6A0HEmbkhSI 0cWZNFZcbbWIFYCjFidzG5gku3QkLoQFl0GZaRv/P6ypEQ6oN9FOiJBo+kV38EMzhA 2oshPxRDFjV3Q== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 30 Jun 2023 19:16:34 +0300 (MSK) Received: from localhost (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 30 Jun 2023 19:16:20 +0300 Date: Fri, 30 Jun 2023 19:16:33 +0300 From: Dmitry Rokosov To: zelong dong CC: , , , Rob Herring , , , , , , , Subject: Re: [PATCH 3/3] arm64: dts: meson: add reset controller for Meson-C3 SoC Message-ID: <20230630161633.eym2dhxaffn2uxfv@CAB-WSD-L081021> References: <20230630121059.28748-1-zelong.dong@amlogic.com> <20230630121059.28748-4-zelong.dong@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230630121059.28748-4-zelong.dong@amlogic.com> User-Agent: NeoMutt/20220415 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 178380 [Jun 30 2023] X-KSMG-AntiSpam-Version: 5.9.59.0 X-KSMG-AntiSpam-Envelope-From: DDRokosov@sberdevices.ru X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 517 517 b0056c19d8e10afbb16cb7aad7258dedb0179a79, {Tracking_uf_ne_domains}, {Track_E25351}, {Tracking_from_domain_doesnt_match_to}, lists.infradead.org:7.1.1;lore.kernel.org:7.1.1;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;sberdevices.ru:7.1.1,5.0.1;127.0.0.199:7.1.2;100.64.160.123:7.1.2, FromAlignment: s, {Tracking_white_helo}, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean, bases: 2023/06/30 15:49:00 X-KSMG-LinksScanning: Clean, bases: 2023/06/30 15:49:00 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/06/30 12:24:00 #21606311 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hello Zelong, Thanks a lot for the patch, please find my comments below. On Fri, Jun 30, 2023 at 08:10:59PM +0800, zelong dong wrote: > From: Zelong Dong > > Add the reset controller device of Meson-C3 SoC family > > Signed-off-by: Zelong Dong > --- > arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > index 60ad4f3eef9d..62684b7a684c 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > @@ -6,6 +6,7 @@ > #include > #include > #include > +#include > > / { > cpus { > @@ -82,6 +83,12 @@ uart_b: serial@7a000 { > clock-names = "xtal", "pclk", "baud"; > }; > > + reset: reset-controller@0x2000 { > + compatible = "amlogic,meson-c3-reset"; > + reg = <0x0 0x2000 0x0 0x98>; > + #reset-cells = <1>; > + }; > + As Martin mentioned in the my review, internal apb entries should be sorted by base reg offset. So reset-controller must be located before uart_b. Please refer to: https://lore.kernel.org/linux-amlogic/CAFBinCAO14zcgY66UyJO9UxuCWf1N-Lsx=iYNTJL=cwXoJv__Q@mail.gmail.com/ > }; > }; > }; > -- > 2.35.1 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic -- Thank you, Dmitry