change(esp_phy): support phy sleep for esp32c61

This commit is contained in:
Li Shuai
2024-09-20 16:06:17 +08:00
parent 8f4cb98df0
commit a1fb9c7979
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ void phy_set_pwdet_power(bool en)
#endif #endif
} }
void phy_set_tsens_power(bool en) void IRAM_ATTR phy_set_tsens_power(bool en)
{ {
#if CONFIG_SOC_TEMP_SENSOR_SUPPORTED // TODO: [ESP32C5] IDF-8727 remove me when fix IDF-8727 #if CONFIG_SOC_TEMP_SENSOR_SUPPORTED // TODO: [ESP32C5] IDF-8727 remove me when fix IDF-8727
if (s_wifi_tsens_xpd_flag == en) { if (s_wifi_tsens_xpd_flag == en) {

View File

@@ -177,8 +177,8 @@ phy_dac_rate_set = 0x400012b8;
phy_encode_i2c_master = 0x400012bc; phy_encode_i2c_master = 0x400012bc;
phy_i2c_master_fill = 0x400012c0; phy_i2c_master_fill = 0x400012c0;
phy_i2c_master_mem_txcap = 0x400012c4; phy_i2c_master_mem_txcap = 0x400012c4;
phy_i2c_master_cmd_mem_init = 0x400012c8; /* phy_i2c_master_cmd_mem_init = 0x400012c8; */
phy_i2c_master_mem_cfg = 0x400012cc; /* phy_i2c_master_mem_cfg = 0x400012cc; */
phy_pbus_force_mode = 0x400012d0; phy_pbus_force_mode = 0x400012d0;
phy_pbus_rd_addr = 0x400012d4; phy_pbus_rd_addr = 0x400012d4;
phy_pbus_rd_shift = 0x400012d8; phy_pbus_rd_shift = 0x400012d8;