Skip to content

arm64: berlin: add pinctrl support

Jisheng Zhang linux-arm-kernel linux-devicetree linux-gpio lkml 6 versions – Applied

Status from this message: Applied to berlin64/dt with Linus' Ack.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 10 repliesApplied
  2. v57 patches 5 repliesSuperseded
  3. v46 patches 8 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches0 repliesSuperseded
v26 patches8 repliesSuperseded
v15 patches4 repliesSuperseded

Changes in v6 from the cover letter

- add Sebastian and Antoine ack tag
- Reorder the statements under the PINCTRL_BERLIN_BG4CT config option

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/7pinctrl: berlin: introduce berlin_pinctrl_probe_regmap()drivers/pinctrl/berlin/berlin.c drivers/pinctrl/berlin/berlin.h+21 -91 reply
2/7pinctrl: berlin: Make berlin pinctrl driver visible if COMPILE_TEST=ydrivers/pinctrl/berlin/Kconfig+1 -11 reply
3/7pinctrl: berlin: add the berlin4ct pinctrl driverdrivers/pinctrl/berlin/Kconfig drivers/pinctrl/berlin/Makefile drivers/pinctrl/berlin/berlin-bg4ct.c+509 -01 reply
4/7arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCsarch/arm64/Kconfig.platforms+1 -02 replies
5/7pinctrl: dt-binding: document berlin4ct SoC pinctrlDocumentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt+4 -11 reply
6/7arm64: dts: berlin4ct: add the pinctrl nodearch/arm64/boot/dts/marvell/berlin4ct.dtsi+15 -02 replies
7/7arm64: dts: berlin4ct: add default pinmux for uart0arch/arm64/boot/dts/marvell/berlin4ct.dtsi+7 -02 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSebastian HesselbarthAntoine TenartLinus Walleij
1/7A-b A-b
2/7A-b A-b
3/7A-b A-b
4/7A-b A-b A-b
5/7A-b A-b
6/7A-b A-b A-b
7/7A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/7] arm64: berlin: add pinctrl support

This series adds support for Marvell berlin4ct pin-controller, allowing to configure the pin muxing from the device tree.

Since v5:
- add Sebastian and Antoine ack tag
- Reorder the statements under the PINCTRL_BERLIN_BG4CT config option

Since v4:
- drop ARCH_BERLIN dependency for it has been met
- drop COMPILE_TEST dependency but make berlin pinctrl driver visible if COMPILE_TEST=y, and let this change be a seperate commit.

Since v3:
- fix stupid build error: I missed local changes to berlin-bg4ct.c

Since v2:
- introduce new berlin_pinctrl_probe_regmap() to avoid duplicated code
- renaming such as s/urt/uart etc. but keep the group name as URT* to keep consistent with HW/ASIC

Since v1:
- use generic name for pin functions
- a new commit to add pinmux for uart0
- correct pinctrl usage in dts

Jisheng Zhang (7):
pinctrl: berlin: introduce berlin_pinctrl_probe_regmap()
pinctrl: berlin: Make berlin pinctrl driver visible if COMPILE_TEST=y
pinctrl: berlin: add the berlin4ct pinctrl driver
arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs
pinctrl: dt-binding: document berlin4ct SoC pinctrl
arm64: dts: berlin4ct: add the pinctrl node
arm64: dts: berlin4ct: add default pinmux for uart0

 .../devicetree/bindings/pinctrl/berlin,pinctrl.txt |   5 +-
 arch/arm64/Kconfig.platforms                       |   1 +
 arch/arm64/boot/dts/marvell/berlin4ct.dtsi         |  22 +
 drivers/pinctrl/berlin/Kconfig                     |   7 +-
 drivers/pinctrl/berlin/Makefile                    |   1 +
 drivers/pinctrl/berlin/berlin-bg4ct.c              | 503 +++++++++++++++++++++
 drivers/pinctrl/berlin/berlin.c                    |  26 +-
 drivers/pinctrl/berlin/berlin.h                    |   4 +
 8 files changed, 558 insertions(+), 11 deletions(-)
 create mode 100644 drivers/pinctrl/berlin/berlin-bg4ct.c
Signature · 1 line
2.6.1