<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pinctrl/mediatek/Kconfig, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-12-20T07:49:41Z</updated>
<entry>
<title>pinctrl: mediatek: add pinctrl driver for MT7622 SoC</title>
<updated>2017-12-20T07:49:41Z</updated>
<author>
<name>Sean Wang</name>
</author>
<published>2017-12-12T06:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6ed935513202e1922071979bee96777f9c37229'/>
<id>urn:sha1:d6ed935513202e1922071979bee96777f9c37229</id>
<content type='text'>
Add support for pinctrl on MT7622 SoC. The IO core found on the SoC has
the registers for pinctrl, pinconf and gpio mixed up in the same register
range. However, the IO core for the MT7622 SoC is completely distinct from
anyone of previous MediaTek SoCs which already had support, such as
the hardware internal, register address map and register detailed
definition for each pin.

Therefore, instead, the driver is being newly implemented by reusing
generic methods provided from the core layer with GENERIC_PINCONF,
GENERIC_PINCTRL_GROUPS, and GENERIC_PINMUX_FUNCTIONS for the sake of code
simplicity and rid of superfluous code. Where the function of pins
determined by groups is utilized in this driver which can help developers
less confused with what combinations of pins effective on the SoC and even
reducing the mistakes during the integration of those relevant boards.

As the gpio_chip handling is also only a few lines, the driver also
implements the gpio functionality directly through GPIOLIB.

Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Reviewed-by: Biao Huang &lt;biao.huang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: cleanup for placing all drivers under the menu</title>
<updated>2017-12-20T07:47:56Z</updated>
<author>
<name>Sean Wang</name>
</author>
<published>2017-12-12T06:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3fd24a574041785bad4487595228e8b02c92e41'/>
<id>urn:sha1:e3fd24a574041785bad4487595228e8b02c92e41</id>
<content type='text'>
Since lots of MediaTek drivers had been added, it seems slightly better
for that adding cleanup for placing MediaTek pinctrl drivers under the
independent menu as other kinds of drivers usually was done.

Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Reviewed-by: Biao Huang &lt;biao.huang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: reuse pinctrl driver for mt7623</title>
<updated>2017-05-22T08:39:25Z</updated>
<author>
<name>Sean Wang</name>
</author>
<published>2017-05-01T07:54:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ceba43834d1059b460cd05f92eff08c3fe5627f4'/>
<id>urn:sha1:ceba43834d1059b460cd05f92eff08c3fe5627f4</id>
<content type='text'>
mt7623 pinctrl hardware can be compatible with mt2701 driver,
so the patch lets the pinctrl on mt7623 SoC reuse the driver
and deletes those redundant ones.

Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Acked-by: John Crispin &lt;john@phrozen.org&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: Use real dependencies</title>
<updated>2017-01-26T15:26:50Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2017-01-25T09:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79d6208988a03a0a3f908b2d5c40ea020d887d5b'/>
<id>urn:sha1:79d6208988a03a0a3f908b2d5c40ea020d887d5b</id>
<content type='text'>
Do not hide pinctrl drivers for Mediatek platforms using
conditionals. Doing so actually leaves the symbols present (but
always disabled) on all other platforms, which is confusing and
inefficient. Better use real dependencies so that the symbols do not
exist at all on platforms where they are not relevant.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Reported-by: Andreas Färber &lt;afaerber@suse.de&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for MT7623</title>
<updated>2016-02-19T09:05:14Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-02-19T07:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87316f6bee58a756279b5df19faae9096b9206f3'/>
<id>urn:sha1:87316f6bee58a756279b5df19faae9096b9206f3</id>
<content type='text'>
Add the driver and header files required to make pinctrl work on MediaTek
MT7623.

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK</title>
<updated>2016-02-13T22:34:19Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2016-02-10T09:54:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a9e00600b6feeacae02b8ac3428bf98c813c1b2'/>
<id>urn:sha1:4a9e00600b6feeacae02b8ac3428bf98c813c1b2</id>
<content type='text'>
CONFIG_PINCTRL_MTK is more suitable than CONFIG_ARCH_MEDIATEK
to guard the drivers/pinctrl/mediatek/ directory.
(I renamed CONFIG_PINCTRL_MTK_COMMON to CONFIG_PINCTRL_MTK.)

This allows COMPILE_TEST to descend into drivers/pinctrl/mediatek
without CONFIG_ARCH_MEDIATEK define.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701</title>
<updated>2016-01-28T10:12:03Z</updated>
<author>
<name>Biao Huang</name>
</author>
<published>2016-01-27T01:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=148b95eea00b15ee65a57fe1bd4256d325575e00'/>
<id>urn:sha1:148b95eea00b15ee65a57fe1bd4256d325575e00</id>
<content type='text'>
Add mt2701 support using mediatek common pinctrl driver.
MT2701 have some special pins need an extra setting register
than other ICs, so adding this support to common code.

Signed-off-by: Biao Huang &lt;biao.huang@mediatek.com&gt;
Acked-by: Yingjoe Chen &lt;yingjoe.chen@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: add OF dependency to MT6397</title>
<updated>2015-05-20T07:11:23Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2015-05-20T07:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2202a4c762bedb56bcaafd3200deceac1c2e7b5'/>
<id>urn:sha1:a2202a4c762bedb56bcaafd3200deceac1c2e7b5</id>
<content type='text'>
X86_64 allmodconfig screams like so:
warning: (PINCTRL_MT6397) selects PINCTRL_MTK_COMMON
which has unmet direct dependencies
(PINCTRL &amp;&amp; (ARCH_MEDIATEK || COMPILE_TEST) &amp;&amp; OF)

So add OF to dependencies to shut up this warning.

Cc: Hongzhou Yang &lt;hongzhou.yang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127</title>
<updated>2015-05-19T09:17:45Z</updated>
<author>
<name>Yingjoe Chen</name>
</author>
<published>2015-05-19T03:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6acdee8c1325ce3b02006f7ed6047f42273c9d44'/>
<id>urn:sha1:6acdee8c1325ce3b02006f7ed6047f42273c9d44</id>
<content type='text'>
MT8127 pinctrl/eint are similar to mt8135 and mt8173, add
support for mt8127 using mediatek common pinctrl driver.

Signed-off-by: Yingjoe Chen &lt;yingjoe.chen@mediatek.com&gt;
Signed-off-by: Hongzhou Yang &lt;hongzhou.yang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.</title>
<updated>2015-05-19T09:16:17Z</updated>
<author>
<name>Hongzhou Yang</name>
</author>
<published>2015-05-19T06:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc59e66c4284a420f9a1b3a0f99f784847bf3ef8'/>
<id>urn:sha1:fc59e66c4284a420f9a1b3a0f99f784847bf3ef8</id>
<content type='text'>
Add mt6397 support using mediatek common pinctrl driver.

mt6397 is a PMIC, and pinctrl/GPIO is part of 6397 chip.
Pinctrl/GPIO driver should obtain regmap from PMIC,
so adding this support to common code.

Also, mt6397 is no need to support interrupt controller,
so changing common code to skip it.

Signed-off-by: Hongzhou Yang &lt;hongzhou.yang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
