soc: nuvoton: reg: add i3c target registers and soc functions

As title.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
This commit is contained in:
Alvis Sun 2024-10-07 18:26:53 +08:00 committed by Henrik Brix Andersen
commit 578fbca78d
6 changed files with 555 additions and 145 deletions

View file

@ -85,6 +85,15 @@ bool npcx_lvol_get_detect_level(int lvol_ctrl, int lvol_bit);
*/
void npcx_host_interface_sel(enum npcx_hif_type hif_type);
/**
* @brief Select the I3C module controller or target mode for the mdma
* module operation.
*
* @param module i3c device
* @param enable true to enable target mode, false to controller mode.
*/
void npcx_i3c_target_sel(uint8_t module, bool enable);
#ifdef __cplusplus
}
#endif