Skip to content

pinctrl: sunxi: Merge A31s pinctrl driver with A31

Chen-Yu Tsai linux-arm-kernel linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: sunxi: Support A31/A31s with pinctrl variantsdrivers/pinctrl/sunxi/pinctrl-sun6i-a31.c drivers/pinctrl/sunxi/pinctrl-sunxi.h+121 -651 reply
2/2pinctrl: sunxi: Remove redundant A31s pinctrl driverdrivers/pinctrl/sunxi/Kconfig drivers/pinctrl/sunxi/Makefile drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c+0 -8141 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaxime Ripard
SeriesA-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] pinctrl: sunxi: Merge A31s pinctrl driver with A31

Hi everyone,

This series merges support for the A31s' pin controller into the A31 driver, using the new sunxi variants support code. The A31s is a trimmed down version of the A31, with some hardware blocks removed, and some pin functions or pins removed. Thus it is easy to support the A31s using the A31 driver by marking the extra pins/functions as A31 only.

Patch 1 does exactly this.

Patch 2 removes the original A31s driver, which is now redundant.

I opted not to rename sun6i-a31 to sun6i in various places.

Regards
ChenYu

Chen-Yu Tsai (2):
pinctrl: sunxi: Support A31/A31s with pinctrl variants
pinctrl: sunxi: Remove redundant A31s pinctrl driver

 drivers/pinctrl/sunxi/Kconfig              |   4 -
 drivers/pinctrl/sunxi/Makefile             |   1 -
 drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c  | 184 ++++---
 drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c | 809 -----------------------------
 drivers/pinctrl/sunxi/pinctrl-sunxi.h      |   2 +
 5 files changed, 121 insertions(+), 879 deletions(-)
 delete mode 100644 drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c
Signature · 1 line
2.11.0