<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/pinctrl/mediatek, branch next</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>pinctrl: mediatek: Add missing bind callback for several SoCs</title>
<updated>2026-03-24T16:10:27+00:00</updated>
<author>
<name>Julien Stephan</name>
<email>jstephan@baylibre.com</email>
</author>
<published>2026-03-12T16:19:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71e736ed6d4ff22130aff7b12b0150e042f64cf8'/>
<id>71e736ed6d4ff22130aff7b12b0150e042f64cf8</id>
<content type='text'>
Commit f4df9f53b7a9 ("pinctrl: mediatek: Bind gpio while binding pinctrl")
refactored pinctrl-mtk-common.c and the SoC-specific drivers to register
the gpiochip during the bind phase instead of probe. As part of this
change, each SoC driver must implement a bind callback.

The drivers recently added for mt8188, mt8189, mt8195 and mt8365 do not
define this callback, which prevents the gpiochip from being registered
properly.

Add the missing bind callback to these drivers.

Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Link: https://patch.msgid.link/20260312-pinctrl-mtk-bind-gpio-v1-1-21b8968902ed@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit f4df9f53b7a9 ("pinctrl: mediatek: Bind gpio while binding pinctrl")
refactored pinctrl-mtk-common.c and the SoC-specific drivers to register
the gpiochip during the bind phase instead of probe. As part of this
change, each SoC driver must implement a bind callback.

The drivers recently added for mt8188, mt8189, mt8195 and mt8365 do not
define this callback, which prevents the gpiochip from being registered
properly.

Add the missing bind callback to these drivers.

Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Link: https://patch.msgid.link/20260312-pinctrl-mtk-bind-gpio-v1-1-21b8968902ed@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: add support for mt8189</title>
<updated>2026-03-11T15:44:27+00:00</updated>
<author>
<name>Bo-Chen Chen</name>
<email>rex-bc.chen@mediatek.com</email>
</author>
<published>2026-02-09T23:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=05677fedd6fc7716a9b2366b3f19d32c80bfbfd5'/>
<id>05677fedd6fc7716a9b2366b3f19d32c80bfbfd5</id>
<content type='text'>
Add pinctrl support for mt8189.

Signed-off-by: Bo-Chen Chen &lt;rex-bc.chen@mediatek.com&gt;
Co-developed-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-3-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pinctrl support for mt8189.

Signed-off-by: Bo-Chen Chen &lt;rex-bc.chen@mediatek.com&gt;
Co-developed-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-3-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctl: mediatek: increase max number of base addresses</title>
<updated>2026-03-11T15:42:03+00:00</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-02-09T23:34:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=920b0bc6082dbc5aae5e36af8a3deed98a93559b'/>
<id>920b0bc6082dbc5aae5e36af8a3deed98a93559b</id>
<content type='text'>
Increase the maximum number of base addresses that can be handled by the
mediatek pinctrl driver from 10 to 15. This is needed for the MT8189
which has 15 base addresses.

Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-2-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Increase the maximum number of base addresses that can be handled by the
mediatek pinctrl driver from 10 to 15. This is needed for the MT8189
which has 15 base addresses.

Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-2-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctl: mediatek: add bounds check on number of base addresses</title>
<updated>2026-03-11T15:42:03+00:00</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-02-09T23:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64d48d21b51c65c01a842153dee0de70fe769145'/>
<id>64d48d21b51c65c01a842153dee0de70fe769145</id>
<content type='text'>
Add a bounds check on the number of base addresses to prevent
out-of-bounds access to the priv-&gt;base array.

Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-1-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a bounds check on the number of base addresses to prevent
out-of-bounds access to the priv-&gt;base array.

Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-1-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: set MT798x rev as MTK_PINCTRL_V1</title>
<updated>2026-02-18T18:06:19+00:00</updated>
<author>
<name>Shiji Yang</name>
<email>yangshiji66@outlook.com</email>
</author>
<published>2026-01-31T02:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b681f2be8cc81de83fdd4c56cdb35755ca0409eb'/>
<id>b681f2be8cc81de83fdd4c56cdb35755ca0409eb</id>
<content type='text'>
The MT798x series SoCs have IES regiter definitions. They should
belong to the pinctrl v1 revision.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The MT798x series SoCs have IES regiter definitions. They should
belong to the pinctrl v1 revision.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: add pinctrl driver for MT8195</title>
<updated>2026-02-18T18:06:19+00:00</updated>
<author>
<name>Chris-QJ Chen</name>
<email>chris-qj.chen@mediatek.com</email>
</author>
<published>2026-02-02T12:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=06cfded6edf5d881b3ad451943380952b5aebafa'/>
<id>06cfded6edf5d881b3ad451943380952b5aebafa</id>
<content type='text'>
Add support for MT8195 pinctrl. The driver is based on the kernel one.

Signed-off-by: Chris-QJ Chen &lt;chris-qj.chen@mediatek.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for MT8195 pinctrl. The driver is based on the kernel one.

Signed-off-by: Chris-QJ Chen &lt;chris-qj.chen@mediatek.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: add pinmux_property_set ops support</title>
<updated>2026-01-28T20:28:48+00:00</updated>
<author>
<name>Vitor Sato Eschholz</name>
<email>vsatoes@baylibre.com</email>
</author>
<published>2026-01-22T16:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=15999c22f5df791364f0eb6d646c36d735c74f16'/>
<id>15999c22f5df791364f0eb6d646c36d735c74f16</id>
<content type='text'>
Add pinmux_property_set ops for mediatek pinctrl framework

Signed-off-by: Julien Masson &lt;jmasson@baylibre.com&gt;
Signed-off-by: Vitor Sato Eschholz &lt;vsatoes@baylibre.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Tested-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pinmux_property_set ops for mediatek pinctrl framework

Signed-off-by: Julien Masson &lt;jmasson@baylibre.com&gt;
Signed-off-by: Vitor Sato Eschholz &lt;vsatoes@baylibre.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Tested-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: Add pinctrl driver for MT8188 SoC</title>
<updated>2026-01-28T20:28:48+00:00</updated>
<author>
<name>Chris-QJ Chen</name>
<email>chris-qj.chen@mediatek.com</email>
</author>
<published>2026-01-22T16:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa6eb2a5895bb9f0f311522b7d4dd3b86629f8b2'/>
<id>aa6eb2a5895bb9f0f311522b7d4dd3b86629f8b2</id>
<content type='text'>
Add pinctrl driver for mt8188. The driver is based on the kernel driver.

Signed-off-by: Chris-QJ Chen &lt;chris-qj.chen@mediatek.com&gt;
Signed-off-by: Jill.Wu &lt;shu-yun.wu@mediatek.com&gt;
Signed-off-by: Vitor Sato Eschholz &lt;vsatoes@baylibre.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pinctrl driver for mt8188. The driver is based on the kernel driver.

Signed-off-by: Chris-QJ Chen &lt;chris-qj.chen@mediatek.com&gt;
Signed-off-by: Jill.Wu &lt;shu-yun.wu@mediatek.com&gt;
Signed-off-by: Vitor Sato Eschholz &lt;vsatoes@baylibre.com&gt;
Signed-off-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: mt8365: add PUPD registers</title>
<updated>2026-01-21T19:33:08+00:00</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-01-14T01:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fd871fc6bb497c6ddd7b39622480b89add78f57b'/>
<id>fd871fc6bb497c6ddd7b39622480b89add78f57b</id>
<content type='text'>
Add pull-up/pull-down (PUPD) register definitions for mt8365.

Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pull-up/pull-down (PUPD) register definitions for mt8365.

Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: mediatek: fix failing to get syscon</title>
<updated>2026-01-21T19:30:55+00:00</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-01-14T22:37:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04413ed0c1bde24bdb4a15e5d75a33f1f3fa8bfa'/>
<id>04413ed0c1bde24bdb4a15e5d75a33f1f3fa8bfa</id>
<content type='text'>
Replace uclass_get_device_by_ofnode() with syscon_regmap_lookup_by_phandle()
to get the "mediatek,pctl-regmap" syscon device.

Depending on probe order, uclass_get_device_by_ofnode() may fail, but
syscon_regmap_lookup_by_phandle() has logic in it to handle that case
correctly.

The previous implementation could read more than one syscon if the
"mediatek,pctl-regmap" property had more than one phandle, but the one
board with a devicetree that does that is not supported in U-Boot yet,
so we can save that for later (it may never be needed).

Fixes: 424ceba18bfb ("pinctrl: mediatek: support mediatek,pctl-regmap property")
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace uclass_get_device_by_ofnode() with syscon_regmap_lookup_by_phandle()
to get the "mediatek,pctl-regmap" syscon device.

Depending on probe order, uclass_get_device_by_ofnode() may fail, but
syscon_regmap_lookup_by_phandle() has logic in it to handle that case
correctly.

The previous implementation could read more than one syscon if the
"mediatek,pctl-regmap" property had more than one phandle, but the one
board with a devicetree that does that is not supported in U-Boot yet,
so we can save that for later (it may never be needed).

Fixes: 424ceba18bfb ("pinctrl: mediatek: support mediatek,pctl-regmap property")
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
