Skip to content

pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength

Niklas Söderlund linux-gpio linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 1 replyIn review

Changes in v3 from the cover letter

- Dropped a patch to the sh-pfc driver core which is now part of the series this series now depends upon (this is done to simplify other dependencies).
- Add Reviewed-by tag

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strengthdrivers/pinctrl/sh-pfc/pfc-r8a7795.c+148 -160 replies
2/3pinctrl: sh-pfc: r8a7795: Add group for AVB MDIO and MII pinsdrivers/pinctrl/sh-pfc/pfc-r8a7795.c+27 -30 replies
3/3pinctrl: sh-pfc: r8a7795: Add group for QSPI0 and QSPI1 pinsdrivers/pinctrl/sh-pfc/pfc-r8a7795.c+69 -00 replies

Reviews trailers per patch

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

PatchGeert Uytterhoeven
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCHv3 0/3] pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength

From: Niklas Söderlund <[email protected]>

Hi,

This series adds support to control the drive strength for none GPIO pins. All pins which can have its drive strength controlled is now supported. I have also added the new pins to the correct groups, or added groups to mimic other sh-pfc drivers. One notable exception is the group avb_mdc which on other SoC are called avb_mdio, see commit 2/3 for explanation.

The series depends on the series '[PATCHv2 0/6] pinctrl: sh-pfc: Fixups for bias handling and preparation for none GPIO pins'.

My test is a bit crude and is setting a few of the AVB pins to a higher drive-strength value then the others and observing that the AVB fails to work after the pfc settings are applied (NFS root failing to mount after kernel is fetched over TFTP). I also tested setting the drive strength for individual pins and for whole groups.

Changes since v2
- Dropped a patch to the sh-pfc driver core which is now part of the series this series now depends upon (this is done to simplify other dependencies).
- Add Reviewed-by tag

Changes since v1
- Add comment about that it's the R-Car H3SiP pin matrix which is used to generate a unique id number for each pin. Even if the pin matrix are different on other packages all the driver care about is that it's a unique number.
- Add FSCLKST pin after discussion with Geert
- Moved avb_mii group relative to other avb pin groups for a more logical order, thanks Sergei for pointing this out
- Add Acked-by and Reviewed-by tags
- Fixed spelling error

Niklas Söderlund (3):
pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable
drive-strength
pinctrl: sh-pfc: r8a7795: Add group for AVB MDIO and MII pins
pinctrl: sh-pfc: r8a7795: Add group for QSPI0 and QSPI1 pins

 drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 263 ++++++++++++++++++++++++++++++++---
 1 file changed, 244 insertions(+), 19 deletions(-)
Signature · 1 line
2.10.2