summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/qcom/pinctrl-msm8960.c
diff options
context:
space:
mode:
authorGeorgi Djakov <gdjakov@mm-sol.com>2014-09-03 16:28:16 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2014-09-04 16:19:31 (GMT)
commitf712c554a7fca8f6308afbce844eacbf5e48787b (patch)
tree967825a854c9eba91c242dd920e478dbf03594ff /drivers/pinctrl/qcom/pinctrl-msm8960.c
parenta9d490c5a8a05b1ff7d2d6fe5bf1053033788e76 (diff)
downloadlinux-f712c554a7fca8f6308afbce844eacbf5e48787b.tar.xz
pinctrl: qcom: Make the target processor value configurable
Currently the value used to specify that interrupts from the gpio should be routed to the application processor is hardcoded for all Qualcomm SoCs. But the new APQ8084 SoC uses a different value. To resolve this, we make this value configurable for each SoC. For all existing SoCs we continue to use the current value, and only for APQ8084 we use the new value. Suggested-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom/pinctrl-msm8960.c')
-rw-r--r--drivers/pinctrl/qcom/pinctrl-msm8960.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-msm8960.c b/drivers/pinctrl/qcom/pinctrl-msm8960.c
index 3504703..2ab21ce 100644
--- a/drivers/pinctrl/qcom/pinctrl-msm8960.c
+++ b/drivers/pinctrl/qcom/pinctrl-msm8960.c
@@ -384,6 +384,7 @@ static const unsigned int sdc3_data_pins[] = { 157 };
.intr_status_bit = 0, \
.intr_ack_high = 1, \
.intr_target_bit = 0, \
+ .intr_target_kpss_val = 4, \
.intr_raw_status_bit = 3, \
.intr_polarity_bit = 1, \
.intr_detection_bit = 2, \
@@ -409,6 +410,7 @@ static const unsigned int sdc3_data_pins[] = { 157 };
.intr_enable_bit = -1, \
.intr_status_bit = -1, \
.intr_target_bit = -1, \
+ .intr_target_kpss_val = -1, \
.intr_raw_status_bit = -1, \
.intr_polarity_bit = -1, \
.intr_detection_bit = -1, \