linux/drivers/pinctrl/mediatek
Zhiyong Tao 5e73de3413 pinctrl: add drive for I2C related pins on MT8183
This patch provides the advanced drive for I2C used pins on MT8183.
The detail strength specification description of the I2C pin:
When E1=0/E0=0, the strength is 0.125mA.
When E1=0/E0=1, the strength is 0.25mA.
When E1=1/E0=0, the strength is 0.5mA.
When E1=1/E0=1, the strength is 1mA.
For I2C pins, there are existing generic driving setup and the above
specific driving setup. I2C pins can only support 2/4/6/8/10/12/14/16mA
driving adjustment in generic driving setup. But in specific driving
setup, they can support 0.125/0.25/0.5/1mA adjustment.
If we enable specific driving setup for I2C pins,
the existing generic driving setup will be disabled.
For some special features, we need the I2C pins specific driving setup.
The specific driving setup is controlled by E1E0EN.
So we need add extra vendor driving preperty instead of the generic
driving property. We can add "mediatek,drive-strength-adv = <XXX>;"
to describe the specific driving setup property.
"XXX" means the value of E1E0EN. So the valid arguments of
"mediatek,drive-strength-adv" are from 0 to 7.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-04-08 11:20:28 +02:00
..
Kconfig pinctrl: mediatek: fix Kconfig build errors for moore core 2019-01-11 15:22:49 +01:00
Makefile pinctrl: mediatek: add pinctrl support for MT7629 SoC 2018-11-19 15:40:26 +01:00
mtk-eint.c pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00
mtk-eint.h pinctrl: mediatek: mark dummy helpers as 'static inline' 2018-09-28 09:27:04 +02:00
pinctrl-moore.c pinctrl: mediatek: clean up indentation issues, add missing tab 2018-11-09 09:54:54 +01:00
pinctrl-moore.h pinctrl: mtk: Fix up GPIO includes 2018-09-18 16:38:27 -07:00
pinctrl-mt2701.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt2712.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt6397.c pinctrl: mediatek: use builtin_platform_driver 2016-11-22 10:17:28 +01:00
pinctrl-mt6765.c pinctrl: mediatek: add eint support to MT6765 pinctrl driver 2018-09-21 09:13:54 -07:00
pinctrl-mt6797.c pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mt7622.c pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on 2018-09-18 14:53:22 -07:00
pinctrl-mt7623.c pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on 2018-09-18 14:53:22 -07:00
pinctrl-mt7629.c pinctrl: mediatek: add pinctrl support for MT7629 SoC 2018-11-19 15:40:26 +01:00
pinctrl-mt8127.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8135.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8173.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8183.c pinctrl: add drive for I2C related pins on MT8183 2019-04-08 11:20:28 +02:00
pinctrl-mtk-common-v2.c pinctrl: add drive for I2C related pins on MT8183 2019-04-08 11:20:28 +02:00
pinctrl-mtk-common-v2.h pinctrl: add drive for I2C related pins on MT8183 2019-04-08 11:20:28 +02:00
pinctrl-mtk-common.c pinctrl: Convert to using %pOFn instead of device_node.name 2018-08-29 14:05:36 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: use generic EINT register maps for each SoC 2018-05-24 09:39:25 +02:00
pinctrl-mtk-mt2701.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt2712.h pinctrl: add mt2712 pinctrl driver 2018-03-26 10:53:39 +02:00
pinctrl-mtk-mt6397.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt6765.h pinctrl: mediatek: add MT6765 pinctrl driver 2018-09-21 09:12:55 -07:00
pinctrl-mtk-mt6797.h pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mtk-mt8127.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8135.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8173.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8183.h pinctrl: mediatek: add MT8183 pinctrl driver 2018-09-18 14:53:29 -07:00
pinctrl-paris.c pinctrl: add drive for I2C related pins on MT8183 2019-04-08 11:20:28 +02:00
pinctrl-paris.h pinctrl: mtk: Fix up GPIO includes 2018-09-18 16:38:27 -07:00