summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorMaksim Salau <maksim.salau@gmail.com>2017-02-13 15:14:34 +0300
committerJohan Hovold <johan@kernel.org>2017-02-13 14:42:19 +0100
commit89fd8ee86c02735b67d9113d55375861cca2ef19 (patch)
treef76046bb1dabb9b68a3d6d8e31c2b9ece749fda3 /drivers/usb
parent5182c2cf2a9bfb7f066ef0bdd2bb6330b94dd74e (diff)
downloadblackbird-op-linux-89fd8ee86c02735b67d9113d55375861cca2ef19.tar.gz
blackbird-op-linux-89fd8ee86c02735b67d9113d55375861cca2ef19.zip
USB: serial: upd78f0730: add ID for EVAL-ADXL362Z
The adaptor on Analog Devices EVAL-ADXL362Z development board is used to flash and debug firmware of on-board Renesas RL78/G13 MCU. Also added support of the 153600 baud rate, since the stock firmware uses it. Signed-off-by: Maksim Salau <maksim.salau@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/upd78f0730.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/serial/upd78f0730.c b/drivers/usb/serial/upd78f0730.c
index 55b9a18b6c38..f1e6c07ffc81 100644
--- a/drivers/usb/serial/upd78f0730.c
+++ b/drivers/usb/serial/upd78f0730.c
@@ -17,7 +17,7 @@
* - stop bits: 1 or 2
* - parity: even, odd or none
* - flow control: none
- * - baud rates: 0, 2400, 4800, 9600, 19200, 38400, 57600, 115200
+ * - baud rates: 0, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 153600
* - signals: DTR, RTS and BREAK
*/
@@ -34,6 +34,7 @@
static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x045B, 0x0212) }, /* YRPBRL78G13, YRPBRL78G14 */
{ USB_DEVICE(0x0409, 0x0063) }, /* V850ESJX3-STICK */
+ { USB_DEVICE(0x064B, 0x7825) }, /* Analog Devices EVAL-ADXL362Z-DB */
{}
};
@@ -288,7 +289,7 @@ static speed_t upd78f0730_get_baud_rate(struct tty_struct *tty)
{
const speed_t baud_rate = tty_get_baud_rate(tty);
const speed_t supported[] = {
- 0, 2400, 4800, 9600, 19200, 38400, 57600, 115200
+ 0, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 153600
};
int i;
OpenPOWER on IntegriCloud