summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/spear/pinctrl-spear3xx.h
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-10-27 14:47:47 +0530
committerLinus Walleij <linus.walleij@linaro.org>2012-11-05 12:33:37 +0100
commita778005589918c8051c496d8b7c96037776ed239 (patch)
treead65e293d2d9d9e2ab5590eced0a9279db84f943 /drivers/pinctrl/spear/pinctrl-spear3xx.h
parent0b53fa35355725b5130b8e73309995c4d4b4868b (diff)
downloadlinux-a778005589918c8051c496d8b7c96037776ed239.tar.gz
pinctrl: SPEAr3xx: correct register space to configure pwm
To have pwm on pad no. 34 we also need to select between pwm and SD_LED functions. Add this to pwm pin mux register configuration. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear3xx.h')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear3xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear3xx.h b/drivers/pinctrl/spear/pinctrl-spear3xx.h
index 31f44347f17c..7860b36053c4 100644
--- a/drivers/pinctrl/spear/pinctrl-spear3xx.h
+++ b/drivers/pinctrl/spear/pinctrl-spear3xx.h
@@ -15,6 +15,7 @@
#include "pinctrl-spear.h"
/* pad mux declarations */
+#define PMX_PWM_MASK (1 << 16)
#define PMX_FIRDA_MASK (1 << 14)
#define PMX_I2C_MASK (1 << 13)
#define PMX_SSP_CS_MASK (1 << 12)