]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc219ee57783fd90dcd9676c980f0828a3741ce5
treeb33c2a2d434e487b0a621018ec510ac453a4dbe6
parent4915f51c13f7d4150bd92b5c3e091b7e9286fe1a
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