Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37ac9c90 authored by Charles Keepax's avatar Charles Keepax Committed by Lee Jones
Browse files

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: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent b49b927f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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