pinctrl: airoha: fix pinconf_get and pinmux_set
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pinctrl: airoha: fix bias readback in airoha_pinconf_get()drivers/ | +1 | 0 replies | |
| 2/2 | pinctrl: airoha: fix pin lookup in airoha_pinmux_set()drivers/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] pinctrl: airoha: fix pinconf_get and pinmux_set
Two independent fixes for the Airoha pinctrl common code:
1/2 airoha_pinconf_get() always failed when reading back a pull-up or
pull-down.
2/2 airoha_pinmux_set() matched pin names against group names. It now
resolves the pin to a single-pin group of the requested function.
Patch 2 changes what "pins =" accepts when combined with "function":
multi-pin groups must now be selected with "groups =". The binding only documents "function" + "groups" for mux nodes, and no in-tree DT uses "function" at all: the Airoha DTs only have pinconf nodes (e.g. drive-open-drain on pcie_reset0/1), which do not go through pinmux_set().
Both patches are compile-tested only, with an7581_evb_defconfig.
Vikrant Yadav (2):
pinctrl: airoha: fix bias readback in airoha_pinconf_get()
pinctrl: airoha: fix pin lookup in airoha_pinmux_set()
drivers/pinctrl/airoha/pinctrl-airoha.c | 46 +++++++++++++++++++------ 1 file changed, 36 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1