瀏覽代碼

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>
Charles Keepax 9 年之前
父節點
當前提交
37ac9c9029
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/dt-bindings/mfd/arizona.h

+ 5 - 0
include/dt-bindings/mfd/arizona.h

@@ -110,4 +110,9 @@
 #define ARIZONA_ACCDET_MODE_HPM 4
 #define ARIZONA_ACCDET_MODE_HPM 4
 #define ARIZONA_ACCDET_MODE_ADC 7
 #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
 #endif