Skip to content

pinctrl: sh-pfc: Fixups for bias handling and preparation for none GPIO pins

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLEdrivers/pinctrl/sh-pfc/pinctrl.c+2 -10 replies
2/6pinctrl: sh-pfc: Add helper to handle bias lookup tabledrivers/pinctrl/sh-pfc/core.c drivers/pinctrl/sh-pfc/core.h drivers/pinctrl/sh-pfc/sh_pfc.h+26 -02 replies
3/6pinctrl: sh-pfc: r8a7795: Simplify get bias logicdrivers/pinctrl/sh-pfc/pfc-r8a7795.c+5 -61 reply
4/6pinctrl: sh-pfc: r8a7795: Use lookup function for bias datadrivers/pinctrl/sh-pfc/pfc-r8a7795.c+170 -1712 replies
5/6pinctrl: sh-pfc: r8a7778: Use lookup function for bias datadrivers/pinctrl/sh-pfc/pfc-r8a7778.c+170 -1700 replies
6/6pinctrl: sh-pfc: Support named pins with custom configurationdrivers/pinctrl/sh-pfc/sh_pfc.h+8 -00 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchLaurent PinchartGeert Uytterhoeven
1/6A-b A-b
2/6
3/6R-b
4/6R-b
5/6
6/6A-b R-b

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

Read the v2 thread

Cover letter [PATCHv2 0/6] pinctrl: sh-pfc: Fixups for bias handling and preparation for none GPIO pins

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

Hi,

This series fixes two issues I encounter for bias handling in the PFC while preparing my drive strength patch set.

I also attached a new patch 6/6 that adds the macro SH_PFC_PIN_NAMED_CFG() and was previously part of the series 'pinctrl:
sh-pfc: r8a7795: Support none GPIO pins with configurable drive-strength'.

The reason I moved this patch to this series are both 6/6 and the new bias helper function introduced in 2/6 are dependencies for other PFC patch series I wish to send out. So to simplify the dependencies between series this looked like the best option, if not please let me know.

* Changes since v1
- Moved bias helper function from pfc-r8a7795.c to the sh-pfc core.
- Convert r8a7778 to use the new bias helper function.
- Fixed up spelling and attached Ack-tags.
- Attached a patch to add SH_PFC_PIN_NAMED_CFG() to simplify dependencies for other series.

Niklas Söderlund (6):
pinctrl: sh-pfc: Do not unconditionally support
PIN_CONFIG_BIAS_DISABLE
pinctrl: sh-pfc: Add helper to handle bias lookup table
pinctrl: sh-pfc: r8a7795: Simplify get bias logic
pinctrl: sh-pfc: r8a7795: Use lookup function for bias data
pinctrl: sh-pfc: r8a7778: Use lookup function for bias data
pinctrl: sh-pfc: Support named pins with custom configuration

 drivers/pinctrl/sh-pfc/core.c        |  16 ++
 drivers/pinctrl/sh-pfc/core.h        |   4 +
 drivers/pinctrl/sh-pfc/pfc-r8a7778.c | 340 ++++++++++++++++-----------------
 drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 352 +++++++++++++++++------------------
 drivers/pinctrl/sh-pfc/pinctrl.c     |   3 +-
 drivers/pinctrl/sh-pfc/sh_pfc.h      |  14 ++
 6 files changed, 381 insertions(+), 348 deletions(-)
Signature · 1 line
2.10.2