Commit a408ff64 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Zhihong Yu
Browse files

UPSTREAM: pinctrl: qcom: Support dispersed tiles



On some new platforms the tiles have been placed too far apart to be
covered in a single ioremap. Turn "regs" into an array of base addresses
and make the pingroup carry the information about which tile the pin
resides in.

For existing platforms we map the first entry regs and the existing
pingroups will all use tile 0, meaning that there's no functional
change.

Change-Id: Id0fa767e6389b3c19e82741ef3cb687bb2159e04
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
(cherry picked from commit a46d5e98
https://github.com/torvalds/linux.git

)
Signed-off-by: default avatarPrashanth Vadde <pvadde@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/c/1343223


Reviewed-by: default avatarZhihong Yu <zhihongyu@chromium.org>
Commit-Queue: Zhihong Yu <zhihongyu@chromium.org>
Tested-by: default avatarZhihong Yu <zhihongyu@chromium.org>
parent 7a31cc9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment