mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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:
parent
b49b927f16
commit
37ac9c9029
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue