Skip to content

pinctrl: nuvoton: add driver for NPCM7xx

Tomer Maimon linux-devicetree linux-gpio lkml openbmc 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 2 repliesIn review
  2. v52 patches 1 replySuperseded
  3. v42 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches0 repliesSuperseded
v22 patches6 repliesSuperseded
v12 patches1 replySuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentationDocumentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt+216 -01 reply
2/2pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driverdrivers/pinctrl/Kconfig drivers/pinctrl/Makefile drivers/pinctrl/nuvoton/Kconfig +2 more+2090 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

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

Read the v6 thread

Cover letter [PATCH v6 0/2] pinctrl: nuvoton: add driver for NPCM7xx

This patch set adds pinmux and GPIO controller for the Nuvoton NPCM750/730/715/705 Baseboard Management Controller (BMC).

The Nuvoton BMC NPCM750/730/715/705 Pinmux functions accessible only for pin groups and pinconf parameters available only for individual pins.

The Nuvoton BMC NPCM750/730/715/705 has eight identical GPIO modules, each module has 32 GPIO ports.

Most of the GPIO ports are multiplexed with other system functions.

The NPCM7xx pinctrl and GPIO driver tested on NPCM750 evaluation board.

Changes since version 5:
- Remove link to unsupported GPIO_GENERIC free function.
- Add child device node to each gpio chip.
- dt-binding reviewed-by Rob Herring.

Changes since version 4:
- Use direct access read and write functions.
- Modify the probe GPIO and pinctrl order.
- Remove unsupported BGPIOF_INVERTED_REG_DIR flag.
- dt-binding documentation haven't changed.

Changes since version 3:
- Remove Kconfig MFD_SYSCON dependency.
- Add BGPIOF_INVERTED_REG_DIR flag.
- dt-binding documentation haven't changed.

Changes since version 2:
- Using GPIO_GENERIC (mmio).
- Add Kconfig MFD_SYSCON dependency.
- Remove unnecessary code from the direction output function.
- dt-binding documentation haven't changed.

Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.

Tomer Maimon (2):
dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation
pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

 .../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt   |  216 ++
 drivers/pinctrl/Kconfig                            |    1 +
 drivers/pinctrl/Makefile                           |    1 +
 drivers/pinctrl/nuvoton/Kconfig                    |   12 +
 drivers/pinctrl/nuvoton/Makefile                   |    4 +
 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c          | 2072 ++++++++++++++++++++
 6 files changed, 2306 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt
 create mode 100644 drivers/pinctrl/nuvoton/Kconfig
 create mode 100644 drivers/pinctrl/nuvoton/Makefile
 create mode 100644 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
Signature · 1 line
2.14.1