refactor(hal/usb): Rename usb_phy files to usb_fsls_phy

This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
pull/12901/merge
Darian Leung 2023-12-28 11:48:34 +08:00
rodzic 341a8f2d65
commit b26472af29
11 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -19,7 +19,7 @@
#include "esp32s2/rom/usb/usb_common.h"
#endif
#if SOC_USB_SERIAL_JTAG_SUPPORTED
#include "hal/usb_phy_ll.h"
#include "hal/usb_fsls_phy_ll.h"
#endif
#include "esp_rom_gpio.h"
#include "esp_rom_uart.h"

Wyświetl plik

@ -9,7 +9,7 @@
#include <stdatomic.h>
#include "esp_log.h"
#include "hal/usb_serial_jtag_ll.h"
#include "hal/usb_phy_ll.h"
#include "hal/usb_fsls_phy_ll.h"
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#include "freertos/ringbuf.h"

Wyświetl plik

@ -246,7 +246,7 @@ if(NOT BOOTLOADER_BUILD)
list(APPEND srcs
"usb_hal.c"
"usb_dwc_hal.c"
"usb_phy_hal.c")
"usb_fsls_phy_hal.c")
endif()
if(${target} STREQUAL "esp32")

Wyświetl plik

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "hal/usb_phy_ll.h"
#include "hal/usb_phy_hal.h"
#include "hal/usb_fsls_phy_ll.h"
#include "hal/usb_fsls_phy_hal.h"
void usb_phy_hal_init(usb_phy_hal_context_t *hal)
{

Wyświetl plik

@ -12,8 +12,8 @@
#include "esp_private/periph_ctrl.h"
#include "esp_private/usb_phy.h"
#include "soc/usb_otg_periph.h"
#include "hal/usb_phy_hal.h"
#include "hal/usb_phy_ll.h"
#include "hal/usb_fsls_phy_hal.h"
#include "hal/usb_fsls_phy_ll.h"
#include "esp_rom_gpio.h"
#include "driver/gpio.h"
#include "hal/gpio_ll.h"