mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
fix(dsi): enable dsi phy cfg clk
This commit is contained in:
@@ -46,6 +46,10 @@ esp_err_t esp_lcd_new_dsi_bus(const esp_lcd_dsi_bus_config_t *bus_config, esp_lc
|
||||
#endif
|
||||
}
|
||||
ESP_GOTO_ON_ERROR(esp_clk_tree_enable_src((soc_module_clk_t)phy_clk_src, true), err, TAG, "clock source enable failed");
|
||||
|
||||
// always use the default clock source for the DSI PHY configuration
|
||||
ESP_GOTO_ON_ERROR(esp_clk_tree_enable_src((soc_module_clk_t)MIPI_DSI_PHY_CFG_CLK_SRC_DEFAULT, true), err, TAG, "clock source enable failed");
|
||||
|
||||
// enable the clock source for DSI PHY
|
||||
PERIPH_RCC_ATOMIC() {
|
||||
// set the DSI PHY configuration clock
|
||||
|
Reference in New Issue
Block a user