src/jtag/drivers/mpsse: Add support for new FTDI chip types.
commit56a7925a1d2d890adbb5dbd76542bfe901620103
authorLuca Rufer <lucarufer333@gmail.com>
Thu, 8 Feb 2024 20:59:47 +0000 (8 21:59 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 Mar 2024 11:03:10 +0000 (2 11:03 +0000)
tree8599e58d65af67547e206f84306ad555f2e4159e
parent179169268ca1bbac092324f597fbea090d75355e
src/jtag/drivers/mpsse: Add support for new FTDI chip types.

The new FTDI ICs with USB-C Support have different bcdDevice
identifiers. The added bcdDevice identifiers are taken from
the chips datasheet, respectively. The patch was tested with
a FT4232HP IC.
The used bcdDevice IDs can be found in Section 8.1 of the respective
Datasheets:
https://ftdichip.com/wp-content/uploads/2023/09/DS_FT233HP-v1.4.pdf
https://ftdichip.com/wp-content/uploads/2023/09/DS_FT2233HP-v1.4.pdf
https://ftdichip.com/wp-content/uploads/2023/09/DS_FT4233HP-v1.5.pdf

Change-Id: I701083cb72030e398ce1c74310676e13895a77ff
Signed-off-by: Luca Rufer <lucarufer333@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8134
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/drivers/mpsse.c
src/jtag/drivers/mpsse.h