pinctrl: qcom: Support dispersed tiles
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 24 Sep 2018 22:17:46 +0000 (15:17 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 26 Sep 2018 07:30:43 +0000 (09:30 +0200)
commita46d5e98190d055044418a734cb3b2fa04146a80
treeb33c2a2d434e487b0a621018ec510ac453a4dbe6
parent6c73698904aa258fce657eb7332593e156ab0c86
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.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c
drivers/pinctrl/qcom/pinctrl-msm.h