mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
nuttx/drivers: add regmap subsystems support.
regmap: add i2c and spi bus support. Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
@@ -650,6 +650,24 @@
|
||||
# define rcinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_REGMAP_ERROR
|
||||
# define regmaperr _err
|
||||
#else
|
||||
# define regmaperr _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_REGMAP_WARN
|
||||
# define regmapwarn _warn
|
||||
#else
|
||||
# define regmapwarn _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_REGMAP_INFO
|
||||
# define regmapinfo _info
|
||||
#else
|
||||
# define regmapinfo _none
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_RMT_ERROR
|
||||
# define rmterr _err
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user