From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82DC822259F; Mon, 20 Apr 2026 15:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776700713; cv=none; b=YVR/1xQRHThNs0HSeb5wiRJCMZ/71EY3bbO8CJGjtjBX9WVW07SkCSagMTa1k4iC8w/ttki1ohDcpLP2ppqmmbY90miTfY49jNM7IMfW4H10KeSM5dD2dLH/q9tghETse+xugEFVVy/XJxjcPKhU/NXZaIoj7E0RLGZbuo9VQCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776700713; c=relaxed/simple; bh=HpMwI8gwy+731i7fxPUA/dnFniqIsYQYgYhOLHGmLMI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SBmTYCaidD4zIz4pFWBAFaAobF44xsfB14sDGmiCnyXcBpzHtVpaomeRssmGd14n40N06jWK0xxEapHP4N8pAvaxMdAN6hnbTyOnsQp8CREwpdnEKCLxj5eeimTUps9yyt4gPxA4UDP5Smc0Z8w/d2gNotq+8K0G/0QUKBG0vFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ekh0hMsy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ekh0hMsy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 106E8C19425; Mon, 20 Apr 2026 15:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776700713; bh=HpMwI8gwy+731i7fxPUA/dnFniqIsYQYgYhOLHGmLMI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ekh0hMsyXn1UBy5kqsWv8b0LtuRAptXN5dL7HV46jLbKNDVfBXsNHAT7Dnm3lN/+b ZHLKIXct2g/jB0Ah1pMfFurE0WLJZdlV0CjLp8LKjBi7/uYMnIoEfYVuEnWZ0XimQX 3QR+6681+CgXiipjuISCRXexjOIBU6Iwd+YERmfs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mihai Sain , Claudiu Beznea , Sasha Levin Subject: [PATCH 6.18 058/198] ARM: dts: microchip: sam9x7: fix gpio-lines count for pioB Date: Mon, 20 Apr 2026 17:40:37 +0200 Message-ID: <20260420153937.703663238@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260420153935.605963767@linuxfoundation.org> References: <20260420153935.605963767@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mihai Sain [ Upstream commit 907150bbe566e23714a25d7bcb910f236c3c44c0 ] The pioB controller on the SAM9X7 SoC actually supports 27 GPIO lines. The previous value of 26 was incorrect, leading to the last pin being unavailable for use by the GPIO subsystem. Update the #gpio-lines property to reflect the correct hardware specification. Fixes: 41af45af8bc3 ("ARM: dts: at91: sam9x7: add device tree for SoC") Signed-off-by: Mihai Sain Link: https://lore.kernel.org/r/20260209090735.2016-1-mihai.sain@microchip.com Signed-off-by: Claudiu Beznea Signed-off-by: Sasha Levin --- arch/arm/boot/dts/microchip/sam9x7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/microchip/sam9x7.dtsi b/arch/arm/boot/dts/microchip/sam9x7.dtsi index 46dacbbd201dd..d242d7a934d0f 100644 --- a/arch/arm/boot/dts/microchip/sam9x7.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x7.dtsi @@ -1226,7 +1226,7 @@ pioB: gpio@fffff600 { interrupt-controller; #gpio-cells = <2>; gpio-controller; - #gpio-lines = <26>; + #gpio-lines = <27>; clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; }; -- 2.53.0