Skip to content

pinctrl: airoha: add Airoha AN7583 support

Christian Marangi linux-arm-kernel linux-devicetree linux-gpio linux-mediatek lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v16 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pinctrl: airoha: generalize pins/group/function/confs handlingdrivers/pinctrl/mediatek/pinctrl-airoha.c+318 -2490 replies
2/5pinctrl: airoha: convert PHY LED GPIO to macrodrivers/pinctrl/mediatek/pinctrl-airoha.c+100 -4880 replies
3/5pinctrl: airoha: convert PWM GPIO to macrodrivers/pinctrl/mediatek/pinctrl-airoha.c+68 -3970 replies
4/5dt-bindings: pinctrl: airoha: Document AN7583 Pin ControllerDocumentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml+402 -05 replies
5/5pinctrl: airoha: add support for Airoha AN7583 PINsdrivers/pinctrl/mediatek/pinctrl-airoha.c+740 -70 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] pinctrl: airoha: add Airoha AN7583 support

This small series introduce support for Airoha AN7583 pinctrl support.

Most of the changes are generalization and cleanup of the Airoha pinctrl driver. These are needed as all the array in the inner function were hardcoded to EN7581 and didn't reference stuff from the priv groups.

Everything is changed to match_data and priv struct so adding AN7583 is just a matter of adding the structs.

Also the schema is generalized where needed to address for the small difference between AN7583 and EN7581.

Christian Marangi (5):
pinctrl: airoha: generalize pins/group/function/confs handling
pinctrl: airoha: convert PHY LED GPIO to macro
pinctrl: airoha: convert PWM GPIO to macro
dt-bindings: pinctrl: airoha: Document AN7583 Pin Controller
pinctrl: airoha: add support for Airoha AN7583 PINs

 .../pinctrl/airoha,an7583-pinctrl.yaml        |  402 +++
 drivers/pinctrl/mediatek/pinctrl-airoha.c     | 2523 +++++++++--------
 2 files changed, 1706 insertions(+), 1219 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml
Signature · 1 line
2.51.0