mbox series

[v4,0/4] PINCTRL: Mediatek pinctrl patch on mt8183

Message ID 20190401033535.16910-1-zhiyong.tao@mediatek.com (mailing list archive)
Headers show
Series PINCTRL: Mediatek pinctrl patch on mt8183 | expand

Message

zhiyong.tao April 1, 2019, 3:35 a.m. UTC
This series includes 4 patches:
1.add pinctrl binding document on mt8183.
2.add pinctrl file on mt8183.
3.add pinctrl device node on mt8183.
4.add drive for I2C related pins on MT8183.

Changes in patch v4:
1)patch [1/4] is based on patch "https://patchwork.kernel.org/patch/10778511/".
2)patch [2/4] is based on patch "https://patchwork.kernel.org/patch/10814251/".
3)patch [3/4] is based on patch "https://patchwork.kernel.org/patch/10814239/".
4)modify correct title on patch [2/4] and patch [3/4].
5)add Reviewed-by on patch [1/4] and [2/4].
6)modify the function "mtk_pinconf_adv_pull_get" and "mtk_pinconf_adv_pull_set"
7)change "drive-strengt-adv" to "drive-strength-adv".
8)call "mtk_pinconf_adv_pull_get" in "mtk_pinconf_get".

Changes in patch v3:
1)add the patch "dt-bindings: pinctrl: mt8183: add binding document".
2)add the patch "arm64: dts: mt8183: add pintcrl file".
3)add the patch "arm64: dts: mt8183: add pintcrl device node".
4)add more datail information for the specific driving setup in commit message.
5)use "mediatek,drive-strength-adv" instead of
  "mediatek,drive-enable-adv" and "mediatek,drive-enable-disable".
6)change "PINCTRL_PIN_REG_DRV_EN_DIS" to "PINCTRL_PIN_REG_DRV_EN".
7)change the function "mtk_pinconf_adv_drive_set".

Changes in patch v2:
1)add the details strength specification of the I2c pins.
2)change "mt8183_pin_drv_en_dis_range" to "mt8183_pin_e1e0en_range".
3)change "mt8183_pin_drv_e0_range" to "mt8183_pin_e0_range".
4)change "mt8183_pin_drv_e1_range" to "mt8183_pin_e1_range".

Zhiyong Tao (4):
  dt-bindings: pinctrl: mt8183: add binding document
  arm64: dts: mt8183: add pinctrl file
  arm64: dts: mt8183: add pinctrl device node
  pinctrl: add drive for I2C related pins on MT8183

 .../devicetree/bindings/pinctrl/pinctrl-mt8183.txt |  132 +++
 arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h      | 1120 ++++++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8183.dtsi           |   26 +-
 drivers/pinctrl/mediatek/pinctrl-mt8183.c          |   50 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c   |   49 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h   |   11 +
 drivers/pinctrl/mediatek/pinctrl-paris.c           |   21 +
 7 files changed, 1408 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h

--
2.12.5