pinctrl: qcom: use scm_call to route GPIO irq to Apps
authorAjay Kishore <akisho@codeaurora.org>
Fri, 27 Mar 2020 22:32:08 +0000 (23:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2020 23:36:18 +0000 (00:36 +0100)
commit13bec8d49bdf10aab4e1570ef42417f6bfbb6126
tree5a96ce274b39a1ea84e22da00862908a189d3ef5
parent1592c4b9935fa8a3b7c297955bb872a357e5a3b6
pinctrl: qcom: use scm_call to route GPIO irq to Apps

For IPQ806x targets, TZ protects the registers that are used to
configure the routing of interrupts to a target processor.
To resolve this, this patch uses scm call to route GPIO interrupts
to application processor. Also the scm call interface is changed.

Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20200327223209.20409-1-ansuelsmth@gmail.com
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c