Received: by 10.213.65.68 with SMTP id h4csp2062138imn; Sun, 1 Apr 2018 23:37:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx492gGw69GJGYUE7Ob6u8F41qD9+LkHVr0nXbGagcx1Q0isuDdKTHi7epi7PkbLoz01+KKYS X-Received: by 10.98.205.69 with SMTP id o66mr6543761pfg.34.1522651062674; Sun, 01 Apr 2018 23:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522651062; cv=none; d=google.com; s=arc-20160816; b=uoJS6IaA09dLUbdcg28MNnGaL5rppWzl1JmLORrpkJFpMpSHqbJIseDGkcOdspQQ0N MGdQxn6VqSzh9BJk4FUT2C/OgPfj4hWVzYzt4tl3Umu0w+BZrWgXHQnRS+nXPlQv62lK AsqEfErOVRVUvc+c7AmWAnqvlkSPkvQWeUUYsiNbjoJEyf4SlVnSMQ4BX7CrfglFcg7S BgNOFLL4d+7+saCspNgtZyWrCMSoLqz8MLpIBSd8gA+XrI1151JrZktlxFjER0lOFuR9 HbLecwfshxdeNhuu1niHHCN56F07e/hrjSAuTAHwjiIhDPlhcF3rUX3O3v97EEMToRgG bDiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=yqd8CKgkRx6HK5Qvvm0+cu8nTO914N0x0MvZ/AN8ujA=; b=lSdWnOoarP51li3AGDkZU2tyEzVi+w7IyR9dKkDxWZ+OQWJVaanPci9EnfITkhtvpr gPN4GeMaX6oTSKabpFpmFR2O9TlzkAvPrdMfIqK/V/GQ+qPhj10eQwR+JC3HA6bZPD1X ea+s85R77tX5YaUBmnU+xn0alGETKGnToNrU2DHPm7GdhxGKOt8ZpzTfKDjz0HNxiLhw 0aA073wIQGQOQKM/W70/zq1f0++gp8HbLPoGDddvw+EpQ3AVaKmAaE//H8YtxipHsYMs aj55H4ji/LkpiTWI1OQO0E5ehNjGSxH8iXvf7PEBjKCSxdFEldBs/ScMzOg4CTjFNcc/ 6T8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=NPsXz/4f; dkim=pass header.i=@codeaurora.org header.s=default header.b=eSIlX7b8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si9246654pgv.276.2018.04.01.23.37.28; Sun, 01 Apr 2018 23:37:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=NPsXz/4f; dkim=pass header.i=@codeaurora.org header.s=default header.b=eSIlX7b8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754216AbeDBGfZ (ORCPT + 99 others); Mon, 2 Apr 2018 02:35:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49190 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752316AbeDBGfX (ORCPT ); Mon, 2 Apr 2018 02:35:23 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id ED4EC602BA; Mon, 2 Apr 2018 06:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522650922; bh=i1CgdaQ+Isn+m/PAFEYakKfCyIXwaA0+erY6T9rwVKI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=NPsXz/4fgY5yCn59i8daNrlOqebApauiz3bvPZPBLnK4Lx5gjFySm0I/AjhTaidw3 qMUw4JAw3EElWil9qWtCKkfaVV47IDHN3d2TpcU8I2Euy5q3N6oBGdhGS5OVuXO2x3 rW49nc5OUxoFdmuFSNJWDWZXCu2jiAYLm0yNLDBM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.201.3.39] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0A420602BA; Mon, 2 Apr 2018 06:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522650921; bh=i1CgdaQ+Isn+m/PAFEYakKfCyIXwaA0+erY6T9rwVKI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=eSIlX7b8r6/gSuzVJZc6mRA81f/MYUQtTDqGLwbOd5Ef9e4uitMvvR0OmLwIM1SeG m0DJDW7xUwQAQYnsXs2fq4g/YCKQV5YfcSBCxoN6zvQV2YxVPQejUvhjADUMsKCAmQ mE9qb+jK5w0Sc5K+llRRGKg7voU+VvhLQDn9saDA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0A420602BA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org Subject: Re: [PATCH v5 12/13] ARM: dts: ipq8074: Add pcie nodes To: Bjorn Andersson Cc: mark.rutland@arm.com, robh@kernel.org, devicetree@vger.kernel.org, marc.zyngier@arm.com, catalin.marinas@arm.com, richardcochran@gmail.com, will.deacon@arm.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, david.brown@linaro.org, absahu@codeaurora.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org, sboyd@codeaurora.org, linux-arm-kernel@lists.infradead.org References: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> <1521800336-19266-13-git-send-email-sricharan@codeaurora.org> <20180327174621.GO1403@tuxbook-pro> From: Sricharan R Message-ID: Date: Mon, 2 Apr 2018 12:05:12 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180327174621.GO1403@tuxbook-pro> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/27/2018 11:16 PM, Bjorn Andersson wrote: > On Fri 23 Mar 03:18 PDT 2018, Sricharan R wrote: > >> The driver/phy support for ipq8074 is available now. >> So enabling the nodes in DT. >> > > Acked-by: Bjorn Andersson > Thanks. Regards, Sricharan > Regards, > Bjorn > >> Reviewed-by: Abhishek Sahu >> Signed-off-by: Sricharan R >> --- >> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 157 +++++++++++++++++++++++++++++++++- >> 1 file changed, 156 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi >> index a8dbbf0..caf3485 100644 >> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi >> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi >> @@ -24,7 +24,7 @@ >> ranges = <0 0 0 0xffffffff>; >> compatible = "simple-bus"; >> >> - pinctrl@1000000 { >> + tlmm: pinctrl@1000000 { >> compatible = "qcom,ipq8074-pinctrl"; >> reg = <0x1000000 0x300000>; >> interrupts = ; >> @@ -229,6 +229,161 @@ >> dma-names = "tx", "rx", "cmd"; >> status = "disabled"; >> }; >> + >> + pcie_phy0: phy@86000 { >> + compatible = "qcom,ipq8074-qmp-pcie-phy"; >> + reg = <0x86000 0x1000>; >> + #phy-cells = <0>; >> + clocks = <&gcc GCC_PCIE0_PIPE_CLK>; >> + clock-names = "pipe_clk"; >> + clock-output-names = "pcie20_phy0_pipe_clk"; >> + >> + resets = <&gcc GCC_PCIE0_PHY_BCR>, >> + <&gcc GCC_PCIE0PHY_PHY_BCR>; >> + reset-names = "phy", >> + "common"; >> + status = "disabled"; >> + }; >> + >> + pcie0: pci@20000000 { >> + compatible = "qcom,pcie-ipq8074"; >> + reg = <0x20000000 0xf1d >> + 0x20000f20 0xa8 >> + 0x80000 0x2000 >> + 0x20100000 0x1000>; >> + reg-names = "dbi", "elbi", "parf", "config"; >> + device_type = "pci"; >> + linux,pci-domain = <0>; >> + bus-range = <0x00 0xff>; >> + num-lanes = <1>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + >> + phys = <&pcie_phy0>; >> + phy-names = "pciephy"; >> + >> + ranges = <0x81000000 0 0x20200000 0x20200000 >> + 0 0x100000 /* downstream I/O */ >> + 0x82000000 0 0x20300000 0x20300000 >> + 0 0xd00000>; /* non-prefetchable memory */ >> + >> + interrupts = ; >> + interrupt-names = "msi"; >> + #interrupt-cells = <1>; >> + interrupt-map-mask = <0 0 0 0x7>; >> + interrupt-map = <0 0 0 1 &intc 0 75 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_a */ >> + <0 0 0 2 &intc 0 78 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_b */ >> + <0 0 0 3 &intc 0 79 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_c */ >> + <0 0 0 4 &intc 0 83 >> + IRQ_TYPE_LEVEL_HIGH>; /* int_d */ >> + >> + clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>, >> + <&gcc GCC_PCIE0_AXI_M_CLK>, >> + <&gcc GCC_PCIE0_AXI_S_CLK>, >> + <&gcc GCC_PCIE0_AHB_CLK>, >> + <&gcc GCC_PCIE0_AUX_CLK>; >> + >> + clock-names = "iface", >> + "axi_m", >> + "axi_s", >> + "ahb", >> + "aux"; >> + resets = <&gcc GCC_PCIE0_PIPE_ARES>, >> + <&gcc GCC_PCIE0_SLEEP_ARES>, >> + <&gcc GCC_PCIE0_CORE_STICKY_ARES>, >> + <&gcc GCC_PCIE0_AXI_MASTER_ARES>, >> + <&gcc GCC_PCIE0_AXI_SLAVE_ARES>, >> + <&gcc GCC_PCIE0_AHB_ARES>, >> + <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>; >> + reset-names = "pipe", >> + "sleep", >> + "sticky", >> + "axi_m", >> + "axi_s", >> + "ahb", >> + "axi_m_sticky"; >> + status = "disabled"; >> + }; >> + >> + pcie_phy1: phy@8e000 { >> + compatible = "qcom,ipq8074-qmp-pcie-phy"; >> + reg = <0x8e000 0x1000>; >> + #phy-cells = <0>; >> + clocks = <&gcc GCC_PCIE1_PIPE_CLK>; >> + clock-names = "pipe_clk"; >> + clock-output-names = "pcie20_phy1_pipe_clk"; >> + >> + resets = <&gcc GCC_PCIE1_PHY_BCR>, >> + <&gcc GCC_PCIE1PHY_PHY_BCR>; >> + reset-names = "phy", >> + "common"; >> + status = "disabled"; >> + }; >> + >> + pcie1: pci@10000000 { >> + compatible = "qcom,pcie-ipq8074"; >> + reg = <0x10000000 0xf1d >> + 0x10000f20 0xa8 >> + 0x88000 0x2000 >> + 0x10100000 0x1000>; >> + reg-names = "dbi", "elbi", "parf", "config"; >> + device_type = "pci"; >> + linux,pci-domain = <1>; >> + bus-range = <0x00 0xff>; >> + num-lanes = <1>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + >> + phys = <&pcie_phy1>; >> + phy-names = "pciephy"; >> + >> + ranges = <0x81000000 0 0x10200000 0x10200000 >> + 0 0x100000 /* downstream I/O */ >> + 0x82000000 0 0x10300000 0x10300000 >> + 0 0xd00000>; /* non-prefetchable memory */ >> + >> + interrupts = ; >> + interrupt-names = "msi"; >> + #interrupt-cells = <1>; >> + interrupt-map-mask = <0 0 0 0x7>; >> + interrupt-map = <0 0 0 1 &intc 0 142 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_a */ >> + <0 0 0 2 &intc 0 143 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_b */ >> + <0 0 0 3 &intc 0 144 >> + IRQ_TYPE_LEVEL_HIGH>, /* int_c */ >> + <0 0 0 4 &intc 0 145 >> + IRQ_TYPE_LEVEL_HIGH>; /* int_d */ >> + >> + clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>, >> + <&gcc GCC_PCIE1_AXI_M_CLK>, >> + <&gcc GCC_PCIE1_AXI_S_CLK>, >> + <&gcc GCC_PCIE1_AHB_CLK>, >> + <&gcc GCC_PCIE1_AUX_CLK>; >> + clock-names = "iface", >> + "axi_m", >> + "axi_s", >> + "ahb", >> + "aux"; >> + resets = <&gcc GCC_PCIE1_PIPE_ARES>, >> + <&gcc GCC_PCIE1_SLEEP_ARES>, >> + <&gcc GCC_PCIE1_CORE_STICKY_ARES>, >> + <&gcc GCC_PCIE1_AXI_MASTER_ARES>, >> + <&gcc GCC_PCIE1_AXI_SLAVE_ARES>, >> + <&gcc GCC_PCIE1_AHB_ARES>, >> + <&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>; >> + reset-names = "pipe", >> + "sleep", >> + "sticky", >> + "axi_m", >> + "axi_s", >> + "ahb", >> + "axi_m_sticky"; >> + status = "disabled"; >> + }; >> }; >> >> cpus { >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation >> > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation