mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 15:14:18 +08:00
mfd: dt-bindings: Provide human readable defines for LPC mode choosing
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
b787f68c36
commit
0b30d25d08
15
include/dt-bindings/mfd/st-lpc.h
Normal file
15
include/dt-bindings/mfd/st-lpc.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* This header provides shared DT/Driver defines for ST's LPC device
|
||||
*
|
||||
* Copyright (C) 2014 STMicroelectronics -- All Rights Reserved
|
||||
*
|
||||
* Author: Lee Jones <lee.jones@linaro.org> for STMicroelectronics
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_ST_LPC_H__
|
||||
#define __DT_BINDINGS_ST_LPC_H__
|
||||
|
||||
#define ST_LPC_MODE_RTC 0
|
||||
#define ST_LPC_MODE_WDT 1
|
||||
|
||||
#endif /* __DT_BINDINGS_ST_LPC_H__ */
|
Loading…
Reference in New Issue
Block a user