All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] qmi_wwan: Added support for Fibocom NL668 series
@ 2018-12-12 21:45 Jörgen Storvist
  2018-12-15 19:32 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jörgen Storvist @ 2018-12-12 21:45 UTC (permalink / raw)
  To: Bjørn Mork; +Cc: netdev

Added support for Fibocom NL668 series QMI interface.
Using QMI_QUIRK_SET_DTR required for Qualcomm MDM9x07 chipsets.

Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>
---

Changelog:
v2: list order to correpond to USB VID/PID values
v3: Fixed patch formatting
v4: Fixed encoding to UTF8

Thanks Bjørn for the pointers, should be UTF8 now also.

usb-devices output:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 18 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1508 ProdID=1001 Rev=03.18
S:  Manufacturer=Nodecom NL668 Modem
S:  Product=Nodecom NL668-CN Modem
S:  SerialNumber=
C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
I:  If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)

diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 72a55b6..dada68f 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -1117,6 +1117,7 @@ static const struct usb_device_id products[] = {
 	{QMI_FIXED_INTF(0x1435, 0xd181, 4)},	/* Wistron NeWeb D18Q1 */
 	{QMI_FIXED_INTF(0x1435, 0xd181, 5)},	/* Wistron NeWeb D18Q1 */
 	{QMI_FIXED_INTF(0x1435, 0xd191, 4)},	/* Wistron NeWeb D19Q1 */
+	{QMI_QUIRK_SET_DTR(0x1508, 0x1001, 4)},	/* Fibocom NL668 series */
 	{QMI_FIXED_INTF(0x16d8, 0x6003, 0)},	/* CMOTech 6003 */
 	{QMI_FIXED_INTF(0x16d8, 0x6007, 0)},	/* CMOTech CHE-628S */
 	{QMI_FIXED_INTF(0x16d8, 0x6008, 0)},	/* CMOTech CMU-301 */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v4] qmi_wwan: Added support for Fibocom NL668 series
  2018-12-12 21:45 [PATCH v4] qmi_wwan: Added support for Fibocom NL668 series Jörgen Storvist
@ 2018-12-15 19:32 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-12-15 19:32 UTC (permalink / raw)
  To: jorgen.storvist; +Cc: bjorn, netdev

From: Jörgen Storvist <jorgen.storvist@gmail.com>
Date: Wed, 12 Dec 2018 22:45:34 +0100

> Added support for Fibocom NL668 series QMI interface.
> Using QMI_QUIRK_SET_DTR required for Qualcomm MDM9x07 chipsets.
> 
> Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>
> ---
> 
> Changelog:
> v2: list order to correpond to USB VID/PID values
> v3: Fixed patch formatting
> v4: Fixed encoding to UTF8
> 
> Thanks Bjørn for the pointers, should be UTF8 now also.

Applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-15 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 21:45 [PATCH v4] qmi_wwan: Added support for Fibocom NL668 series Jörgen Storvist
2018-12-15 19:32 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.