mbox series

[v2,0/2] pinctrl: renesas: rzg2l: Simplify noise filter cfg macro

Message ID 20240829194841.84398-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive)
Headers show
Series pinctrl: renesas: rzg2l: Simplify noise filter cfg macro | expand

Message

Lad, Prabhakar Aug. 29, 2024, 7:48 p.m. UTC
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This patch series simplifies noise cfg macro, by just adding single macro
for configuration and while at it simplified rzg2l_pinctrl_pinconf_set()
function.

v1->v2
- Updated commit description
- Collated RB tag
- Replaced `pinconf_to_config_argument(_configs[i])` with arg in
  PIN_CONFIG_POWER_SOURCE and PIN_CONFIG_DRIVE_STRENGTH_UA switch
  cases

Cheers,
Prabhakar

Lad Prabhakar (2):
  pinctrl: renesas: rzg2l: Introduce single macro for digital noise
    filter configuration
  pinctrl: renesas: rzg2l: Move pinconf_to_config_argument() call
    outside of switch cases

 drivers/pinctrl/renesas/pinctrl-rzg2l.c | 66 +++++++++----------------
 1 file changed, 23 insertions(+), 43 deletions(-)