linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175
@ 2021-10-28  3:44 Slark Xiao
  2021-10-29  9:26 ` Manivannan Sadhasivam
  0 siblings, 1 reply; 5+ messages in thread
From: Slark Xiao @ 2021-10-28  3:44 UTC (permalink / raw)
  To: mani, hemantk; +Cc: linux-arm-msm, linux-kernel, Slark Xiao

Add new device ID 0xe0bf for T99W175.

Test evidence as below:
root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
index 59a4896a8030..566483dc15db 100644
--- a/drivers/bus/mhi/pci_generic.c
+++ b/drivers/bus/mhi/pci_generic.c
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
-- 
2.25.1


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

* Re: [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175
  2021-10-28  3:44 [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175 Slark Xiao
@ 2021-10-29  9:26 ` Manivannan Sadhasivam
  2021-10-29 10:00   ` Slark Xiao
  0 siblings, 1 reply; 5+ messages in thread
From: Manivannan Sadhasivam @ 2021-10-29  9:26 UTC (permalink / raw)
  To: Slark Xiao; +Cc: mani, hemantk, linux-arm-msm, linux-kernel

Hi,

On Thu, Oct 28, 2021 at 11:44:31AM +0800, Slark Xiao wrote:
> Add new device ID 0xe0bf for T99W175.
> 

Thanks for the patch! Can you share the difference between this modem and the
one (T99W175) we already have with PID 0xe0ab?

Please include the product page in description if any.

Thanks,
Mani

> Test evidence as below:
> root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
> 0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
> root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
> [2] 2977
> root@jbd-ThinkPad-P1-Gen-4:/dev# ati
> Manufacturer: Qualcomm
> Model: T99W175
> Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
> IMEI:
> +GCAP: +CGSM
> 
> OK
> 
> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> ---
>  drivers/bus/mhi/pci_generic.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
> index 59a4896a8030..566483dc15db 100644
> --- a/drivers/bus/mhi/pci_generic.c
> +++ b/drivers/bus/mhi/pci_generic.c
> @@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>  	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
> +	/* T99W175 (sdx55) */
> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
>  	/* MV31-W (Cinterion) */
>  	{ PCI_DEVICE(0x1269, 0x00b3),
>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
> -- 
> 2.25.1
> 

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

* Re:Re: [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175
  2021-10-29  9:26 ` Manivannan Sadhasivam
@ 2021-10-29 10:00   ` Slark Xiao
  2021-10-29 10:25     ` Manivannan Sadhasivam
  0 siblings, 1 reply; 5+ messages in thread
From: Slark Xiao @ 2021-10-29 10:00 UTC (permalink / raw)
  To: Manivannan Sadhasivam; +Cc: hemantk, linux-arm-msm, linux-kernel


At 2021-10-29 17:26:19, "Manivannan Sadhasivam" <mani@kernel.org> wrote:

>Hi,
>
>On Thu, Oct 28, 2021 at 11:44:31AM +0800, Slark Xiao wrote:
>> Add new device ID 0xe0bf for T99W175.
>> 
>
>Thanks for the patch! Can you share the difference between this modem and the
>one (T99W175) we already have with PID 0xe0ab?
>
>Please include the product page in description if any.
>
>Thanks,
>Mani
>
Hi Mani,
   Thanks for this review. 
   Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4), 
 and previous T99W175/0xe0ab is using original base line(LE1.2).
   Our customer wants us to use different device ID to separate from each other. 
   Currently we don't have product page  as our customer's new product is not released.

Thanks
Slark
>> Test evidence as below:
>> root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
>> 0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
>> root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
>> [2] 2977
>> root@jbd-ThinkPad-P1-Gen-4:/dev# ati
>> Manufacturer: Qualcomm
>> Model: T99W175
>> Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
>> IMEI:
>> +GCAP: +CGSM
>> 
>> OK
>> 
>> Signed-off-by: Slark Xiao <slark_xiao@163.com>
>> ---
>>  drivers/bus/mhi/pci_generic.c | 3 +++
>>  1 file changed, 3 insertions(+)
>> 
>> diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
>> index 59a4896a8030..566483dc15db 100644
>> --- a/drivers/bus/mhi/pci_generic.c
>> +++ b/drivers/bus/mhi/pci_generic.c
>> @@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>>  	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
>>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
>>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
>> +	/* T99W175 (sdx55) */
>> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
>> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
>>  	/* MV31-W (Cinterion) */
>>  	{ PCI_DEVICE(0x1269, 0x00b3),
>>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
>> -- 
>> 2.25.1
>> 

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

* Re: Re: [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175
  2021-10-29 10:00   ` Slark Xiao
@ 2021-10-29 10:25     ` Manivannan Sadhasivam
  2021-11-02  3:01       ` Slark Xiao
  0 siblings, 1 reply; 5+ messages in thread
From: Manivannan Sadhasivam @ 2021-10-29 10:25 UTC (permalink / raw)
  To: Slark Xiao; +Cc: Manivannan Sadhasivam, hemantk, linux-arm-msm, linux-kernel

On Fri, Oct 29, 2021 at 06:00:42PM +0800, Slark Xiao wrote:
> 
> At 2021-10-29 17:26:19, "Manivannan Sadhasivam" <mani@kernel.org> wrote:
> 
> >Hi,
> >
> >On Thu, Oct 28, 2021 at 11:44:31AM +0800, Slark Xiao wrote:
> >> Add new device ID 0xe0bf for T99W175.
> >> 
> >
> >Thanks for the patch! Can you share the difference between this modem and the
> >one (T99W175) we already have with PID 0xe0ab?
> >
> >Please include the product page in description if any.
> >
> >Thanks,
> >Mani
> >
> Hi Mani,
>    Thanks for this review. 
>    Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4), 
>  and previous T99W175/0xe0ab is using original base line(LE1.2).
>    Our customer wants us to use different device ID to separate from each other. 
>    Currently we don't have product page  as our customer's new product is not released.
> 

Thanks for the explanation. Please send v2 adding the baseline info in commit
description.

Thanks,
Mani

> Thanks
> Slark
> >> Test evidence as below:
> >> root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
> >> 0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
> >> root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
> >> [2] 2977
> >> root@jbd-ThinkPad-P1-Gen-4:/dev# ati
> >> Manufacturer: Qualcomm
> >> Model: T99W175
> >> Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
> >> IMEI:
> >> +GCAP: +CGSM
> >> 
> >> OK
> >> 
> >> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> >> ---
> >>  drivers/bus/mhi/pci_generic.c | 3 +++
> >>  1 file changed, 3 insertions(+)
> >> 
> >> diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
> >> index 59a4896a8030..566483dc15db 100644
> >> --- a/drivers/bus/mhi/pci_generic.c
> >> +++ b/drivers/bus/mhi/pci_generic.c
> >> @@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
> >>  	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
> >>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
> >>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
> >> +	/* T99W175 (sdx55) */
> >> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
> >> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
> >>  	/* MV31-W (Cinterion) */
> >>  	{ PCI_DEVICE(0x1269, 0x00b3),
> >>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
> >> -- 
> >> 2.25.1
> >> 

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

* Re:Re: Re: [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175
  2021-10-29 10:25     ` Manivannan Sadhasivam
@ 2021-11-02  3:01       ` Slark Xiao
  0 siblings, 0 replies; 5+ messages in thread
From: Slark Xiao @ 2021-11-02  3:01 UTC (permalink / raw)
  To: Manivannan Sadhasivam; +Cc: hemantk, linux-arm-msm, linux-kernel



At 2021-10-29 18:25:26, "Manivannan Sadhasivam" <mani@kernel.org> wrote:
>On Fri, Oct 29, 2021 at 06:00:42PM +0800, Slark Xiao wrote:
>> 
>> At 2021-10-29 17:26:19, "Manivannan Sadhasivam" <mani@kernel.org> wrote:
>> 
>> >Hi,
>> >
>> >On Thu, Oct 28, 2021 at 11:44:31AM +0800, Slark Xiao wrote:
>> >> Add new device ID 0xe0bf for T99W175.
>> >> 
>> >
>> >Thanks for the patch! Can you share the difference between this modem and the
>> >one (T99W175) we already have with PID 0xe0ab?
>> >
>> >Please include the product page in description if any.
>> >
>> >Thanks,
>> >Mani
>> >
>> Hi Mani,
>>    Thanks for this review. 
>>    Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4), 
>>  and previous T99W175/0xe0ab is using original base line(LE1.2).
>>    Our customer wants us to use different device ID to separate from each other. 
>>    Currently we don't have product page  as our customer's new product is not released.
>> 
>
>Thanks for the explanation. Please send v2 adding the baseline info in commit
>description.
>
>Thanks,
>Mani
>
Hi Mani,
   I have sent V2 several days ago . Please take a look on that.
   Ref link: https://lore.kernel.org/lkml/20211029104918.3976-1-slark_xiao@163.com/

Thanks!
Slark
>> >> Test evidence as below:
>> >> root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
>> >> 0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
>> >> root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
>> >> [2] 2977
>> >> root@jbd-ThinkPad-P1-Gen-4:/dev# ati
>> >> Manufacturer: Qualcomm
>> >> Model: T99W175
>> >> Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
>> >> IMEI:
>> >> +GCAP: +CGSM
>> >> 
>> >> OK
>> >> 
>> >> Signed-off-by: Slark Xiao <slark_xiao@163.com>
>> >> ---
>> >>  drivers/bus/mhi/pci_generic.c | 3 +++
>> >>  1 file changed, 3 insertions(+)
>> >> 
>> >> diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
>> >> index 59a4896a8030..566483dc15db 100644
>> >> --- a/drivers/bus/mhi/pci_generic.c
>> >> +++ b/drivers/bus/mhi/pci_generic.c
>> >> @@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>> >>  	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
>> >>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
>> >>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
>> >> +	/* T99W175 (sdx55) */
>> >> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
>> >> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
>> >>  	/* MV31-W (Cinterion) */
>> >>  	{ PCI_DEVICE(0x1269, 0x00b3),
>> >>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
>> >> -- 
>> >> 2.25.1
>> >> 

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

end of thread, other threads:[~2021-11-02  3:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28  3:44 [PATCH] bus: mhi: pci_generic: Add new device ID support for T99W175 Slark Xiao
2021-10-29  9:26 ` Manivannan Sadhasivam
2021-10-29 10:00   ` Slark Xiao
2021-10-29 10:25     ` Manivannan Sadhasivam
2021-11-02  3:01       ` Slark Xiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).