mfd: arizona: Add defines for GPSW values that can be used from DT
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 2 May 2016 09:27:37 +0000 (10:27 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 14:41:56 +0000 (15:41 +0100)
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>
include/dt-bindings/mfd/arizona.h

index c40f665e27127f41f572dc39fd78b07dc0e4e0ff..dedf46ffdb539d63f79f1207c2efaa180f259d99 100644 (file)
 #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