From: Charles Keepax Date: Mon, 2 May 2016 09:27:37 +0000 (+0100) Subject: mfd: arizona: Add defines for GPSW values that can be used from DT X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=37ac9c9029905b5b3a3e4526fdcde1892d8f5501;p=linux-beck.git 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 Signed-off-by: Lee Jones --- 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