<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pinctrl/mediatek/Kconfig, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-05-24T07:38:13Z</updated>
<entry>
<title>pinctrl: mediatek: add EINT support to MT7622 SoC</title>
<updated>2018-05-24T07:38:13Z</updated>
<author>
<name>Sean Wang</name>
</author>
<published>2018-05-20T17:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6dabd38d8e794903bf20ab4c94af8fc8709edda'/>
<id>urn:sha1:e6dabd38d8e794903bf20ab4c94af8fc8709edda</id>
<content type='text'>
Add EINT support to MT7622 SoC and the support is made as just an option
to MT7622 pinctrl.

Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit</title>
<updated>2018-05-24T07:37:21Z</updated>
<author>
<name>Sean Wang</name>
</author>
<published>2018-05-20T17:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e46df235b4e605aa4e7609a27c118a1cccd4ff9a'/>
<id>urn:sha1:e46df235b4e605aa4e7609a27c118a1cccd4ff9a</id>
<content type='text'>
This patch is in preparation for adding EINT support to MT7622 pinctrl,
and the refactoring doesn't alter any existent logic.

A reason we have to refactor EINT code pieces into a generic way is that
currently, they're tightly coupled with a certain type of MediaTek pinctrl
would cause a grown in a very bad way as there is different types of
pinctrl devices getting to join.

Therefore, it is an essential or urgent thing that EINT code pieces are
refactored to eliminate any dependencies across GPIO and EINT as possible.

Additional structure mtk_eint_[xt, hw, regs] are being introduced for
indicating how maps being designed between GPIO and EINT hw number, how to
set and get GPIO state for a certain EINT pin, what characteristic on a
EINT device is present on various SoCs.

Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: add mt2712 pinctrl driver</title>
<updated>2018-03-26T08:53:39Z</updated>
<author>
<name>Zhiyong Tao</name>
</author>
<published>2018-03-22T02:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8670710ff8feda2183474f5e0e9cbb4071761e47'/>
<id>urn:sha1:8670710ff8feda2183474f5e0e9cbb4071761e47</id>
<content type='text'>
The commit includes mt2712 pinctrl driver.

Signed-off-by: Zhiyong Tao &lt;zhiyong.tao@mediatek.com&gt;
Reviewed-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<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>
</feed>
