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>
This commit is contained in:
Charles Keepax 2016-05-02 10:27:37 +01:00 committed by Lee Jones
parent b49b927f16
commit 37ac9c9029
1 changed files with 5 additions and 0 deletions

View File

@ -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