linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength
@ 2016-11-03 16:15 Niklas Söderlund
  2016-11-03 16:15 ` [PATCHv2 1/4] pinctrl: sh-pfc: Support named pins with custom configuration Niklas Söderlund
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Niklas Söderlund @ 2016-11-03 16:15 UTC (permalink / raw)
  To: Geert Uytterhoeven, Laurent Pinchart
  Cc: Linus Walleij, linux-renesas-soc, linux-gpio,
	Niklas Söderlund

Hi Geert and Laurent,

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 3/4 for explanation.

The series is based on top of v4.9-rc3 and tested on Salvator-X. 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 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 (4):
  pinctrl: sh-pfc: Support named pins with custom configuration
  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 ++++++++++++++++++++++++++++++++---
 drivers/pinctrl/sh-pfc/sh_pfc.h      |   8 ++
 2 files changed, 252 insertions(+), 19 deletions(-)

-- 
2.10.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-07 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03 16:15 [PATCHv2 0/4] pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength Niklas Söderlund
2016-11-03 16:15 ` [PATCHv2 1/4] pinctrl: sh-pfc: Support named pins with custom configuration Niklas Söderlund
2016-11-03 16:15 ` [PATCHv2 2/4] pinctrl: sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength Niklas Söderlund
2016-11-07 11:18   ` Geert Uytterhoeven
2016-11-03 16:15 ` [PATCHv2 3/4] pinctrl: sh-pfc: r8a7795: Add group for AVB MDIO and MII pins Niklas Söderlund
2016-11-03 16:15 ` [PATCHv2 4/4] pinctrl: sh-pfc: r8a7795: Add group for QSPI0 and QSPI1 pins Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).