From patchwork Mon May 16 06:09:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6LCtIOawuOaelw==?= X-Patchwork-Id: 12850282 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 BE9DEC433EF for ; Mon, 16 May 2022 06:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239702AbiEPGJ4 (ORCPT ); Mon, 16 May 2022 02:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbiEPGJy (ORCPT ); Mon, 16 May 2022 02:09:54 -0400 Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01olkn2141.outbound.protection.outlook.com [40.92.62.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53EEC20F42; Sun, 15 May 2022 23:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZkkSUJa9m47LcTryhDz9IXW45hN/KUiszu1xz7M5QrSUbCmFXdd+qS1wjAP8BovWelE6mrOxVJfroXTZA0M8U2vfZpqQv+d9LT+VLKf0BZLBycvf4bSOjjvBH7LX1BoHoLOOHdyxuo/WoDeVsjc18eEVN4nCfgYH/Jzd4tXBDGrIRkG4yHTrf2x2WnX173Ffje4Pc6kybnmPW1je0GtHBG2i9gKwWy1W017fCr36bVdmn2BsGxNfvrVRBWt/8TSSRekN+/j4PGN14/c1I5QZRcvyG/FCt1CCDEEbt/4RDClAStKBJYMwU3l19HAH/ykpFftgCvhj4t80SFqEm9EnrQ== 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=dy943hCSy4FQOnWDMdvBXvZgX8/9Zlqga1eR1JW5QEs=; b=SIYf6ov8fxsWhhA0vVLmgGyLRNYxm8e0QNepkYmnHrYXG3fkKzxI1nPbo32CLqcZoIXigfRk1NcuDuQ83GlOUmfx98oJxbIKwnVNVEixr+Biit8KaPdDqcFZbiLlDcPDkYUB5JTNszVLihifptzgiNFHL4fVegRAx6xwwHKHwKjB8E6SD9LhuaXfDp2zh2qtAutk6xEwvRF0rG2wo4lWy7so+zL5gIJMuzCqsVpDqA5xZJNpiGCi+u5hcufBR1wm7LdVyc8NesLbSAJFI2SqzNwwBASMb9QEkjNUWutjln6gSBbGRN/sB5Ioi1EP8yUIKu0bsOJ7BpkXBas+s1YwXA== 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=dy943hCSy4FQOnWDMdvBXvZgX8/9Zlqga1eR1JW5QEs=; b=DtaT7P1oV4bUAFnbv5smknDb5L5+yV/tVH9QpKySN00cN34XMQkHT4vJdMStm71dstSPdHyuRX9HU6nxgUngVlKfHlsOMLDGw8qwuXtNuhaiZFAlbzIJ4P6fvjvPrvneoSBGVZdOZ8Y4TulTNTUE/4tM9Fz6l2GfjOFD1BAoKOgbevzR7FCR/7a3Hh74ZnrfuHzWB8qQqwSOxIqhf00ZqDTJw43Efptq/LspLgLh8UCHrffuPY7GK9maO+JFwFjaPoyUB9URjfVaVT3mrlGkqBeRo66K887YKLKzn4PlhY0DjSYV6kY9vsSH3SDT2pMRrFTLBGYWJINXNJ8WGxycMA== Received: from MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:113::14) by SYCP282MB0158.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:86::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.16; Mon, 16 May 2022 06:09:49 +0000 Received: from MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM ([fe80::702a:73df:6a57:6a00]) by MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM ([fe80::702a:73df:6a57:6a00%8]) with mapi id 15.20.5250.018; Mon, 16 May 2022 06:09:49 +0000 From: Yonglin Tan To: 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, Yonglin Tan Subject: [PATCH v2] bus: mhi: host: Add support for Quectel EM120 FCCL. Date: Mon, 16 May 2022 14:09:34 +0800 Message-ID: X-Mailer: git-send-email 2.7.4 X-TMN: [5tX4mgCJHl4UWKCUYmoen6FtcWSNpkhV] X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:113::14) X-Microsoft-Original-Message-ID: <1652681374-5086-1-git-send-email-yonglin.tan@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07797aa3-c684-406b-bce0-08da3702aeee X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNWdKAFq52I1YRrlMZv+xx8wbnqnrhAr/ueyzdY1/b6SeS71lJ1AKz1mZDOUYjsxjg1P+syCTlWjHEK+K4jnZWeqOK1xbYMy90iydJo2qI5Z8wFlhwuULQWsdXv2TNbxbZZhx09bSM049r7Vb7+RvnXwOBEKcjXBHIKhLDtS9VpCTVu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g0zCHCnIQTel62mZVq0ezPWpfIhA43kAilD0VEh7DE7TWpPqdr7U6F9kBNPXa9Eb2994YLrdWSlw0BoCY2n+BOEDOFJPIQw8y1aX0VcoMc+59yw7wbD+0JGk9RRVWu5yoD5pBDC1+UwCh9QapJ3VlPXBV/UaijZwFIH6RQupc753MTuFmhBWYCYxmYgZpQCPg18SEdo0qzOb5OZUBOhSFMUpSODUzqG4F19CUgUBxmWniydPTvEkEZZnAd4ju636Y/qFB/04IOZAydodjZcXIfRtCwiIpXK3zXUvJ4NSgie4jd7ro6VaVozaXK/qzUwn2KaqW2nZjuNLsqfPYKRmsAgVOScM7U2TePJ+Y5wjOfuvfxPP1/cjfWV3aY1ZFRwsd6sAY2hbPWgFxvvPc+ESonPM4nmA/z3SPsGXISENT7sHkEVUWqhPC4DdgDtDuzFzIZEAhQotIekn/vUH3IwjhQwVpcdrTYnw+MvLqhcmgtGyJKoaBrUhzuTObzKJnqkhx0v1kSJ0c3md3JIemPgnSeYDSuDaUxhGgPm6Q9ButMGXjtPhsD5XVIGlfU1g1zyoa6liR4IFSG3bgg= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07797aa3-c684-406b-bce0-08da3702aeee X-MS-Exchange-CrossTenant-AuthSource: MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2022 06:09:49.3346 (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: SYCP282MB0158 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- 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 },