Message ID | 20230712083741.7615-1-slark_xiao@163.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1008762vqm; Wed, 12 Jul 2023 01:58:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAkViijO4IeLqos7hxRmsOCmlVxMAw0WJnB05Ft7gUqFGtEDaJzvPahxbzzX1fimKiS/qp X-Received: by 2002:a17:907:90d5:b0:992:bd2b:d0b8 with SMTP id gk21-20020a17090790d500b00992bd2bd0b8mr14356098ejb.29.1689152305401; Wed, 12 Jul 2023 01:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689152305; cv=none; d=google.com; s=arc-20160816; b=Nxlu4uBk5Dw/EDemopZgDfsI73xcyhJuqnsg/FUKqcMLwc/zRVUh3l3B46d6qBYV7r w1z53s/rDtw0y9+emBP3Kfg6+kvWB9OqVjQAs0P10tGOjzBHwNxqWcd8+5Isw36vJXxC IxbweJ8Pbr6vw06guB3TaiTDPcxcP6iY0d250XUtEvJYz5wsgM1DcUNOfHMlKnSWOXSD Gb4zy5M1/72mYgYtCXrsx2TVjC8LacRrPFYIUmDQj90cIFnzIZTwcRWBV6dTv5zStHHe cY+w6HQ6b/i6jKP8c9sHdsQIb6hGkoUB9tlVm3xYo06kj8YDW3ZWfNCTWyLW/ZYLMYgM yAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iqmSUZwzBw1hM5T9jJOZyxbxjgisyiiptjpGYA/61SM=; fh=kUQ4r6jNSpCDvS0m5pYceW34YyNY7Ck8dT9JR7eE1p8=; b=0vI9Wulxhki7dO3gOgXLZv+HmOUuanRnNT7URPz6O1a30OylTKHo7ZN+qNTU2Qtbgy cRlmlTwiXh3bWGdFp4SgcxjyCr6xOjCtbWJN160rbiqMLh9qzI0gm6DSlh3J8geO5YGe dnG18eFz2r/stA6ou1Jq+K9BJwkefhqdkYj+F9761Q6PTrKxoaTfPBVz9NLwpbcgTmoL RMCrTwzDjEMNY7RZMz1SjW2bZIus6rQWh9caS6TM0MkUkKgn1TM3MuqneaeYaSpRAefv CbEv5JIM4X+AwTbSpmAUCL24Uk6bqVBUlkYawGMJLTUdgzxBleKXxrAkj69vp2TF6kWr bGvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=DlQ4LhKM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a17090655d600b009935d9765fasi3775942ejp.1013.2023.07.12.01.58.02; Wed, 12 Jul 2023 01:58:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=DlQ4LhKM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232835AbjGLIjP (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Wed, 12 Jul 2023 04:39:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbjGLIim (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 12 Jul 2023 04:38:42 -0400 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B81CA1998; Wed, 12 Jul 2023 01:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=iqmSU ZwzBw1hM5T9jJOZyxbxjgisyiiptjpGYA/61SM=; b=DlQ4LhKM1FT98BQwQJvww 4jSnB2wL+d32M/MHYsISXivV5jvklDzN9hoRXsXvLysrJd/RGGdmF7btwC5YAXzO VKsi5V252l5W3UlVWSfTDLwY5IeB9tshY+hgMlyyqYB/LBZMkQ27pD7tDzsoW5mY VuEgVRiN4t9fJiFDMaWmxc= Received: from jbd-ThinkPad-X1-Nano-Gen-2.web.setting (unknown [223.160.228.167]) by zwqz-smtp-mta-g5-1 (Coremail) with SMTP id _____wBXbUZXZq5kZhRCAA--.6187S2; Wed, 12 Jul 2023 16:37:44 +0800 (CST) From: Slark Xiao <slark_xiao@163.com> To: mani@kernel.org, loic.poulain@linaro.org Cc: fabio.porcedda@gmail.com, bhelgaas@google.com, song.fc@gmail.com, duke_xinanwen@163.com, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Slark Xiao <slark_xiao@163.com> Subject: [PATCH] bus: mhi: host: pci_generic: Add support for Dell DW5932e Date: Wed, 12 Jul 2023 16:37:41 +0800 Message-Id: <20230712083741.7615-1-slark_xiao@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wBXbUZXZq5kZhRCAA--.6187S2 X-Coremail-Antispam: 1Uf129KBjvJXoWrZw1xKry3KF18CFWxJF4xWFg_yoW8Jr4DpF 4F934jyF4kJr4jyaykt3yDXas8Wan3Gry7KF4xK34Y9F4qyFWYgr92gry2gF15Ka9Yqa1a qFy8XFWjg3WqkF7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUbXowUUUUU= X-Originating-IP: [223.160.228.167] X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/1tbioxmqZGNfupXBtAAAsS X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771204568025198884 X-GMAIL-MSGID: 1771204568025198884 |
Series |
bus: mhi: host: pci_generic: Add support for Dell DW5932e
|
|
Commit Message
Slark Xiao
July 12, 2023, 8:37 a.m. UTC
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(+)
Comments
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>
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 >
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 >
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 },