All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e
@ 2023-07-12  8:37 Slark Xiao
  2023-07-12 11:41 ` Loic Poulain
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Slark Xiao @ 2023-07-12  8:37 UTC (permalink / raw)
  To: mani, loic.poulain
  Cc: fabio.porcedda, bhelgaas, song.fc, duke_xinanwen, mhi,
	linux-arm-msm, linux-kernel, Slark Xiao

The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e).
Both of them are designed based on Qualcomm SDX62 and it will
align with the Foxconn sdx65 settings.

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

diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
index 9ca0dc3a3bfe..07172789b197 100644
--- a/drivers/bus/mhi/host/pci_generic.c
+++ b/drivers/bus/mhi/host/pci_generic.c
@@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* T99W510 (sdx24), variant 3 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
+	/* DW5932e-eSIM (sdx62), With eSIM */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
+	/* DW5932e (sdx62), Non-eSIM*/
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
-- 
2.25.1


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

* Re: [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e
  2023-07-12  8:37 [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e Slark Xiao
@ 2023-07-12 11:41 ` Loic Poulain
  2023-07-12 12:24 ` Manivannan Sadhasivam
  2023-07-12 12:26 ` Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Loic Poulain @ 2023-07-12 11:41 UTC (permalink / raw)
  To: Slark Xiao
  Cc: mani, fabio.porcedda, bhelgaas, song.fc, duke_xinanwen, mhi,
	linux-arm-msm, linux-kernel

On Wed, 12 Jul 2023 at 10:38, Slark Xiao <slark_xiao@163.com> wrote:
>
> The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e).
> Both of them are designed based on Qualcomm SDX62 and it will
> align with the Foxconn sdx65 settings.
>
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

Reviewed-by: Loic Poulain <loic.poulain@linaro.org>

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

* Re: [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e
  2023-07-12  8:37 [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e Slark Xiao
  2023-07-12 11:41 ` Loic Poulain
@ 2023-07-12 12:24 ` Manivannan Sadhasivam
  2023-07-12 12:26 ` Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2023-07-12 12:24 UTC (permalink / raw)
  To: Slark Xiao
  Cc: loic.poulain, fabio.porcedda, bhelgaas, song.fc, duke_xinanwen,
	mhi, linux-arm-msm, linux-kernel

On Wed, Jul 12, 2023 at 04:37:41PM +0800, Slark Xiao wrote:
> The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e).
> Both of them are designed based on Qualcomm SDX62 and it will
> align with the Foxconn sdx65 settings.
> 
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

One nit below but I will fix that while applying.

Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>

> ---
>  drivers/bus/mhi/host/pci_generic.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
> index 9ca0dc3a3bfe..07172789b197 100644
> --- a/drivers/bus/mhi/host/pci_generic.c
> +++ b/drivers/bus/mhi/host/pci_generic.c
> @@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>  	/* T99W510 (sdx24), variant 3 */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
> +	/* DW5932e-eSIM (sdx62), With eSIM */
> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
> +	/* DW5932e (sdx62), Non-eSIM*/

Space required before */

- Mani

> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
>  	/* MV31-W (Cinterion) */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
> -- 
> 2.25.1
> 

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

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

* Re: [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e
  2023-07-12  8:37 [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e Slark Xiao
  2023-07-12 11:41 ` Loic Poulain
  2023-07-12 12:24 ` Manivannan Sadhasivam
@ 2023-07-12 12:26 ` Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2023-07-12 12:26 UTC (permalink / raw)
  To: Slark Xiao
  Cc: loic.poulain, fabio.porcedda, bhelgaas, song.fc, duke_xinanwen,
	mhi, linux-arm-msm, linux-kernel

On Wed, Jul 12, 2023 at 04:37:41PM +0800, Slark Xiao wrote:
> The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e).
> Both of them are designed based on Qualcomm SDX62 and it will
> align with the Foxconn sdx65 settings.
> 
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

Applied to mhi-next!

- Mani

> ---
>  drivers/bus/mhi/host/pci_generic.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
> index 9ca0dc3a3bfe..07172789b197 100644
> --- a/drivers/bus/mhi/host/pci_generic.c
> +++ b/drivers/bus/mhi/host/pci_generic.c
> @@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
>  	/* T99W510 (sdx24), variant 3 */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
>  		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
> +	/* DW5932e-eSIM (sdx62), With eSIM */
> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
> +	/* DW5932e (sdx62), Non-eSIM*/
> +	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
> +		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
>  	/* MV31-W (Cinterion) */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
>  		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
> -- 
> 2.25.1
> 

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

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

end of thread, other threads:[~2023-07-12 12:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12  8:37 [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e Slark Xiao
2023-07-12 11:41 ` Loic Poulain
2023-07-12 12:24 ` Manivannan Sadhasivam
2023-07-12 12:26 ` Manivannan Sadhasivam

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.