Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp570104rwl; Fri, 4 Nov 2022 03:59:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4WV5XMHe/WRA3oPNHEsgWhr+I78D+nzNwfT5DmmpJuf5NiDy3HK28TfAJDy+PqReB6JCKx X-Received: by 2002:a05:6a00:1993:b0:56d:a820:6181 with SMTP id d19-20020a056a00199300b0056da8206181mr21873079pfl.83.1667559580759; Fri, 04 Nov 2022 03:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667559580; cv=none; d=google.com; s=arc-20160816; b=WRWMnkf6RUtA/CS95pAcRoKR+t55ghFzvzsViM0MH4zzFzxpAO4IZT3wFSTcI9JpPw 9jVZS8HSKA6oNBWMIG9lUenkDlxIptLlTkLAlTQA3ACTwKEsY2jhG56Inese2TTDcNED uwuLTcSGYMXuYF53a689Q8OTz+6WdUriexSAdcunzZpayY2MS/KhiJZk+bGmgYZ1NydI wH+WDoxnjTk29q7hznSGy+ZEAPvbNEB4VzNydwHnwlzB3zf+KA8aF/3Q47IZ6rc3zfNR gbXZTZZrUOUoR4yRM3qxxBtagpZfakgGd2F7oD9K7hvn3a6I+TNxgkkP3+MTeaKfVp6n CmfA== 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=e13w8ySyHzpgX/XQNpc57GKWNMbZMg2I5ferhecsp5g=; b=koe91cNgdBI805mWSDgaWEHi2z4sVQuRehpPOzxci9+tmNS6Yvsu5I3kyyPieQ2quD /hB6Ws8BZA3Gx9Vk1mCSxNHOzjk9+5bsupklFIWglJSRubmWbdalYepl3hJvWf4nyRT2 aGSAucL36829OyURCoYo7JO5yWR8W1BHczOXlcPzTS+L18D7NiRaQczSoGjzldF1uLrZ Dzh6q23I1CVNDjSsVCSMShMd5ZOMRZY2ucZHmMoYB311ICBawTwNL3dHpPztSbTF8m33 LIyoqFQ8oru7hCeNvRgaZZltzp9tBwzGbrdfN2z/OnFsOij7sxfwIAaBP/K82w/U380j 8+sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TQMFVP0D; 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 nu3-20020a17090b1b0300b0020a47a4c951si3595950pjb.147.2022.11.04.03.59.28; Fri, 04 Nov 2022 03:59:40 -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=TQMFVP0D; 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 S231296AbiKDJjq (ORCPT + 96 others); Fri, 4 Nov 2022 05:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbiKDJjm (ORCPT ); Fri, 4 Nov 2022 05:39:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BB2A2250B; Fri, 4 Nov 2022 02:39:41 -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 dfw.source.kernel.org (Postfix) with ESMTPS id CF15C62113; Fri, 4 Nov 2022 09:39:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36916C433D6; Fri, 4 Nov 2022 09:39:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667554780; bh=vBRE2zaNk9N2+qpe0TEUqPTS+nFtRWARCQHJUnRfQFQ=; h=From:To:Cc:Subject:Date:From; b=TQMFVP0DnwjC5bCpvwoumZ69nBPt7Pwp8dEuwdxMjH31qncebTLneyvwX/QPwfpBK Z4EIpr949jgEpHSYhOgZmN3DwhMwJYikFIQAc+jeHyi+3K7omux6QAeI4bpq62gQry ZzKAOWazoY0Sn0OZHR1GRyPBFDFZzE7YqQxTcIwv4NadBE1D4o2FsqCmLGIkRhUHOm vM27Yx8QI2fhcghxjQgNPWbvU9PJeZLBBFfgV8VDNn2u8oqfeNPkOgWr+KVNo8Qj1E 1ZIksIdBveqqnZ0eQjQT0qM5BqWTCwcI9GIk5n7ipSE4UMnDb9U0hZADsBSg4U6heZ LoD8/2TSRTr4w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oqtAX-00064k-QT; Fri, 04 Nov 2022 10:39:22 +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 v2] mhi: pci_generic: add support for sc8280xp-crd SDX55 variant Date: Fri, 4 Nov 2022 10:39:13 +0100 Message-Id: <20221104093913.23347-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.1 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 --- Changes in v2 - drop comment describing this variant (Mani) 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 caa4ce28cf9e..7dcd0ef3184a 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -542,6 +542,8 @@ 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 }, + { 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