Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10033818rwp; Thu, 20 Jul 2023 13:34:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGJrJR1NBppWTDCyNYQ4NyCBHdLhCKEam948KNrGmkE5wvNXZbb5ZUWcdSZSKvSBvzp6x2Z X-Received: by 2002:a17:90b:ec8:b0:262:f449:4497 with SMTP id gz8-20020a17090b0ec800b00262f4494497mr584471pjb.2.1689885291223; Thu, 20 Jul 2023 13:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689885291; cv=none; d=google.com; s=arc-20160816; b=fMYI1O9N4bK07Y769h3QnWDvKSoj0vOqE+Z5wbECvvBZbXny7odr4a7hiq1qwreYaA domnAFS4uGuMTijOPgE7hEP9IHTwR+CeEREj1eFawqqZeQKVcX8A6LKsGtUHgXwuhjOe tn/1kxxLwipmfbuPu2f9TnH+XCR8zhGYkRPNTnAyzwfTHsVukE7U8eFLV2Y+mgG8ffF4 6efBogOeQRFgoplhfEiNATj3jiWUSc2MiuZSHAJQK1VlMcHg+cx7GxeuCae2waShcRiG 1Fiw1e+F6xU3cpHf3MQBKfygqjkn+dHQmZCyzWsE0KzFS3Us9IhLQg1ISnqzeAMwpwoq /6sg== 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=hwv5R9tYPXRms0RpX3wMPQwLn2Ci1haaAr1vtmjtPrw=; fh=ukhC9YUnuPSPPU28ZdetUW8aZqXkZsSOE0MNuacEZRQ=; b=0QmyhYJkytTJ3AW0vNQzvPLyWcjzs9XpQuPWez2IFM72ogFILMtL8HdhYLHSaHWU4S KfhhCcue4h7MzHFhU1Y/4iiE0scvY2bFbvA8br2eJwjL97tRwP6WS0Tx8D543m4vBQ9H lXeZC9864fBj5q2QWwOvyYS0BnavCOHqXEC843yvuWYQMual/c9BqR2kVrbeypA3Mf3b xZyk9iLvOXWDHWAk9RXHxRLg66zmwYqOBv6XVfHq044f6jeWyiz/7Q0YfMxyp5euQpNI fJV97keJm4jcDbCZJ6zgwMbBgyilTdDj+qALmN9j4jqrMz0n7R6fPlkGsd0PIUq78s7j zmiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=VVTO+xo2; 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 ng16-20020a17090b1a9000b002613720fcd5si4565280pjb.35.2023.07.20.13.34.38; Thu, 20 Jul 2023 13:34:51 -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=VVTO+xo2; 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 S231218AbjGTTsJ (ORCPT + 99 others); Thu, 20 Jul 2023 15:48:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbjGTTsF (ORCPT ); Thu, 20 Jul 2023 15:48:05 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED7F72128; Thu, 20 Jul 2023 12:48:01 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 4F5CF120002; Thu, 20 Jul 2023 22:48:00 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 4F5CF120002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1689882480; bh=hwv5R9tYPXRms0RpX3wMPQwLn2Ci1haaAr1vtmjtPrw=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From; b=VVTO+xo2+9DJuiYvXC4CpOUhP+/FtLhq8CrYdDnrlUZTxLAqbQQrjwZ08RJ0HzN28 4cs8OnUjcCP8akbdXWL5zb4Vbz/0o+08obcKurnSGCZ9kjSbamEoKWATzJkxGV347b 7Al8tZhQlTKioU8pkM/UQKdfIzj/Dj7aBVRJdmXuAaMM/PmPtz8R2Sz20jclwNxTwI MkckzcIyNBAhCc7mUySnoNEAV/Agq8zzUj/GwJS+mek0tBr2ykZobby1JWNrtqBDrx ww+uBkjFJxeIX7UoCE4oluhLF4fob+u5Wo89rN9MCW4GDkK58CQHqU9OKDSAAeMwwd 7Nvl9E/VyK8XA== 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; Thu, 20 Jul 2023 22:47:59 +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; Thu, 20 Jul 2023 22:47:59 +0300 Date: Thu, 20 Jul 2023 22:47:59 +0300 From: Dmitry Rokosov To: Huqiang Qin CC: , , , , , , , , , , Subject: Re: [PATCH V2] arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs Message-ID: <20230720194759.es53r5d5w657j6ce@CAB-WSD-L081021> References: <20230720114639.833436-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230720114639.833436-1-huqiang.qin@amlogic.com> User-Agent: NeoMutt/20220415 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) 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: 178762 [Jul 20 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: 525 525 723604743bfbdb7e16728748c3fa45e9eba05f7d, {Tracking_uf_ne_domains}, {Track_E25351}, {Tracking_from_domain_doesnt_match_to}, lists.infradead.org:7.1.1;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.1;sberdevices.ru:7.1.1,5.0.1;100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199: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/07/20 15:23:00 X-KSMG-LinksScanning: Clean, bases: 2023/07/20 13:57:00 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/07/20 13:53:00 #21647430 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 20, 2023 at 07:46:39PM +0800, Huqiang Qin wrote: > Add gpio interrupt controller device and pinctrl device. > > Signed-off-by: Huqiang Qin Reviewed-by: Dmitry Rokosov > --- > > V1 -> V2: Nodes are sorted by address offset. > > arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 26 +++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > index 60ad4f3eef9d..5a3725f6cf3d 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > @@ -72,6 +72,32 @@ apb4: bus@fe000000 { > #size-cells = <2>; > ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; > > + periphs_pinctrl: pinctrl@4000 { > + compatible = "amlogic,c3-periphs-pinctrl"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + gpio: bank@4000 { > + reg = <0x0 0x4000 0x0 0x004c>, > + <0x0 0x4100 0x0 0x01de>; > + reg-names = "mux", "gpio"; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-ranges = <&periphs_pinctrl 0 0 55>; > + }; > + }; > + > + gpio_intc: interrupt-controller@4080 { > + compatible = "amlogic,meson-gpio-intc", > + "amlogic,c3-gpio-intc"; > + reg = <0x0 0x4080 0x0 0x0020>; > + interrupt-controller; > + #interrupt-cells = <2>; > + amlogic,channel-interrupts = > + <10 11 12 13 14 15 16 17 18 19 20 21>; > + }; > + > uart_b: serial@7a000 { > compatible = "amlogic,meson-s4-uart", > "amlogic,meson-ao-uart"; > -- > 2.37.1 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic -- Thank you, Dmitry