pinctrl: renesas: rzg2l: Add support to get/set drive-strength and output-impedance...
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 10 Nov 2021 22:46:22 +0000 (22:46 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 Nov 2021 09:44:14 +0000 (10:44 +0100)
commitadb613f84a9e3638dfcc85975c7d58a4e80eef02
treebdb72a97a416a2a4247b50be6690e680d78664f8
parent22972a2d5bc4bae3db9521580cea8971c96204bc
pinctrl: renesas: rzg2l: Add support to get/set drive-strength and output-impedance-ohms

RZ/G2L supports two groups of pins Group-A and Group-B. For Group-A
pins drive-strength can be configured and for Group-B output-impedance
can be configured.

This patch splits PIN_CFG_IOLH macro to PIN_CFG_IOLH_A/B and adds
support to get/set drive-strength and output-impedance-ohms for the
supported pins.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20211110224622.16022-7-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c