Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51ff47aa authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Linus Walleij
Browse files

pinctrl: rockchip: allow specifying the regmap location for pin-routes



Right now we expect the pin-rounting settings to be in the same area
as the iomux setting itself. And while that seems to be true for all
newer Rockchip socs, back in the wild west days of old this wasn't true.

Nowadays pin settings in the GRF normally stay in the GRF and the same
is true for pins configured from PMU registers. But old socs like the
rk3188 really sprinkle pin settings somewhat randomly through both
for its bank0.

Therefore add the option to specify a location for the route setting,
so that we can map older socs correctly. We'll keep "same" as the
default, so that we only need to specify a location in the corner-cases
described above.

Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@bq.com>
Reviewed-by: default avatarDavid Wu <david.wu@rock-chips.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7ed07855
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment