Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1117147iob; Wed, 4 May 2022 15:09:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlGPb32knwFREB0wF5ZGwP9jsnUfDnRWqS/ZweX/Qq1GVRabCmULtOgDv6XOT3eJc6mAso X-Received: by 2002:a17:902:d2c9:b0:15e:a266:6472 with SMTP id n9-20020a170902d2c900b0015ea2666472mr17459118plc.45.1651702157754; Wed, 04 May 2022 15:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651702157; cv=none; d=google.com; s=arc-20160816; b=L/ncc5u1+PdICxTgy0m0KO98aGJU/6vGGuJNFFAtfP/oTCI4ecI7p98Iha1kCvj6mY T/qLFFzZ7Iz2aPZXyaND5Y/Ocpt+pS6Y20oMNLNJmZeLg8bzbolDi5qO2oavzUij8q4Y ShPiR3O+EOgAgSRWjKcLAOVYapMJa1ZYCjpKJCXGl/rylfdfqnui8YiFQm7CLVkaXTTz CRAM/KyE7IY32Pw+LYK+1CGxyU1g7X4S1swgUUGoaqEEpiN9SOXKe/8/7DTbtek68vG4 y0privySpmIXknnWp3Sn28YBS7k6s/FeM6NeAcp+Wm/9bjrDWUNy1Agzzxk+RDokUpAS 0VgQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N3QWKsn6u631u10eHGo0215RLJ5D8E/A2Bw9vd2WTzY=; b=ixOsCh2Mi93kIxY+VU5WznEzhy25ddPADKX/SHQrwb1tJHbSPQj8VxRsz8w+UrJQ4t toLZvwg5w/0zXCrn+KOSNDx1w2Edm0AOMzhRx76OdWuhIsO5h7Xdyk3bmKqCT1roPKzr 0ssNfjKFCeQyBjtiO3gAbDNMYtPDV9mUotxUoCO7WstrhKqLEy1nK1eFA8w8EgNFvXz5 Kdc4gBcMEiuMkrfIbIucQXqaKbgByIJpGPavLP5V99QdmKAPREgK7RcfmMKtpKrS3cTO 2DeeYu85k+DGKtSN62OUCtyuDdliHBW8cUvIn2mJNMwTN3bLmtM5AnUROnJl/Q9Luvk2 egXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NgJk+Tnw; 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 a3-20020a170902710300b0015ad8a424e3si9276547pll.428.2022.05.04.15.09.01; Wed, 04 May 2022 15:09:17 -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=NgJk+Tnw; 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 S1345376AbiEDHaI (ORCPT + 99 others); Wed, 4 May 2022 03:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345363AbiEDHaG (ORCPT ); Wed, 4 May 2022 03:30:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C3FA1EEEC; Wed, 4 May 2022 00:26:31 -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 D50C7B82417; Wed, 4 May 2022 07:26:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD2C0C385A5; Wed, 4 May 2022 07:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651649188; bh=JaSmcTVmdx/P8IUjgolCGvOpH/ML1P6nWDaNz2FPl+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NgJk+TnwDnXmS1EOHnW7KYPW9dX/+zak8wF7ICbPfGKUfcL5xv2hU5XeYXxO8+mJp xi4ii/KuxQP69wFGxcPuENp+iSv0M6MXGCDGqPVMwM5M7Kynbc2NfzT4dRYQrNLVqL xwD34B3sYl/cGN9cfeXynL4gPckapzCbazouUGCDVce3ygCkz8ALeDhrW0Ml+68q9i /BZMCvn28Cij/LVao89YWqPLT1hvswUqUd2XRV88dXntz3/961H9uLh9JaROuXcLH0 Fn7xa7Iqp1+GkzXkqflmNP3ZEDef1YvOAHIgIZvmpN8rjXj1vMJ/i2I48botd/RiWb +1U0PThH+eZvQ== Date: Wed, 4 May 2022 12:56:20 +0530 From: Manivannan Sadhasivam To: Slark Xiao Cc: quic_hemantk@quicinc.com, gregkh@linuxfoundation.org, loic.poulain@linaro.org, bbhatt@codeaurora.org, christophe.jaillet@wanadoo.fr, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] bus: mhi: host: Add support for Foxconn T99W373 and T99W368 Message-ID: <20220504072620.GA5446@thinkpad> References: <20220503024349.4486-1-slark_xiao@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220503024349.4486-1-slark_xiao@163.com> X-Spam-Status: No, score=-7.7 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,T_SCC_BODY_TEXT_LINE 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 Tue, May 03, 2022 at 10:43:49AM +0800, Slark Xiao wrote: > Product's enumeration align with previous Foxconn > SDX55, so T99W373(SDX62)/T99W368(SDX65) would use > the same config as Foxconn SDX55. > Remove fw and edl for this new commit. > > Signed-off-by: Slark Xiao > Reviewed-by: Manivannan Sadhasivam Applied to mhi-next! Thanks, Mani > --- > drivers/bus/mhi/host/pci_generic.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c > index 24c94c23d78b..6fbc5915ea36 100644 > --- a/drivers/bus/mhi/host/pci_generic.c > +++ b/drivers/bus/mhi/host/pci_generic.c > @@ -371,6 +371,15 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = { > .sideband_wake = false, > }; > > +static const struct mhi_pci_dev_info mhi_foxconn_sdx65_info = { > + .name = "foxconn-sdx65", > + .config = &modem_foxconn_sdx55_config, > + .bar_num = MHI_PCI_DEFAULT_BAR_NUM, > + .dma_data_width = 32, > + .mru_default = 32768, > + .sideband_wake = false, > +}; > + > static const struct mhi_channel_config mhi_mv3x_channels[] = { > MHI_CHANNEL_CONFIG_UL(0, "LOOPBACK", 64, 0), > MHI_CHANNEL_CONFIG_DL(1, "LOOPBACK", 64, 0), > @@ -560,6 +569,12 @@ static const struct pci_device_id mhi_pci_id_table[] = { > /* T99W175 (sdx55), Based on Qualcomm new baseline */ > { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf), > .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, > + /* T99W368 (sdx65) */ > + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0d8), > + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info }, > + /* T99W373 (sdx62) */ > + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0d9), > + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info }, > /* MV31-W (Cinterion) */ > { PCI_DEVICE(0x1269, 0x00b3), > .driver_data = (kernel_ulong_t) &mhi_mv31_info }, > -- > 2.25.1 >