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:
likun17
2023-07-19 20:17:15 +08:00
committed by Xiang Xiao
parent 7c4349fa9c
commit f99b1a41a3
12 changed files with 1414 additions and 0 deletions
+18
View File
@@ -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