Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4072179rwl; Sun, 2 Apr 2023 22:23:06 -0700 (PDT) X-Google-Smtp-Source: AKy350bSq8+PypLlOv6KsSLfPF9NEk+9ZqH13wCjeNQ5jiaG2I0UtZyeNIdhzSETHE3z48VaKegH X-Received: by 2002:a17:90b:1b0c:b0:23f:6958:e931 with SMTP id nu12-20020a17090b1b0c00b0023f6958e931mr37436037pjb.46.1680499386673; Sun, 02 Apr 2023 22:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680499386; cv=none; d=google.com; s=arc-20160816; b=vszfJIY6gM0M6RagVKDRiLwIvTHerPZ8EiQ8zTr0p7ZeQD0D0GRfhoCv8VWOeB2oq+ sjE63j05D3l+YX28U11RmLUElmLCo74a02ExxVJ8PEdfpAbpD0xj2h+1iRBE8D5SQuvb B6gGNXXPMW52kD0cIdaDANcT/ax5tk6TFsjKKwIvdvtzlNbZKl9wmLdCPaAazVjmfWn4 dgjnMUK84/OYj464bolPZUTjTqV24h/J44GcKKuPnBQ0DSFUgnIiz4ivY65Bfe+xvCrc NgZwJP/l6t406MhFPdevx8/tFjiHJz5Ol51kPYv0vfgWWX3o5TV3u+SW0BEsNkr6up3K R7iQ== 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=b5wWiihYkb2ZoCyiGMtkjjgkAzD7FAVN01gHaLxxh0g=; b=aTVRJTRcBBv8dOhHoH3ztC6mrQufZjeHSQbhIT+QRQLN4/hNLrNfE6gu6zUABWKEs5 cXGjQ0SLLym7ciyL5fMe6gHpPnWQSq/bFcexD3Zq+J6D3iGaEdz8+HjOugLHLrHKpCnt /jUpoPp5KAA89gtILDiNAIhBIVx9SMLII+UVO+KiYt+nPWXNogLpOXlJ6/gaEQgSvdQd p6lwwkrkBKc2rvCPXk0zqLc4dqpwQnsgXt6PHQytqDJzqKltiwQOPwxhSEAutAaxqg0g rri6GMjtqM7OpIt+zoS6R2bETy1bRwGIhtEjrX4/noAql50KzxJEAb3ioMGpfs2i2o2d Db0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IVRcmUTI; 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 r14-20020a17090a4dce00b0022c1c376f57si7077185pjl.33.2023.04.02.22.22.55; Sun, 02 Apr 2023 22:23:06 -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=IVRcmUTI; 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 S231466AbjDCFUd (ORCPT + 99 others); Mon, 3 Apr 2023 01:20:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230192AbjDCFUc (ORCPT ); Mon, 3 Apr 2023 01:20:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BC795BA9; Sun, 2 Apr 2023 22:20: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 07169B81136; Mon, 3 Apr 2023 05:20:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 522DFC433D2; Mon, 3 Apr 2023 05:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680499228; bh=VO7ZTBlvGEHOHPdtxg5W/qEhh/9v1Pznmzk39ZuXRGk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IVRcmUTIxQhvE2DUpbbYkBUAoZwXtnehxq79P9rZ3iKWkAHBxVzCVwbNCobVdlaeR 2IUElUNED9T8ir/7WtgA18zAaQMX53sBbXjKWo6B0efYBzkIDe8yTjwxxyg3cFTqSL 6YBLTxUVFTLp5V9tI4byuOinRw3epNMzW69+CBhoQLbaYtV1Z+tjbPZabMjDa3RSKz p6cUvt9QWbsPszvcI8y0v+cI8ddKoHyaz2n0PsG6d8xjiGt/p8h6mSmJRu2xP+AI/0 VLnCXk+DsCUJV7hWFLwSgZXeSpx2CjsOBgJCzXEb3CHLkb5mCkrtS27VtIot0XbIAr KtlOMJ54h3pog== Date: Mon, 3 Apr 2023 10:50:24 +0530 From: Manivannan Sadhasivam To: Slark Xiao Cc: mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bus: mhi: pci_generic: Add Foxconn T99W510 Message-ID: <20230403052024.GE4627@thinkpad> References: <20230329072239.93632-1-slark_xiao@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230329072239.93632-1-slark_xiao@163.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Wed, Mar 29, 2023 at 03:22:39PM +0800, Slark Xiao wrote: > The Foxconn T99W510 device is designed based on Qualcomm > SDX24. Add 3 variants for different potential customer. > > Signed-off-by: Slark Xiao Reviewed-by: Manivannan Sadhasivam - Mani > --- > drivers/bus/mhi/host/pci_generic.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c > index 91d02f84ba21..db0a0b062d8e 100644 > --- a/drivers/bus/mhi/host/pci_generic.c > +++ b/drivers/bus/mhi/host/pci_generic.c > @@ -363,6 +363,15 @@ static const struct mhi_controller_config modem_foxconn_sdx55_config = { > .event_cfg = mhi_foxconn_sdx55_events, > }; > > +static const struct mhi_pci_dev_info mhi_foxconn_sdx24_info = { > + .name = "foxconn-sdx24", > + .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_pci_dev_info mhi_foxconn_sdx55_info = { > .name = "foxconn-sdx55", > .fw = "qcom/sdx55m/sbl1.mbn", > @@ -587,6 +596,15 @@ static const struct pci_device_id mhi_pci_id_table[] = { > /* T99W373 (sdx62) */ > { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0d9), > .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info }, > + /* T99W510 (sdx24), variant 1 */ > + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f0), > + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info }, > + /* T99W510 (sdx24), variant 2 */ > + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f1), > + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info }, > + /* T99W510 (sdx24), variant 3 */ > + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2), > + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info }, > /* MV31-W (Cinterion) */ > { PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3), > .driver_data = (kernel_ulong_t) &mhi_mv31_info }, > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்