Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1863216pxu; Fri, 9 Oct 2020 01:28:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHuoBVyhIgjGtYKWGxK2TuiPd+fqusyA4SlFm6R5GToETQKIn2Kn9VXBZ1rhx6oFUw5wsX X-Received: by 2002:a17:906:79cf:: with SMTP id m15mr12824370ejo.11.1602232103830; Fri, 09 Oct 2020 01:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602232103; cv=none; d=google.com; s=arc-20160816; b=AdZlgMva28uuJNKOuC41VuMWg/A5xeSJWycrUsLOn9PK2xaTyI0bu7i9WAKx4pbzVj F6pxx/S0lQg97fWADIlxNFgJWWBM+MVt1yYWn+48U2AP0T3GudqTEI33L5fHpdjQNB6W AIamN+/89Y5NTnqVVhWNRhxSFcHPS3qwh2XaP1mFpPf5NjvPBQyUjUraAvuz6NH3JUy6 8PmmjLRqbIqdcquGSLmzJ8MtDPTKGmEpEUq3TekHTYQWQRwUrcZCakOyxFU0Tv64+7nG pPpuL7SdO/bGjZCug3ef2EzqqEdcAUXRxuhvD/oVpw3j1auqN5tq8uugcDOvJh4g7LCO rnNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hk6Ko+1DLzzZQnR2xkXfN7fTIXCUMPbr5Xa64JxbRMM=; b=OH+L7IJZCmqwUiYc0KNX/BNTIBmVXAT0/2FbJ5hR5SBMRvl/wzF5VPAnttYB6GeKtO ngw1qRQl7mNh0jbK+gVgdvcKt9xU9kfH4wYoDFEUeKsXLuD+Mz0k0Td774yEWmFparQL lTNJcsX3613t4nmB0HBMYu1kybf7rITU5PXMTvFn7mr3xaXByr8Ui01TpQn+SCa3bD0E Plk1ypi6MX4GMj/NZEMrBnZa/e9dG9IYSKlG2fLmjMv5B/0ndDdzHhxqCFfFzI0lCUln lkFwjzk5Y/HYxQnJ0T2M3NViwvwzgRC0FfVQ47mEFTdekoStSNTiUvJLLqo8b5lCPMFJ vH0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cR5qGMpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si5696252ejq.644.2020.10.09.01.28.00; Fri, 09 Oct 2020 01:28:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cR5qGMpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732710AbgJII0d (ORCPT + 99 others); Fri, 9 Oct 2020 04:26:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732337AbgJII0c (ORCPT ); Fri, 9 Oct 2020 04:26:32 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74892C0613D2 for ; Fri, 9 Oct 2020 01:26:32 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id r21so3245444pgj.5 for ; Fri, 09 Oct 2020 01:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hk6Ko+1DLzzZQnR2xkXfN7fTIXCUMPbr5Xa64JxbRMM=; b=cR5qGMpyIJzxaze+e1ugQINpveMHTyz5ktns5hq3lwvnpcIvv3REj7ByNjCRDRPjQb IMiVsciq5I8fND1RCB/dptg81f8qOfCehE1JvTEGVHarg0y0u+Zq/TyKOZRS1BqD43Rc kR+s6W4CQE3gCM0mSdKtgWd1FPkuANdcRe0uxmULG0EgsCNtB/2eEQzm5mjB9ydVBBew /aQJd4a65DZS1pOIwCDx+mfT/6zYyUfv5iWe9/TvmY+kxpZii4SXaNuUF95xVN9fKYpU gXYGJ5gfZsCs5vswsxj4KAQ8XypKRXykFTCCc21iDwLVAhl0JvmFn38ShywiPw2GyLGh BsMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hk6Ko+1DLzzZQnR2xkXfN7fTIXCUMPbr5Xa64JxbRMM=; b=CHHyZNiXrMph34khmuZo1j7EhYlsF4gCHBBGbxZZCPnqKMSvaElXMLuVYSCu3Ab5Sp EOEpyE1lfWLdyQGIesdMvpF8xeacO88xAFinW4+sRZfpFMV1cP/jN5L7Efrqs3HlK6uS i/W+J+yZ61/+v/j3syss38Fo1vQFyPvABnH7QLxhYx7nKbhZcW85uE23TWEz7Rpiso6q sormv+xhotdykjBGu+lmZmlK02di6PkiVPu1Ce0dIvmbs+UofNSvGffjV9VgQXHtSjNC DVmlRiqevGJDZJ8ByNmRFX7eq7em+mippdwUH3lOQx4Xd/EmiLN/+DVBSFrOuTQoSe4G sr+A== X-Gm-Message-State: AOAM531/+bKdTMfjhJf+KYrgoi4BWc57L17LtjJJKI5hpMbpseLocefQ /Woe+Cn5KgQwC8k32V0zk37W X-Received: by 2002:a17:90a:a505:: with SMTP id a5mr3242077pjq.76.1602231991801; Fri, 09 Oct 2020 01:26:31 -0700 (PDT) Received: from linux ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id q65sm9541550pga.88.2020.10.09.01.26.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Oct 2020 01:26:31 -0700 (PDT) Date: Fri, 9 Oct 2020 13:56:25 +0530 From: Manivannan Sadhasivam To: gokulsri@codeaurora.org Cc: sboyd@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, sricharan@codeaurora.org, kvalo@codeaurora.org Subject: Re: [PATCH v3 3/3] arm64: dts: Enabled MHI device over PCIe Message-ID: <20201009082625.GD23649@linux> References: <1602160344-19586-1-git-send-email-gokulsri@codeaurora.org> <1602160344-19586-4-git-send-email-gokulsri@codeaurora.org> <20201008131115.GA23649@linux> <7dd959fd2d9375d5529cf52e93aafda3@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7dd959fd2d9375d5529cf52e93aafda3@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 08, 2020 at 11:03:42PM +0530, gokulsri@codeaurora.org wrote: > On 2020-10-08 18:41, Manivannan Sadhasivam wrote: > > Hi, > > > > On Thu, Oct 08, 2020 at 06:02:24PM +0530, Gokul Sriram Palanisamy wrote: > > > Enabled MHI device support over PCIe and added memory > > > reservation required for MHI enabled QCN9000 PCIe card. > > > > > > Signed-off-by: Gokul Sriram Palanisamy > > > --- > > > arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 47 > > > ++++++++++++++++++++++++++++++ > > > 1 file changed, 47 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi > > > b/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi > > > index 0827055..e5c1ec0 100644 > > > --- a/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi > > > +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi [...] > > > + pcie0_rp: pcie0_rp { > > > + reg = <0 0 0 0 0>; > > > + > > > + status = "ok"; > > > + mhi_0: qcom,mhi@0 { > > > > MHI doesn't support devicetree as of now so how is this supposed to > > work? > > Have you tested this series with mainline? > > > > Thanks, > > Mani > > > > Hi Mani, > This node entries will be consumed by ath11k driver and is not supposed to > be consumed by mhi driver. > And yes, it is tested on Mainline. > Can you please point me to the relevant binding or the code which consumes this change? Also please explain what it does! For enabling MHI support over PCIe you don't need this node at all. You just need to define the PCIe device ID in the ath11k driver and that's it. Adding Kalle to this thread... Thanks, Mani > Regards, > Gokul > > > > + reg = <0 0 0 0 0 >; > > > + > > > + qrtr_instance_id = <0x20>; > > > + base-addr = <0x50f00000>; > > > + m3-dump-addr = <0x53c00000>; > > > + etr-addr = <0x53d00000>; > > > + qcom,caldb-addr = <0x53e00000>; > > > + }; > > > + }; > > > }; > > > > > > &pcie1 { > > > status = "ok"; > > > perst-gpio = <&tlmm 61 0x1>; > > > + > > > + pcie1_rp: pcie1_rp { > > > + reg = <0 0 0 0 0>; > > > + > > > + status = "ok"; > > > + mhi_1: qcom,mhi@1 { > > > + reg = <0 0 0 0 0 >; > > > + > > > + qrtr_instance_id = <0x21>; > > > + base-addr = <0x54600000>; > > > + m3-dump-addr = <0x57300000>; > > > + etr-addr = <0x57400000>; > > > + qcom,caldb-addr = <0x57500000>; > > > + }; > > > + }; > > > + }; > > > }; > > > > > > &qmp_pcie_phy0 { > > > -- > > > 2.7.4 > > >