Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4072579rwl; Sun, 2 Apr 2023 22:23:47 -0700 (PDT) X-Google-Smtp-Source: AK7set8yU7SpPJjABALdS5iTWY5F6Q7PnDH6n1qumlTihfY9sC3GVNtcFC/Q2hIWrm1yUMMEHG9D X-Received: by 2002:a05:6a20:4d96:b0:dd:e6f5:a798 with SMTP id gj22-20020a056a204d9600b000dde6f5a798mr33677540pzb.6.1680499426935; Sun, 02 Apr 2023 22:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680499426; cv=none; d=google.com; s=arc-20160816; b=urZ1+r+iJBFluY/9rea4kiKchtPXtlUDZEuDd/xYvujsycZMuzw5GgQSDdG+S/BaVm NIS4GcRNo2vP9yQlwZ60NqLo3NH5TorvgY8rUzGDNcCo+yjjVVFOLNqgXpilEeHA0sN8 N8POwuJRTOAp2+Cs48vVeNDYzNhZDFuCfz4+Au8UmiFmOYNVZmf+WoiDo9KTU2BLiWF0 nvYq/SdO1OUQIkaIS6Jf9au2E71BX2Dd1EeF+fCrbkl+/eklvEIUDTUXCoKlw/QA8ZhP r0RnPWnZ0mklGLEjNnlU9fMrfGYYAeoie5dBYzeHv2bYADJBSjLXSDJ6kOKszk43432Y MApA== 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=5REITh6UHx5UaVRlY43ea1/vDcZ05Pz6z2fG0ghuw4A=; b=xhgF3RCKjNr1/bivSTnaM67MzUH03clv2R7DHG43kiaLorcUOM5izH5oDI5HvF2U5Y IxR33wSuskytR1gh04YDEMAVjPq67YUoRbByPFpfZhQQFXHQO0uLt4aS2XlRKlyBUybt vj0MQP8V4jmYUnt+1pXtHlj4U5JfW5tfTooj5uivcr0F+b1kdXYrj3OKW3RaDWY/5KCu hz1ilh1QP0ABcN9grZRmi/eZoUo0UctOyBScG5vKGRDh3Vuj+WlFuHPk8VRhiIjJ1Ftg WtfOJ1USiu9obRRqu5wcBLtP+oAR8KHh0/sjUOrSyvCO0PmUVbRyGfyKlHHoFr0S734s puzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Z/ZUv/5J"; 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 i19-20020a635853000000b004e182a64f33si7185139pgm.533.2023.04.02.22.23.35; Sun, 02 Apr 2023 22:23:46 -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="Z/ZUv/5J"; 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 S231489AbjDCFVX (ORCPT + 99 others); Mon, 3 Apr 2023 01:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231509AbjDCFVS (ORCPT ); Mon, 3 Apr 2023 01:21:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CFE5C174; Sun, 2 Apr 2023 22:21: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 dfw.source.kernel.org (Postfix) with ESMTPS id BD837614A9; Mon, 3 Apr 2023 05:21:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5635C433EF; Mon, 3 Apr 2023 05:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680499272; bh=Mj47Qs23bdwv1bF+3GKPtoumqI9bOKyr2shj6muWIEI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z/ZUv/5JhIq3gjDZ3+c0yUzAuJanRGFd5cFeQj89qw2F7Jf2pTLvybuOhDisRE1os hBjA96W8ZXjvii/iSpNTQZJCpTq/RVlHVyqz6Yd9OzW0fBAOu6oIceUXEb5gF2CmCr ua1L71VUP4okfczraqNvEW1mMx7+hQrIjE3AKwXIx9fUN0uVTZLw+S9iiLyEiLYQDt p3nGq4Q831L59lefm8SiD/0CefCzZHLSYI4b3hONjD8VU3rd72GZDtdTI9bgE2M0Ts 5LQ/CE/Bo81xrUrHzvDAaD+q9ZW+S8oHDGDZYgm8BXThVCCcm5eJKxV0l8hEvpOW87 L52hSgtqHRhBA== Date: Mon, 3 Apr 2023 10:51:07 +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: <20230403052107.GF4627@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=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Applied to mhi-next! - 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 > -- மணிவண்ணன் சதாசிவம்