Skip to content

pinctrl: exynos: Prepare for other SoCs support

Sam Protsenko u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7pinctrl: exynos: Improve coding styledrivers/pinctrl/exynos/pinctrl-exynos.c drivers/pinctrl/exynos/pinctrl-exynos.h+3 -20 replies
2/7pinctrl: exynos: Extract pin parsing code into a separate functiondrivers/pinctrl/exynos/pinctrl-exynos.c+17 -100 replies
3/7pinctrl: exynos: Rework pin_to_bank_base() to obtain data by namedrivers/pinctrl/exynos/pinctrl-exynos.c+14 -130 replies
4/7pinctrl: exynos: Support different register types in pin banksdrivers/pinctrl/exynos/pinctrl-exynos.c drivers/pinctrl/exynos/pinctrl-exynos.h drivers/pinctrl/exynos/pinctrl-exynos7420.c+61 -170 replies
5/7pinctrl: exynos: Refactor handling the pin related dt propertiesdrivers/pinctrl/exynos/pinctrl-exynos.c+19 -160 replies
6/7pinctrl: exynos: Reduce variables scopedrivers/pinctrl/exynos/pinctrl-exynos.c+4 -30 replies
7/7pinctrl: exynos: Convert to use livetree API for fdt accessdrivers/pinctrl/exynos/pinctrl-exynos.c+8 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] pinctrl: exynos: Prepare for other SoCs support

Some Exynos SoCs (not supported by pinctrl-exynos driver yet) have different offsets and widths of pin bank registers (i.e. PIN_CON, PIN_PUD and PIN_DRV registers). Rework pinctrl-exynos driver so it allows for different offsets and widths of those registers by adding the corresponding API. That makes it possible to add the support for new Exynos SoCs in pinctrl-exynos driver.

The main patch in this series is:

pinctrl: exynos: Support different register types in pin banks

Other patches are just related cleanups and refactoring commits, required for the clean implementation of the main patch.

Sam Protsenko (7):
pinctrl: exynos: Improve coding style
pinctrl: exynos: Extract pin parsing code into a separate function
pinctrl: exynos: Rework pin_to_bank_base() to obtain data by name
pinctrl: exynos: Support different register types in pin banks
pinctrl: exynos: Refactor handling the pin related dt properties
pinctrl: exynos: Reduce variables scope
pinctrl: exynos: Convert to use livetree API for fdt access

 drivers/pinctrl/exynos/pinctrl-exynos.c     | 125 ++++++++++++--------
 drivers/pinctrl/exynos/pinctrl-exynos.h     |  36 +++++-
 drivers/pinctrl/exynos/pinctrl-exynos7420.c |   2 +
 3 files changed, 108 insertions(+), 55 deletions(-)
Signature · 1 line
2.39.2