mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 07:15:20 +00: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:
parent
7c4349fa9c
commit
f99b1a41a3
12 changed files with 1414 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue