All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akari Tsuyukusa <akkun11.open@gmail.com>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
	sean.wang@kernel.org, linusw@kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org,
	hui.liu@mediatek.com, nfraprado@collabora.com,
	linus.walleij@linaro.org, mars.cheng@mediatek.com,
	andy.teng@mediatek.com, hanks.chen@mediatek.com,
	sam.shih@mediatek.com, rafal@milecki.pl, ben.ho@mediatek.com,
	erin.lo@mediatek.com, zhiyong.tao@mediatek.com,
	Jason-ch.Chen@mediatek.com, amergnat@baylibre.com,
	seiya.wang@mediatek.com, tinghan.shen@mediatek.com,
	Akari Tsuyukusa <akkun11.open@gmail.com>
Subject: [PATCH 1/6] arm64: dts: mediatek: mt6795: Fix gpio-ranges pin count
Date: Thu, 12 Mar 2026 13:15:28 +0900	[thread overview]
Message-ID: <20260312041533.187553-2-akkun11.open@gmail.com> (raw)
In-Reply-To: <20260312041533.187553-1-akkun11.open@gmail.com>

The gpio-ranges in the MT6795 pinctrl node were incorrectly defined,
therefore, GPIO196 cannot be used.
Correct the range count to match the driver.

Fixes: b888886a4536 ("arm64: dts: mediatek: mt6795: Add pinctrl controller node")
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
 arch/arm64/boot/dts/mediatek/mt6795.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
index ae2aaa51c9ad..134cfa77e3b1 100644
--- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
@@ -371,7 +371,7 @@ pio: pinctrl@10005000 {
 				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			gpio-ranges = <&pio 0 0 196>;
+			gpio-ranges = <&pio 0 0 197>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
-- 
2.53.0



  reply	other threads:[~2026-03-12  4:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12  4:15 [PATCH 0/6] pinctrl: mediatek: Fix gpio-ranges and include guard issues Akari Tsuyukusa
2026-03-12  4:15 ` Akari Tsuyukusa [this message]
2026-03-12  4:15 ` [PATCH 2/6] arm64: dts: mediatek: mt7981b: Fix gpio-ranges pin count Akari Tsuyukusa
2026-03-12  4:15 ` [PATCH 3/6] arm64: dts: mediatek: mt7986a: " Akari Tsuyukusa
2026-03-12  4:15 ` [PATCH 4/6] pinctrl: mediatek: mt6779: Fix include guard comment in the header Akari Tsuyukusa
2026-03-13 13:39   ` Krzysztof Kozlowski
2026-03-12  4:15 ` [PATCH 5/6] pinctrl: mediatek: mt8188: " Akari Tsuyukusa
2026-03-13 13:40   ` Krzysztof Kozlowski
2026-03-12  4:15 ` [PATCH 6/6] dt-bindings: pinctrl: mediatek: mt8188: Fix include guard comment Akari Tsuyukusa
2026-03-13 13:39   ` Krzysztof Kozlowski
2026-03-14 15:21     ` Akari Tsuyukusa
2026-03-12 12:31 ` [PATCH 0/6] pinctrl: mediatek: Fix gpio-ranges and include guard issues AngeloGioacchino Del Regno
2026-03-12 12:32 ` (subset) " AngeloGioacchino Del Regno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260312041533.187553-2-akkun11.open@gmail.com \
    --to=akkun11.open@gmail.com \
    --cc=Jason-ch.Chen@mediatek.com \
    --cc=amergnat@baylibre.com \
    --cc=andy.teng@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ben.ho@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=erin.lo@mediatek.com \
    --cc=hanks.chen@mediatek.com \
    --cc=hui.liu@mediatek.com \
    --cc=krzk+dt@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mars.cheng@mediatek.com \
    --cc=matthias.bgg@gmail.com \
    --cc=nfraprado@collabora.com \
    --cc=rafal@milecki.pl \
    --cc=robh@kernel.org \
    --cc=sam.shih@mediatek.com \
    --cc=sean.wang@kernel.org \
    --cc=seiya.wang@mediatek.com \
    --cc=tinghan.shen@mediatek.com \
    --cc=zhiyong.tao@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.