From patchwork Sun Apr 28 06:53:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Atlas Yu X-Patchwork-Id: 1928584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VRxxl3LmCz23jG for ; Sun, 28 Apr 2024 16:53:30 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1s0yPX-0004ir-Rp; Sun, 28 Apr 2024 06:53:19 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1s0yPW-0004iY-Do for kernel-team@lists.ubuntu.com; Sun, 28 Apr 2024 06:53:18 +0000 Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5060C3F6E6 for ; Sun, 28 Apr 2024 06:53:18 +0000 (UTC) Received: by mail-ua1-f71.google.com with SMTP id a1e0cc1a2514c-7e822d59082so1466713241.0 for ; Sat, 27 Apr 2024 23:53:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714287197; x=1714891997; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pcBRH155NlBnCwb2muD3mMKhAMe3rnXnuqy7iBQNkcc=; b=nW1hdU066epnYOASEWO8JwkmML3d5A/sN+e7CBsvYM9G0MvI7hAUbHTuc6bo8oGf0F NdT7npTONAr4cdOzZBjFWSJOLP78e1vdS5TLfwNrstf2MvLHIFdE0gi7sbCSZ5eU33Fb zF6LDFcgoc2Hkf8sH1dtfU0Cu8kFsyQmGERGI4LeBNNNjvZ6k9YMs09yiqkA8RRnbkBp 8n7NZ5DP0rQmSrkE/wb53L0ghDVP+Yf8+AlNWW/Gj+WlYOVQ/KKn5yrpbsfN9wpYkHyd dYZ37ZWzXefW6ZL4CcdsXg8xebZHIVTlj6NGeRaFeeQP6LwxFwpInxEybif1mZi58te4 Sfdw== X-Gm-Message-State: AOJu0YwpJwsUhIlUIPHwxOOrPXzMlSFLQHecGB7hzfzqSksxzl/mR7nR w94m/LKww6PCpQ1vtpPMl8Y6XLvJIHRW0VLKuywkD8k0CwjZYcNz7WiHawMKtafd5itQHU4YR5F xPQ+zpwreVybHhzf4WGgeERw4rS9vHX9h4jHHfUkt7MjsXaYzXhFdEHQBz8os4rZ6PPoD8SfaT6 6KVgAWqnHhyg== X-Received: by 2002:a67:b407:0:b0:47c:24d2:6cf with SMTP id x7-20020a67b407000000b0047c24d206cfmr6565126vsl.30.1714287197052; Sat, 27 Apr 2024 23:53:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFP+rgsqM2hzQBjHeF8KU/TfXllQg2iakbMsUv3Bef1XdbsaKtS8ihLZGp2bzmvcIEk91ezuQ== X-Received: by 2002:a67:b407:0:b0:47c:24d2:6cf with SMTP id x7-20020a67b407000000b0047c24d206cfmr6565121vsl.30.1714287196763; Sat, 27 Apr 2024 23:53:16 -0700 (PDT) Received: from localhost ([2001:67c:1560:8007::aac:c02c]) by smtp.gmail.com with UTF8SMTPSA id ef6-20020a0562140a6600b006a0943abc0dsm3970018qvb.88.2024.04.27.23.53.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Apr 2024 23:53:16 -0700 (PDT) From: Atlas Yu To: kernel-team@lists.ubuntu.com Subject: [SRU][M][PATCH 2/2] Add support for Quectel RM520N-GL modem Date: Sun, 28 Apr 2024 14:53:01 +0800 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2063529 Quectel's RM520N-GL Lenovo variant is same as that of the existing RM520N-GL modem and uses the same config. But this one is designed for Lenovo laptop usecase, hence Quectel got a new PID. Signed-off-by: Duke Xin(辛安文) Reviewed-by: Manivannan Sadhasivam Reviewed-by: Loic Poulain Link: https://lore.kernel.org/r/20230807030454.37255-1-duke_xinanwen@163.com [mani: tweaked subject and commit message a bit] Signed-off-by: Manivannan Sadhasivam (cherry picked from commit 7b672d703e76094595500afe67db29a4c9763081) Signed-off-by: Atlas Yu --- 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 514745c6b1a5..508d6fe7afd7 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -586,6 +586,9 @@ static const struct pci_device_id mhi_pci_id_table[] = { /* RM520N-GL (sdx6x), eSIM */ { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1004), .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info }, + /* RM520N-GL (sdx6x), Lenovo variant */ + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1007), + .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info }, { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x2001), /* EM120R-GL for FCCL (sdx24) */ .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, /* T99W175 (sdx55), Both for eSIM and Non-eSIM */