summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-msm.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@sonymobile.com>2014-03-31 14:49:54 -0700
committerLinus Walleij <linus.walleij@linaro.org>2014-04-14 09:39:33 +0200
commit48f15e94f5a30bf335c3c972d592bc9212aca9ff (patch)
tree6cc85f360aae2e8823c6a304dcc24dcef7e74543 /drivers/pinctrl/pinctrl-msm.h
parent6888c75b243307e616f95159a917b80121c426c7 (diff)
downloadblackbird-op-linux-48f15e94f5a30bf335c3c972d592bc9212aca9ff.tar.gz
blackbird-op-linux-48f15e94f5a30bf335c3c972d592bc9212aca9ff.zip
pinctrl: msm: Correct interrupt code for TLMM v2
Acking interrupts are done differently between on v2 and v3, so add an extra attribute to the pingroup struct to let the platform definitions control this. Also make sure to start dual edge detection by detecting the rising edge. Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-msm.h')
-rw-r--r--drivers/pinctrl/pinctrl-msm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-msm.h b/drivers/pinctrl/pinctrl-msm.h
index 8fbe9fb19f36..6e26f1b676d7 100644
--- a/drivers/pinctrl/pinctrl-msm.h
+++ b/drivers/pinctrl/pinctrl-msm.h
@@ -84,6 +84,7 @@ struct msm_pingroup {
unsigned intr_enable_bit:5;
unsigned intr_status_bit:5;
+ unsigned intr_ack_high:1;
unsigned intr_target_bit:5;
unsigned intr_raw_status_bit:5;
OpenPOWER on IntegriCloud