From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE933E80A95 for ; Wed, 27 Sep 2023 06:08:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjI0GI0 (ORCPT ); Wed, 27 Sep 2023 02:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjI0GIY (ORCPT ); Wed, 27 Sep 2023 02:08:24 -0400 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 794F6B3; Tue, 26 Sep 2023 23:08:22 -0700 (PDT) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4053c6f1087so95274995e9.0; Tue, 26 Sep 2023 23:08:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695794901; x=1696399701; 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=bH2ZBDFihZ5G3MXi10qtfUOqTCbjZERCfSpFkYReq6E=; b=SQiJUa/9lniZJpmO4Uwy6D7+SE80BkgbOzk/4EwZbUSyvJ8882zoQAaRjaaC2C1KK4 iiRaV+xdiJ9QlENATPIwwRQfS2J64HyOZal/4+rH4viaNqlKe4R5+/DjPJn1jPlo3une QyNa7aRZkLPwPLhuQ8acJanIfCFNKGFatqDvEhwvJtBq80Hb2pbjWXAM90T85k7UcDSu hcsewn0//bVUIOUQIkEtPgvY6YW1es4CjgvuiLhBDc2DFgnrqd2VG/kodaC+s6kILmbI JtDnHiLApBZXALXrA291elddnwDXDqLAjmyLBOS7FPlJ4Gh+WEgT0Zbae0xw+QC/dunj Nl/w== X-Gm-Message-State: AOJu0YyAqttVwanmm9kZukN8ZII3KPQfFnayQJloAXPchlsbcGQeMQWD r6J5X36ETsyjiAY3p4UW9UM= X-Google-Smtp-Source: AGHT+IEGCnSX2ywr0S6FC1D6CnGJQJEwSb0KUpp+zJof+5WezKUECmQWZoWWn5U2hNhP3cz+xHVOrA== X-Received: by 2002:a05:600c:2149:b0:3fb:b3aa:1c8a with SMTP id v9-20020a05600c214900b003fbb3aa1c8amr1027557wml.16.1695794900576; Tue, 26 Sep 2023 23:08:20 -0700 (PDT) Received: from [192.168.86.246] (cpc87451-finc19-2-0-cust61.4-2.cable.virginm.net. [82.11.51.62]) by smtp.gmail.com with ESMTPSA id s9-20020a05600c45c900b0040550c20cbcsm12015055wmo.24.2023.09.26.23.08.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 23:08:20 -0700 (PDT) Message-ID: Date: Wed, 27 Sep 2023 07:08:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 3/3] arm64: dts: Add pinctrl node for Amlogic T7 SoCs Content-Language: en-US To: Huqiang Qin , linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, brgl@bgdev.pl, andy@kernel.org Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230922094342.637251-1-huqiang.qin@amlogic.com> <20230922094342.637251-4-huqiang.qin@amlogic.com> From: Lucas Tanure In-Reply-To: <20230922094342.637251-4-huqiang.qin@amlogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-09-2023 10:43, Huqiang Qin wrote: > Add pinctrl device. > > Signed-off-by: Huqiang Qin > Reviewed-by: Neil Armstrong > --- > > V1 -> V2: Unchanged. > V2 -> V3: Unchanged. > > arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > index dae3465bd39b..a03c7667d2b6 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > @@ -155,6 +155,22 @@ watchdog@2100 { > clocks = <&xtal>; > }; > > + periphs_pinctrl: pinctrl@4000 { > + compatible = "amlogic,t7-periphs-pinctrl"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + gpio: bank@4000 { > + reg = <0x0 0x4000 0x0 0x0064>, > + <0x0 0x40c0 0x0 0x0220>; > + reg-names = "mux", "gpio"; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-ranges = <&periphs_pinctrl 0 0 157>; > + }; > + }; > + > uart_a: serial@78000 { > compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; > reg = <0x0 0x78000 0x0 0x18>; Tested-by: Lucas Tanure