summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-05-02 10:27:37 +0100
committerLee Jones <lee.jones@linaro.org>2016-05-09 15:41:56 +0100
commit37ac9c9029905b5b3a3e4526fdcde1892d8f5501 (patch)
treeeb3c8eaf0a5a14da6fe345d47b845576c85bafef /include/dt-bindings
parentb49b927f16acee626c56a1af4ab4cb062f75b5df (diff)
downloadlwn-37ac9c9029905b5b3a3e4526fdcde1892d8f5501.tar.gz
lwn-37ac9c9029905b5b3a3e4526fdcde1892d8f5501.zip
mfd: arizona: Add defines for GPSW values that can be used from DT
Add defines for the possible values the GPSW can be set to using the wlf,gpsw device tree binding. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/mfd/arizona.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/arizona.h b/include/dt-bindings/mfd/arizona.h
index c40f665e2712..dedf46ffdb53 100644
--- a/include/dt-bindings/mfd/arizona.h
+++ b/include/dt-bindings/mfd/arizona.h
@@ -110,4 +110,9 @@
#define ARIZONA_ACCDET_MODE_HPM 4
#define ARIZONA_ACCDET_MODE_ADC 7
+#define ARIZONA_GPSW_OPEN 0
+#define ARIZONA_GPSW_CLOSED 1
+#define ARIZONA_GPSW_CLAMP_ENABLED 2
+#define ARIZONA_GPSW_CLAMP_DISABLED 3
+
#endif