Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2180128rwi; Tue, 1 Nov 2022 05:00:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6RV4Q9mfKTq9ehGy4st2oYkR2Eehkmltb/hmyw27bX7UyUrp9doJbID1i1rVKV8Zbpys97 X-Received: by 2002:a17:907:a07a:b0:7ad:88f8:7ed9 with SMTP id ia26-20020a170907a07a00b007ad88f87ed9mr17260900ejc.579.1667304016626; Tue, 01 Nov 2022 05:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667304016; cv=none; d=google.com; s=arc-20160816; b=R9hkMP1DaSmUMmO0v1M86KfRT0rqkT6PMTPfMPJptD+HZjLG/TlshriUAunMTtYiEv EIhYEHBFJgObWtpbqPzjI6TifFLyaOXod+ADHq3DQA2C59k3pw8e0TlqYWq9RNHqI04H zUofr7cnS71ZntKKluTbmIT4XwAiiqOOOdhg/967xxsuJbb012kTdYmk1/gGjqPEXEIR TGMmToeBflEyNjDSkencSwOnknYtdKClb/+jRLBrShC2Vo+8IOS0fAEawXctoCaFaXK8 /O7whOGTiUUnH1JlrlujiERMln5gjX166DvsoDZj9lqHLcSqVDYJDL0pmtvvTx8QgaJ6 io1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FIt3aFptl46VhJPHXHEFMsIcQ8p3zWebGbFMKDwb1Xw=; b=vBvd7HklSMzcG98CRguX7BIaxQ/gu+hTE+bqf7EMfc7EU5u1WxdnFm4CzEBqjWgWJe uvRURxNovkCpacMeubNuaAZV3IaD3yykQDbARB97nFZKO+njoRsOraX/0fCUi3uiVtZ0 UkSzqEn1DvIcWpzFk+ZOdvSbyxLc0eSvuLuEBXbh2Xtd/+ItnGYp5il85DX4nq4SUIBX MCd4xQwYHi8WqpbiwiLFCV8U8tsVg1PjZRFYEp9RqmKXJzbXVGCLy+Ls9r4eLxbqBwrV WzRXJW0TzjQFCqOUETm8E6G6olofJhHaiY6+jrztnJPK3Ma/3kcSRZoE1OB4qjHMsV1W Jwtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a3mID94c; 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 b23-20020aa7cd17000000b00461c3758704si8997774edw.36.2022.11.01.04.59.50; Tue, 01 Nov 2022 05:00:16 -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=a3mID94c; 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 S230378AbiKALtk (ORCPT + 97 others); Tue, 1 Nov 2022 07:49:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231560AbiKALtB (ORCPT ); Tue, 1 Nov 2022 07:49:01 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06B64639C; Tue, 1 Nov 2022 04:43:13 -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 AE956B81CE8; Tue, 1 Nov 2022 11:43:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EABCC433D6; Tue, 1 Nov 2022 11:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667302990; bh=JcTrk/RF3JsSWeq8eah3J59uSDdXRqqd/gbzuT/lHpY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a3mID94cJ3Uf66O/Er1AuJ2n2fP8Juk9Mke++TzbpWqT+GlPVBWScoFqGkUhnOGTE RUxC/6WBn0mEPtil+qH7v9Rq8Q7ajYjGlkio6GdRzM+TSfad1OZ4tnZD8+j1c833Wx OQIXkmKCT8LEAnF7KdpiyL2pC+jNKjukCYvXCJBa2beuQSviG0gi9/6C6WWaL72nKO IkXc5zfDwBG7FVDrmG2OdAPzVXubjFbdSXiTNK28Svlwial8hUHqzojEXRgVRdHEaX r3spBnNvNyoYwAMAcwgRcmD9lwbHttvagFsV5pkgU9DhwdaqqDh7473lCmpeBGPuNd SHKGLDCaLHRYg== Date: Tue, 1 Nov 2022 17:12:58 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Manivannan Sadhasivam , Hemant Kumar , mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mhi: pci_generic: add support for sc8280xp-crd SDX55 variant Message-ID: <20221101114258.GB54667@thinkpad> References: <20221031083429.18971-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221031083429.18971-1-johan+linaro@kernel.org> 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 On Mon, Oct 31, 2022 at 09:34:29AM +0100, Johan Hovold wrote: > 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) */ Platform device name is not needed. > + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, PCI_VENDOR_ID_QCOM, 0x010c), Sub ID looks wierd. Did you test with mhi_qcom_sdx55_info? If it didn't work, what was the issue? Thanks, Mani > + .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 > > -- மணிவண்ணன் சதாசிவம்