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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D443BC433F5 for ; Wed, 13 Apr 2022 17:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=15j+k4vB16kNtTpjnTE04dj6zw4MPf0B7LCxTJ5PA64=; b=iscI0+z40msL7E p76xlS/cFPFWUS65qNlWRko81UgzAo0FfEIjpLF6HRQOZhCD98dw2YVeXkruUeaST0B/OeAoAMIjF ZtVAxbAMzgO6AobtBGzw6cJiIGx5E/FbJCNJWuapphVvU0nM4iv/zeL7Nw+J3PMhJzD00hCsi8W9M h/lxtM7kDTPZfFNgmvApFc9COT8EL2PRZVaHY3atWmpPt5Y2ZyjNCkMwDo+u5LCgt3x99SXKKs0PQ gsumAhKS/sgGmfbi3eEGP48E0hUXRmvxD/4YTVYBX6hymM46vZelgEdu1qDZWVvzcAaw4FzQqvD5o 2NkPEITCxCCRcnphRxlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1negNv-001raQ-MX; Wed, 13 Apr 2022 17:02:27 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1negNj-001rVY-FT for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 17:02:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1649869335; x=1681405335; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=WLObBFJjHepucWp1gxGGS056KEnKSZ7vFw9X3LFEX+Y=; b=eJyv7ebuwi3w5QdFIDOvCXZc38/mwLBJ/HJXGyAdzyTb5nhqiihZxyFV xpApvRTAMQsCtmQr1LdZ+TGZLeIVCd4d4Mgn4jcRfJKGfhX7HORtOQM/E aShHL3hmwBFu9yUKc2Rst3i6GlDXWiBxrKDPSmo9aKDv7Q/Q2ja0esJsE St8zvKkMoosPA2rXjLEv0e6Yje3kEiT3fgO6ONEUFdR06J6tBtZG+tk8L oC/axaIbgdDKeD4OwsDQPrM8kVDj+i0bfZmPazDmfc0ILZrVLI9/+uZA2 rEt0MmdMK7u9ZuMlanavES4riTPl/v3NUVrY6gGH6CXLYlpKd98D0jvTe w==; X-IronPort-AV: E=Sophos;i="5.90,257,1643698800"; d="scan'208";a="155466311" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Apr 2022 10:02:14 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 13 Apr 2022 10:02:13 -0700 Received: from [10.12.72.146] (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Wed, 13 Apr 2022 10:02:12 -0700 Message-ID: Date: Wed, 13 Apr 2022 19:02:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 2/2] ARM: dts: at91: fix pinctrl phandles Content-Language: en-US To: Claudiu Beznea , , CC: , , , Ajay Kathat References: <20220331141323.194355-1-claudiu.beznea@microchip.com> <20220331141323.194355-2-claudiu.beznea@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: <20220331141323.194355-2-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_100215_629018_15C14AE9 X-CRM114-Status: GOOD ( 19.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 31/03/2022 at 16:13, Claudiu Beznea wrote: > Commit bf781869e5cf ("ARM: dts: at91: add pinctrl-{names, 0} for all > gpios") introduces pinctrl phandles for pins used by individual > controllers to avoid failures due to commit 2ab73c6d8323 ("gpio: > Support GPIO controllers without pin-ranges"). For SPI controllers > available on SAMA5D4 and SAMA5D3 some of the pins are defined in > SoC specific dtsi on behalf of pinctrl-0. Adding extra pinctrl phandles > on board specific dts also on behalf of pinctrl-0 overwrite the pinctrl-0 > phandle specified in SoC specific dtsi. Thus add the board specific > pinctrl to pinctrl-1. > > Fixes: bf781869e5cf ("ARM: dts: at91: add pinctrl-{names, 0} for all gpios") > Depends-on: e8042102d11e ("ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name") > Reported-by: Ajay Kathat > Co-developed-by: Ajay Kathat > Signed-off-by: Ajay Kathat > Tested-by: Ajay Kathat > Signed-off-by: Claudiu Beznea For the 2 patches: Acked-by: Nicolas Ferre > --- > > Hi, Nicolas, > > If all good with this patches please update the SHA1 on "Depends-on" > tag. Yes, sure. I did it on the "fixes" branch queued for 5.18. Thanks, best regards, Nicolas > arch/arm/boot/dts/at91-sama5d3_xplained.dts | 8 ++++---- > arch/arm/boot/dts/at91-sama5d4_xplained.dts | 4 ++-- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts > index d72c042f2850..a49c2966b41e 100644 > --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts > +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts > @@ -57,8 +57,8 @@ slot@0 { > }; > > spi0: spi@f0004000 { > - pinctrl-names = "default"; > - pinctrl-0 = <&pinctrl_spi0_cs>; > + pinctrl-names = "default", "cs"; > + pinctrl-1 = <&pinctrl_spi0_cs>; > cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>; > status = "okay"; > }; > @@ -171,8 +171,8 @@ slot@0 { > }; > > spi1: spi@f8008000 { > - pinctrl-names = "default"; > - pinctrl-0 = <&pinctrl_spi1_cs>; > + pinctrl-names = "default", "cs"; > + pinctrl-1 = <&pinctrl_spi1_cs>; > cs-gpios = <&pioC 25 0>; > status = "okay"; > }; > diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts > index accb92cfac44..e519d2747936 100644 > --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts > +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts > @@ -81,8 +81,8 @@ usart4: serial@fc010000 { > }; > > spi1: spi@fc018000 { > - pinctrl-names = "default"; > - pinctrl-0 = <&pinctrl_spi1_cs>; > + pinctrl-names = "default", "cs"; > + pinctrl-1 = <&pinctrl_spi1_cs>; > cs-gpios = <&pioB 21 0>; > status = "okay"; > }; -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel