Skip to content

pinctrl: imx: use generic pinctrl helpers

Gary Bisson linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: imx: use generic pinctrl helpers for managing groupsdrivers/pinctrl/freescale/Kconfig drivers/pinctrl/freescale/pinctrl-imx.c drivers/pinctrl/freescale/pinctrl-imx.h+69 -14110 replies
2/2pinctrl: imx: use generic pinmux helpers for managing functionsdrivers/pinctrl/freescale/Kconfig drivers/pinctrl/freescale/pinctrl-imx.c drivers/pinctrl/freescale/pinctrl-imx.h+18 -941 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

Hi all,

This series is a follow-up to Linus suggestion to use the generic helpers introduced by Tony [1].

Mainly I've used the generic functions in pinctrl_ops and pinmux_ops and switched to the generic group/function_desc structures instead of the imx-specific one that didn't bring anything special.

However I couldn't use the 'add' functions to add elements since the parsing is done at probe time in its own way. So I've kept the radix_insert functions. This could be modified in the future though.

Regards,
Gary

[1] http://www.spinics.net/lists/devicetree/msg155984.html

Gary Bisson (2):
pinctrl: imx: use generic pinctrl helpers for managing groups
pinctrl: imx: use generic pinmux helpers for managing functions

 drivers/pinctrl/freescale/Kconfig       |   3 +-
 drivers/pinctrl/freescale/pinctrl-imx.c | 286 ++++++++++----------------------
 drivers/pinctrl/freescale/pinctrl-imx.h |  33 +---
 3 files changed, 87 insertions(+), 235 deletions(-)
Signature · 1 line
2.11.0