mhi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] bus: mhi: host: Add support for Cinterion MV31-W with new device ID
@ 2022-06-01  6:19 Slark Xiao
  2022-06-21 13:17 ` Manivannan Sadhasivam
  0 siblings, 1 reply; 3+ messages in thread
From: Slark Xiao @ 2022-06-01  6:19 UTC (permalink / raw)
  To: mani, quic_hemantk
  Cc: gregkh, loic.poulain, mhi, linux-arm-msm, linux-kernel,
	christophe.jaillet, Slark Xiao

As Thales would use a new baseline, so we need to add
a new device ID to separate it from previous.

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

diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
index 6fbc5915ea36..a2a4fd2cd13d 100644
--- a/drivers/bus/mhi/host/pci_generic.c
+++ b/drivers/bus/mhi/host/pci_generic.c
@@ -578,6 +578,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
+	/* MV31-W (Cinterion), based on new baseline */
+	{ PCI_DEVICE(0x1269, 0x00b4),
+		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
 	/* MV32-WA (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00ba),
 		.driver_data = (kernel_ulong_t) &mhi_mv32_info },
-- 
2.25.1


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

* Re: [PATCH] bus: mhi: host: Add support for Cinterion MV31-W with new device ID
  2022-06-01  6:19 [PATCH] bus: mhi: host: Add support for Cinterion MV31-W with new device ID Slark Xiao
@ 2022-06-21 13:17 ` Manivannan Sadhasivam
  2022-06-22  3:11   ` Slark Xiao
  0 siblings, 1 reply; 3+ messages in thread
From: Manivannan Sadhasivam @ 2022-06-21 13:17 UTC (permalink / raw)
  To: Slark Xiao
  Cc: quic_hemantk, gregkh, loic.poulain, mhi, linux-arm-msm,
	linux-kernel, christophe.jaillet

On Wed, Jun 01, 2022 at 02:19:15PM +0800, Slark Xiao wrote:

Please use pci_generic in the subject as this change belongs to that driver:

bus: mhi: host: pci_generic: Add Cinterion MV31-W with new baseline

> As Thales would use a new baseline, so we need to add
> a new device ID to separate it from previous.
> 

Thales refers to Cinterion MV31-W, right? Better just use Cinterion MV31-W.
Like,

Cinterion MV31-W modem with a new baseline (firmware) is sold as a separate
product with different device ID. So add support for the same reusing the
config.

Thanks,
Mani

> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> ---
>  drivers/bus/mhi/host/pci_generic.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
> index 6fbc5915ea36..a2a4fd2cd13d 100644
> --- a/drivers/bus/mhi/host/pci_generic.c
> +++ b/drivers/bus/mhi/host/pci_generic.c
> @@ -578,6 +578,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>  	/* MV31-W (Cinterion) */
>  	{ PCI_DEVICE(0x1269, 0x00b3),
>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
> +	/* MV31-W (Cinterion), based on new baseline */
> +	{ PCI_DEVICE(0x1269, 0x00b4),
> +		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
>  	/* MV32-WA (Cinterion) */
>  	{ PCI_DEVICE(0x1269, 0x00ba),
>  		.driver_data = (kernel_ulong_t) &mhi_mv32_info },
> -- 
> 2.25.1
> 

-- 
மணிவண்ணன் சதாசிவம்

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

* Re:Re: [PATCH] bus: mhi: host: Add support for Cinterion MV31-W with new device ID
  2022-06-21 13:17 ` Manivannan Sadhasivam
@ 2022-06-22  3:11   ` Slark Xiao
  0 siblings, 0 replies; 3+ messages in thread
From: Slark Xiao @ 2022-06-22  3:11 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: quic_hemantk, gregkh, loic.poulain, mhi, linux-arm-msm,
	linux-kernel, christophe.jaillet




At 2022-06-21 21:17:51, "Manivannan Sadhasivam" <mani@kernel.org> wrote:>On Wed, Jun 01, 2022 at 02:19:15PM +0800, Slark Xiao wrote:>

>Please use pci_generic in the subject as this change belongs to that driver:
>
>bus: mhi: host: pci_generic: Add Cinterion MV31-W with new baseline
>
>> As Thales would use a new baseline, so we need to add
>> a new device ID to separate it from previous.
>> 
>
>Thales refers to Cinterion MV31-W, right? Better just use Cinterion MV31-W.
Hi, actually Cinterion belongs to Thales Group. Anyway, I will use CInterion
for this product.

>Like,
>
>Cinterion MV31-W modem with a new baseline (firmware) is sold as a separate
>product with different device ID. So add support for the same reusing the
>config.
>
I will apply it in V2. Thanks.

>Thanks,
>Mani
>
>> Signed-off-by: Slark Xiao <slark_xiao@163.com>
>> ---
>>  drivers/bus/mhi/host/pci_generic.c | 3 +++
>>  1 file changed, 3 insertions(+)
>> 
>> diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
>> index 6fbc5915ea36..a2a4fd2cd13d 100644
>> --- a/drivers/bus/mhi/host/pci_generic.c
>> +++ b/drivers/bus/mhi/host/pci_generic.c
>> @@ -578,6 +578,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>>  	/* MV31-W (Cinterion) */
>>  	{ PCI_DEVICE(0x1269, 0x00b3),
>>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
>> +	/* MV31-W (Cinterion), based on new baseline */
>> +	{ PCI_DEVICE(0x1269, 0x00b4),
>> +		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
>>  	/* MV32-WA (Cinterion) */
>>  	{ PCI_DEVICE(0x1269, 0x00ba),
>>  		.driver_data = (kernel_ulong_t) &mhi_mv32_info },
>> -- 
>> 2.25.1
>> 
>
>-- 
>மணிவண்ணன் சதாசிவம்

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

end of thread, other threads:[~2022-06-22  3:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01  6:19 [PATCH] bus: mhi: host: Add support for Cinterion MV31-W with new device ID Slark Xiao
2022-06-21 13:17 ` Manivannan Sadhasivam
2022-06-22  3:11   ` 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).