refactor(regi2c): remove regi2c_defs.h from some targets

This commit is contained in:
Song Ruo Jing
2025-05-19 21:46:40 +08:00
parent 9ef152c220
commit 8262915e28
50 changed files with 112 additions and 954 deletions
@@ -9,7 +9,6 @@
#include <stdbool.h>
#include <stdint.h>
#include "soc/soc.h"
#include "soc/regi2c_defs.h"
#include "soc/i2c_ana_mst_reg.h"
#include "soc/pmu_reg.h"
#include "modem/modem_lpcon_struct.h"
@@ -18,6 +17,15 @@
extern "C" {
#endif
#define ANA_I2C_MST_CLK_HAS_ROOT_GATING 1 /*!< Any regi2c operation needs enable the analog i2c master clock first */
/**
* Restore regi2c analog calibration related configuration registers.
* This is a workaround for calibration error when waking up from light sleep
*/
#define REGI2C_LL_ANA_CALI_PD_WORKAROUND 1
#define REGI2C_LL_ANA_CALI_BYTE_NUM 8
/**
* @brief Enable analog I2C master clock
*/