Skip to content
Commit 1738543c authored by Aymeric Aillet's avatar Aymeric Aillet Committed by Anas Nashif
Browse files

drivers: pinctrl: Add R-Car Gen4 support



Renesas R-Car Gen4 is different from Gen3 regarding pinmux.

While Gen3 had only one base address to manage all pins,
Gen4 has one set of pinmux registers per GPIO banks.

We could expose one pinmux register per GPIO controllers,
but that would break potential compatibility with Linux
Device tree.

Instead create a reg_base array to parse all reg base from
device tree and identify proper base address based on the pin
definition.

This imply to add a pfc_base parameter to most of the pfc_rcar
function.

Signed-off-by: default avatarJulien Massot <julien.massot@iot.bzh>
Signed-off-by: default avatarPierre Marzin <pierre.marzin@iot.bzh>
Signed-off-by: default avatarAymeric Aillet <aymeric.aillet@iot.bzh>
parent eb879413
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment