Skip to content

Commit 61d27c2

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 f2f0dca commit 61d27c2

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
@@ -608,6 +608,8 @@
608608
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (1UL) // Indicates the USBMC.VDCEN bit field is available.
609609
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
610610

611+
#define BSP_FEATURE_USB_NUM_IP (1UL)
612+
611613
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
612614

613615
// *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
@@ -608,6 +608,8 @@
608608
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Feature not available on this device.
609609
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Feature not available on this device.
610610

611+
#define BSP_FEATURE_USB_NUM_IP (0UL)
612+
611613
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
612614

613615
// *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
@@ -612,6 +612,8 @@
612612
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
613613
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
614614

615+
#define BSP_FEATURE_USB_NUM_IP (1UL)
616+
615617
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
616618

617619
// *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
@@ -612,6 +612,8 @@
612612
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
613613
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
614614

615+
#define BSP_FEATURE_USB_NUM_IP (1UL)
616+
615617
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
616618

617619
// *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
@@ -608,6 +608,8 @@
608608
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
609609
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
610610

611+
#define BSP_FEATURE_USB_NUM_IP (1UL)
612+
611613
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
612614

613615
// *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
@@ -608,6 +608,8 @@
608608
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (1UL) // Indicates the USBMC.VDCEN bit field is available.
609609
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
610610

611+
#define BSP_FEATURE_USB_NUM_IP (1UL)
612+
611613
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
612614

613615
// *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
@@ -612,6 +612,8 @@
612612
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
613613
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
614614

615+
#define BSP_FEATURE_USB_NUM_IP (1UL)
616+
615617
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
616618

617619
// *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
@@ -612,6 +612,8 @@
612612
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
613613
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
614614

615+
#define BSP_FEATURE_USB_NUM_IP (1UL)
616+
615617
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
616618

617619
// *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
@@ -608,6 +608,8 @@
608608
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
609609
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (1UL) // Indicates the USBMC.VDDUSBE bit field is available.
610610

611+
#define BSP_FEATURE_USB_NUM_IP (1UL)
612+
611613
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
612614

613615
// *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
@@ -612,6 +612,8 @@
612612
#define BSP_FEATURE_USB_REG_USBMC_VDCEN (0UL) // Indicates the USBMC.VDCEN bit field is available.
613613
#define BSP_FEATURE_USB_REG_USBMC_VDDUSBE (0UL) // Indicates the USBMC.VDDUSBE bit field is available.
614614

615+
#define BSP_FEATURE_USB_NUM_IP (1UL)
616+
615617
#define BSP_FEATURE_VIN_IS_AVAILABLE (0UL)
616618

617619
// *UNCRUSTIFY-ON*

0 commit comments

Comments
 (0)