Skip to content

Commit a751dfe

Browse files
thenguyenyfKhiemNguyenT
authored andcommitted
hal: renesas: ra: add r_usb_device support on USBFS
Add support for USBFS on r_usb_device Signed-off-by: The Nguyen <[email protected]>
1 parent 22ba637 commit a751dfe

File tree

19 files changed

+38
-0
lines changed

19 files changed

+38
-0
lines changed

drivers/ra/fsp/src/bsp/mcu/ra2a1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@
619619
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
620620
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
621621

622+
#define BSP_FEATURE_USB_NUM_IP (1UL)
623+
622624
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
623625

624626
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra2l1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@
619619
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Feature not available on this device.
620620
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Feature not available on this device.
621621

622+
#define BSP_FEATURE_USB_NUM_IP (0UL)
623+
622624
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
623625

624626
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4e1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@
623623
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
624624
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
625625

626+
#define BSP_FEATURE_USB_NUM_IP (1UL)
627+
626628
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
627629

628630
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4e2/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@
623623
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
624624
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
625625

626+
#define BSP_FEATURE_USB_NUM_IP (1UL)
627+
626628
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
627629

628630
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4l1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@
619619
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
620620
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
621621

622+
#define BSP_FEATURE_USB_NUM_IP (1UL)
623+
622624
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
623625

624626
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4m1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@
619619
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
620620
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
621621

622+
#define BSP_FEATURE_USB_NUM_IP (1UL)
623+
622624
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
623625

624626
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4m2/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@
623623
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
624624
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
625625

626+
#define BSP_FEATURE_USB_NUM_IP (1UL)
627+
626628
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
627629

628630
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4m3/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@
623623
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
624624
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
625625

626+
#define BSP_FEATURE_USB_NUM_IP (1UL)
627+
626628
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
627629

628630
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra4w1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@
619619
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
620620
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
621621

622+
#define BSP_FEATURE_USB_NUM_IP (1UL)
623+
622624
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
623625

624626
// *UNCRUSTIFY-ON*

drivers/ra/fsp/src/bsp/mcu/ra6e1/bsp_feature.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@
623623
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
624624
#define BSP_FEATURE_USB_SCKDIVCR2_HAS_CLOCK_DIV (0UL) // Indicates there is a USB clock divider setting as part of the SCKDIVCR2 register.
625625

626+
#define BSP_FEATURE_USB_NUM_IP (1UL)
627+
626628
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
627629

628630
// *UNCRUSTIFY-ON*

0 commit comments

Comments
 (0)