Skip to contentSkip to conversation

mfd: arizona: Add defines for GPSW values that can be used from DT

PATCH Applied Charles Keepax 2 participants 2 messages May 2, 2016 – May 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/dt-bindings/mfd/arizona.h | 5 +++++
 1 file changed, 5 insertions(+)
include/dt-bindings/mfd/arizona.h +5 -0
index c40f665..dedf46f 100644
@@ -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
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#1 lore raw
Quoted 13 lines · Charles Keepax

Add defines for the possible values the GPSW can be set to using the wlf,gpsw device tree binding.

---
 include/dt-bindings/mfd/arizona.h | 5 +++++
 1 file changed, 5 insertions(+)
include/dt-bindings/mfd/arizona.h +0 -0
index c40f665..dedf46f 100644

include/dt-bindings/mfd/arizona.h line 118

Quoted 9 lines
include/dt-bindings/mfd/arizona.h +5 -0
@@ -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

Applied, thanks.

Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog