From patchwork Mon May 23 02:14:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?6LCtIOawuOaelw==?= X-Patchwork-Id: 12858408 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC5BFC433EF for ; Mon, 23 May 2022 02:14:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbiEWCOX (ORCPT ); Sun, 22 May 2022 22:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbiEWCOW (ORCPT ); Sun, 22 May 2022 22:14:22 -0400 Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01olkn2168.outbound.protection.outlook.com [40.92.62.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 344A42AC61; Sun, 22 May 2022 19:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iKU/jVGyXmQA0lDUjT0WlIvbQT/4b6eWOhnyYLhLpI5Khsrl/brpX3hR3sgbdzcjwNGL4+099PZiqiBWHVxPWkHvhkNii/cW7b+bAJDCfrXMtOsogsVyzR931h/6hrixYicHKh4UVpo04JvD2vFg1bNPPAZQsjqJGyyeTPm/NWVqRQatlNspOE2zaaWPnwDe1EzQE/NCY5pYu9ucKS7OPwiXk2Ms2831F+IQcQ4nhaAa7fy6s+ltFRtJGolEZAeDZeoyly84skFnnoclg4WaCPUmgtbQ3rpDlFGG42t0+1xNaV1GZd+b5AJkvBn08l8LbOus0zH86zUmIzJHrzvSvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uP7mCb2w17MKxGJBc78hpxPn/TYVcv5OKbEmkBKxVN8=; b=QxO7YeUP+Wboni9wlQ6wAVva2L/fYpjRSl5014uZX8SYQUwPX3SabOuAxKHIbV/kZTFWMyzpmKPbvdkQK4SEjiWl4PPhx07cO/hh785ugz6g6TsR8groCGnSol9GmgVaFOuOvrTJn26WixuvavrbfccdA97ss1MweK/SswRAjAfHCqAzN4PrNlCJFtCXKkqu+54549ypQTMZzrAXbTvmnBqnZSFF9ghGvcbqywPBko/PDVSvkIxdN7fFNO+YoVie8VTBUPQUj06djLQ8Vy8azI9Qes5MGWNN8/vwGZlKdkak+bjIh4mUO3v0YXSKmnXMjnuVKWvtkfYScwjpgG73qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uP7mCb2w17MKxGJBc78hpxPn/TYVcv5OKbEmkBKxVN8=; b=DlHpZ9pPzcMstIflM+LdUf5Ui/f4Di0diOOnWWGRpaC0Z1r2R36iVrRBrZrZhSVZ10J2fH8X8Wlezl6hlNTuI1Fsv6AX4cR2L+tHI94f+gg//hIKstTDpcunSzidW7q6+A8OfSekopznEdAJmC/bKZghTvsPou8HwL3I+yAACRmuHznRDtZOOvlJjeoIH2xFINztEuXnIzsh8dqNy4Iqr/8rtx2RQkzPkose9eCFdrFWRgHz7y7IYCS44I43ulDOJmufqqRQ7F9usG9fzpfIs8XZBhozp8T+LzbnjE8StIYs6JD6SmhEYrD3kXeGQA2QBzglJJ+6VJBOqwXikGQGyw== Received: from MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:113::14) by SY4P282MB2364.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:123::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.15; Mon, 23 May 2022 02:14:16 +0000 Received: from MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM ([fe80::702a:73df:6a57:6a00]) by MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM ([fe80::702a:73df:6a57:6a00%7]) with mapi id 15.20.5273.022; Mon, 23 May 2022 02:14:16 +0000 From: =?eucgb2312_cn?b?zLcg08DB1g==?= To: =?eucgb2312_cn?b?zLcg08DB1g==?= , "mani@kernel.org" , "loic.poulain@linaro.org" , "gregkh@linuxfoundation.org" , "quic_hemantk@quicinc.com" CC: "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mhi@lists.linux.dev" Subject: =?eucgb2312_cn?b?u9i4tDogW1BBVENIIHYyXSBidXM6IG1oaTogaG9zdDogQWRkIHN1cHBv?= =?eucgb2312_cn?b?cnQgZm9yIFF1ZWN0ZWwgRU0xMjAgRkNDTC4=?= Thread-Topic: [PATCH v2] bus: mhi: host: Add support for Quectel EM120 FCCL. Thread-Index: AQHYaO+WFfW+clH/tU2JDoy2Ki03Sa0rw1EQ Date: Mon, 23 May 2022 02:14:15 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [c8hVDmmoCMbkZ6UTIzjM9OQS+l7XUmH+] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c2fe2cc5-782c-42dd-9cd8-08da3c61efd9 x-ms-exchange-slblob-mailprops: gjx25WM8ZNUBXGJUfoG4f0NDkprHm8XKs7dwC8mQC5Ncrafn2gGa/LzodaaDlH+smp061QXI2y2ifgE8Qw1NL8uBvstx4XJzVO5aLM9XJbom3uPJRI10+aVe+Htanus2cBkf0WEQ5F3xEpcuP6wMT/qd3JfNo26eB3nzKrK0KwEwO2T/oyttaj2ZbV6l/89Qd4aKcyKsdqoK0xoJotOJw2Oh87mTixrI14nrcsA5gvNQNar1bYnNMYmoY+9o/aEaVvbf3RCC64H73fot2WvRlulQRHk+iHuPKg5Uc1flmWgvOgsAienlxHu011zI2QhnhyumOQeypjjTl69qnFAE3WJTQ9mfPMrgbptocyV4BtVs0X1bZzX4+Bdw4geJZ91eMY3ZLme/qpX2U5YiWsfRO65Ql8aE6w4oISS9U9ZIFAApAqKm6BvNG7/AtbGZsGpLvVfYINIzstDVKifSHLyQzzrqGp5kw2E1gQNUxJJP+DQIQ+gXGdtrbcoVoisVIDjvhMNU4qrEWTb77fXOJXVbDVmdRYlloeinuOZV+vF2YCiol85j5p3twSxhgl+urdjRhNMG+S1gEOOwztFYDGZuDMnMeI9pHyVjwuay2fcSGvd6TjNsYF0WlC1SOFmZ94zQq5x7cc4DaEzlWeZ75pWT4gY8ABWppRG8VgoezPmRCTRAN6V7lUgxex3z70LyaPQ9GGbbHusxap0JNHHVgFUJjIYTItyOe6IleLo8HKuw7MA= x-ms-traffictypediagnostic: SY4P282MB2364:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q23kHeUHwKTJkq6J5RsGFuNkSzsQZuA7MAfg3fMCYLVuBmD+tOkb8X0i1fIPLtWUXBxdPLDIghbv4UuDSyio/5keD5y4PF/8Nn06TS8TVAh6Zambm1Wc30nczdB0GpX1b/go+Qs/aVQ2lVMt3geKxdp3w8ey9sgHBtyorI8gp9ZmHlKVOCX46w2heNTkbFkkiid0Ltf2Yxdse+br6rLMN6681l9ugcDl1yWy524ITmdU0b8uoywbGRiKj4hRgj9veJmjTuYVeNNmBvFG+bQbZEjDxN/GQk5d6MeLz2DkmENdI0WnZpGWjyC2sPNnZ+oYrVQbpccxTRtHjfV394RuHA/ApA4Kq7xZzENiznvCad0zHTe8sHZ4Hg1lJVjFDvk84IE/HysiN50ecxRxnMXQXbN8I5yxdx0Eat0T3VAeix63U4R520tTIui73Sc6hoOTbJhT2UodQgclEqt0nz+/5a75KDX+GdnpFPMPm7CShijFPX3fXGLIAiWK7y6bLbnSZ3S0FV9FpSygsXxsgcvyFWYlcwQU5CNBBgQXbYIZ2rpuD9cHBmVJlBhFYT+hHkOqo3LB3gfynlH3UdAUujTkmw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?eucgb2312_cn?b?ZDJQSU8wVlVLeVdDZWNITkc5?= =?eucgb2312_cn?b?ODJlL2o5V0NxMUZkeVJNZDRjM2o4bWRadXIzcTMxZzErbGttSnNEcFhVY2NhVWtD?= =?eucgb2312_cn?b?SGg5UTNFT21DVUh3L2cyZjJDWG1ob2VBVVBPSmsxYjh3TUI1a3ZCdWhoYVhxUG5J?= =?eucgb2312_cn?b?OERXSkhKeGJ4TVpyTEV4VUgrTjdiVStwOWgvMVVselpkSHFYWFRldFhiczdUMnh0?= =?eucgb2312_cn?b?VGdtN3JaZXVyekUrenAwd2h4cXh1SHRmNHJOOE13RW1ldVh4UFYyRnRuYmVkM0dI?= =?eucgb2312_cn?b?L3g5SzBNeE9qQW1IdThtanlCRTZ0UUx6UnhLT01RQ2o5eHB1NUcxVGh5cHorSDRy?= =?eucgb2312_cn?b?ZmFkZFJWaW9ObkI0WDA2cll4MEhuZVhqWkVsWjFkeFgwalZib0UyOXdNdFNBM09V?= =?eucgb2312_cn?b?ajFpcVhjemRpTEoreEZqT3FQbWo4a0NxdXRVNndiVnFpMVlSK1FRYmswY2M4ZFQx?= =?eucgb2312_cn?b?K0NYUUdwWWhIclBSOU9JVHg5TXphL2JaNEV4SXFpRUtXRTd2RWs1ejBVaGkwNTNU?= =?eucgb2312_cn?b?VFVVN3B2UTFNa1N2Tis4ZE90TUhLRzNVa2lCNTZrY3Z2VnBMMU9UVXoycUp0YlQ4?= =?eucgb2312_cn?b?blJhaVJEV2lCby84MDROczJXOVRXdzJC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neDNPMk1OaFVZd3BhTWlx?= =?eucgb2312_cn?b?cHFHeC9NY0dBZ2F3NmhnckdOSnBoczlBMWFtVGNBakpYc2NzQU1hY0dtUXNkMUZt?= =?eucgb2312_cn?b?RkFmTEVHMkxTTGlVRmVTWDN0dVYwMkpzUS9SZGE3dlNwVm1yRklpcFI0VHNFVWFz?= =?eucgb2312_cn?b?UWxPeW1VWVNoV1RJaVpKNGROWk9rNE9hMlJhZzVRck5IRE9QVTY5TFZzL1hvZmFS?= =?eucgb2312_cn?b?dzVLWTdEcUhUMng2V29nbzFWenMvNG5qcUMrbC9LUHVnTVRhZU9lZGtDVEVrVThu?= =?eucgb2312_cn?b?NE9ucEdhZURzandlS29LQ1hqRHk4b2JWTWlTUGlNUWYrQS96dnpOSjh2aDFxd01k?= =?eucgb2312_cn?b?TXA4SGxmbSs4SGt1UzkyWWVDZC91WDB3N1phVExqQ2RpTzZLa09lSUNTQnZZYWho?= =?eucgb2312_cn?b?WEc2NkZ3UHVuOTFzL1l6RzY0aWZxVEhqWWZ6MEJPS0xCSEFRNjVGTDg9?= MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: c2fe2cc5-782c-42dd-9cd8-08da3c61efd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2022 02:14:15.9231 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY4P282MB2364 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Mani, Do you have any concern about this patch? -----邮件原件----- 发件人: Yonglin Tan 发送时间: 2022年5月16日 14:38 收件人: mani@kernel.org; loic.poulain@linaro.org; gregkh@linuxfoundation.org; quic_hemantk@quicinc.com 抄送: linux-arm-msm@vger.kernel.org; linux-kernel@vger.kernel.org; mhi@lists.linux.dev; Yonglin Tan 主题: [PATCH v2] bus: mhi: host: Add support for Quectel EM120 FCCL. The product's enumeration align with previous Quectel EM120R-GL, so the EM120 FCCL would use the same config as Quectel EM120R-GL. Signed-off-by: Yonglin Tan --- V2: Fixed the format errors in the patch description. drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c index 8416267..0a6469c 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -557,6 +557,8 @@ static const struct pci_device_id mhi_pci_id_table[] = { .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, { PCI_DEVICE(0x1eac, 0x1002), /* EM160R-GL (sdx24) */ .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, + { PCI_DEVICE(0x1eac, 0x2001), /* EM120R-GL for FCCL (sdx24) */ + .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, /* T99W175 (sdx55), Both for eSIM and Non-eSIM */ { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0ab), .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },