[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250527222040.32000-1-ansuelsmth@gmail.com>
Date: Wed, 28 May 2025 00:20:32 +0200
From: Christian Marangi <ansuelsmth@...il.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Sean Wang <sean.wang@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Benjamin Larsson <benjamin.larsson@...exis.eu>,
linux-mediatek@...ts.infradead.org,
linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: Christian Marangi <ansuelsmth@...il.com>
Subject: [PATCH 0/6] pinctrl: 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.
While converting it, it was also found an additional copy-paste
error for the PHY LEDs pins.
Christian Marangi (6):
pinctrl: airoha: fix wrong PHY LED mux value for LED1 GPIO46
pinctrl: mediatek: 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,en7581-pinctrl.yaml | 297 +-
drivers/pinctrl/mediatek/pinctrl-airoha.c | 2497 +++++++++--------
2 files changed, 1489 insertions(+), 1305 deletions(-)
--
2.48.1
Powered by blists - more mailing lists