Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp355001rwi; Mon, 31 Oct 2022 02:12:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5spveW4uimunY47ayWISAmN9mjeBGEbK8ndC84cglRvnEWCeXqZmOJdAfTwPJXm3xSk8K5 X-Received: by 2002:a17:907:8a24:b0:795:bb7d:643b with SMTP id sc36-20020a1709078a2400b00795bb7d643bmr12177824ejc.115.1667207547038; Mon, 31 Oct 2022 02:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667207547; cv=none; d=google.com; s=arc-20160816; b=goLeuhjSM6Mg6bjqAgidwOYVo+GHmZ8tJHT/JRK0ZBykp9pFgmj+fmiiw9Kf4CtMmb ZgQQQ1ahIJCdU6YBwQu5iB6n8D8cRtANYcru6T9oF53tf/riEL6TXvnOS/7UfCbIYyo7 vyxhIVV9YqsydfThR6hpyuzP/SMepMO4k+ZwAyW6gO0uSHaV8eSfJl+2AU/xQRvM2rFD P7I82EOP9hDakeufmQ0hnmyIf382kzQ7foU71eu3RAlGRxsKqZHyTY6qk74KIz1UNxoi BrUbhLqotZ82zP227CaUVWnW6/X8DmBvlxsN7AIx9H3aLHk3alGGjlvH/nkafw82K7UV gq4A== 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=bysA7zfIZUQU9mDRqn3tqwuzFiZm6GZ12ZezjkfDUig=; b=HKLKcL84DDw4IpW3C+gyjUkLVlRxxwGOHRAXD/DbsxadWOHrizVN5o75NjWf84oPpn M8bS5EyP6gCfdnMMqptSTDDWjcyCm6T2Ty1gX1YvE16fduGTJQ7uKxFBPlRffGDvlEiP zyb0Wg8NMfdnfzvTpAsgyoMl9QuLve4cFox7MGxCBY3HIcmNrMjvE9Fl2A21T+9UOEka 0KnpSFKCuU3QSAlLkY6Zv7YWjeTzToFS5qYm4P0NSBepr/AWPrTkSY+Qa5GMifWtbqfX stKxVwdBCbyNfYedp/dD6B8WJELqTU4MhRjUvDXSSFye+H5VAN4sn1LxOpRCJtRQshaZ m+nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XI6nb058; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb1-20020a1709071c8100b0078e27f2ef52si8046384ejc.603.2022.10.31.02.12.02; Mon, 31 Oct 2022 02:12:27 -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=@kernel.org header.s=k20201202 header.b=XI6nb058; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbiJaIfH (ORCPT + 99 others); Mon, 31 Oct 2022 04:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbiJaIfE (ORCPT ); Mon, 31 Oct 2022 04:35:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B80F60DB; Mon, 31 Oct 2022 01:35:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0B95DB8118A; Mon, 31 Oct 2022 08:35:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFCA2C433D6; Mon, 31 Oct 2022 08:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667205300; bh=ASH/N1PVIAa5px2h9gfzwh2e654dPXGg/S3FbL5wbv4=; h=From:To:Cc:Subject:Date:From; b=XI6nb058S4gn/MfB1GMCiXnCkhiurD4TA1q6ITQAL3PS2bd8X6l2V7RUBQ+TntPzN MS9intDVVcO9DcbYqIlUM8zdBn0D2tDgyzfvVtzYIQUUlIEMkxg9qug3fRwxcOEdds Qi2qJx2aMrMVMDLNyC14FZJtree3RUvhiOyl9jk594kjORjMoVM78VG3+iZ0fTqhZM vJVUT5wyaKh2eHAIvPVN3kjCAuxL4OnDAgpFp7LaolO8NGq7aEqmQhgAaMPzhAyktZ nmwXWf8i37fJ5JpkoSNwc4VCkYRLpsZB98hs4SmEjpSANNifXqNf1s2sh6bZAAgTn7 iSUIRT92PdtSQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1opQFq-0004wG-G3; Mon, 31 Oct 2022 09:34:46 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: Hemant Kumar , mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] mhi: pci_generic: add support for sc8280xp-crd SDX55 variant Date: Mon, 31 Oct 2022 09:34:29 +0100 Message-Id: <20221031083429.18971-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org The SC8280XP Compute Reference Design (CRD) has an on-PCB SDX55 modem which uses MBIM. The exact channel configuration is not known but the Foxconn SDX55 configuration allows the modem to be used so reuse that one for now. Signed-off-by: Johan Hovold --- 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 caa4ce28cf9e..f9f4345d472d 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -542,6 +542,9 @@ static const struct mhi_pci_dev_info mhi_telit_fn990_info = { static const struct pci_device_id mhi_pci_id_table[] = { { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0304), .driver_data = (kernel_ulong_t) &mhi_qcom_sdx24_info }, + /* SC8280XP-CRD (sdx55) */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, PCI_VENDOR_ID_QCOM, 0x010c), + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, /* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, -- 2.37.3