mbox series

[v2,0/6] update mediatek MT7986 pinctrl driver

Message ID 20221106080114.7426-1-linux@fw-web.de
Headers show
Series update mediatek MT7986 pinctrl driver | expand

Message

Frank Wunderlich Nov. 6, 2022, 8:01 a.m. UTC
From: Frank Wunderlich <frank-w@public-files.de>

This patch series introduces common bias-pull* pinconf support to MediaTek
MT7986 pinctrl driver and fix some register offsets in the driver.

v2:
- added patches previously postes separately which are needed to have
  dt binding checks clean
- fixed odd numbers in comments for mt7986_pull_type

Frank Wunderlich (2):
  dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
  dt-bindings: pinctrl: update uart/mmc bindings for MT7986 SoC

Sam Shih (4):
  dt-bindings: pinctrl: mt7986: add generic bias-pull* support
  pinctrl: mediatek: fix the pinconf register offset of some pins
  pinctrl: mediatek: extend pinctrl-moore to support new bias functions
  pinctrl: mediatek: add pull_type attribute for mediatek MT7986 SoC

 .../pinctrl/mediatek,mt7986-pinctrl.yaml      | 108 ++++++++++++++++--
 drivers/pinctrl/mediatek/pinctrl-moore.c      |  49 ++++++--
 drivers/pinctrl/mediatek/pinctrl-mt7986.c     |  80 +++++++++++--
 3 files changed, 207 insertions(+), 30 deletions(-)

Comments

AngeloGioacchino Del Regno Nov. 7, 2022, 9:33 a.m. UTC | #1
Il 06/11/22 09:01, Frank Wunderlich ha scritto:
> From: Sam Shih <sam.shih@mediatek.com>
> 
> Commit fb34a9ae383a ("pinctrl: mediatek: support rsel feature")
> introduced SoC specify 'pull_type' attribute to mtk_pinconf_bias_set_combo
> and mtk_pinconf_bias_get_combo, and make the functions able to support
> almost all Mediatek SoCs that use pinctrl-mtk-common-v2.c.
> 
> This patch enables pinctrl_moore to support these functions.
> 
> Signed-off-by: Sam Shih <sam.shih@mediatek.com>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>