From patchwork Wed Jan 30 11:04:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 157062 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5799052jaa; Wed, 30 Jan 2019 03:04:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN6So8E7S49HZjTv/37DUD1nf7zKxed92rewQmXepleN+5L7zdsDYZb8LTeR/FRkEPMMi2Gz X-Received: by 2002:a17:902:6b49:: with SMTP id g9mr29379268plt.98.1548846287958; Wed, 30 Jan 2019 03:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548846287; cv=none; d=google.com; s=arc-20160816; b=b3PnNiWaBmUHri+XmLtW/sYxe5N1JiA2EGS+ruVDjt03O/ihP1ZFCFcrcs+D8WW9Zi mv5wYZLlZ9ftGS8hG3uwJPjmGywzMbXbp2dObe06QHE4Wj6bRTekwX28XMRrkS3hCiFn R4ds0+xLk4S+T71fNHzeZs0FdQiXDtRW1g8OZaT9EPYMog69ir6Xk6Xk+JTi8CKe6Pwc THXkcHPZyWekJx0YlQ/VMYp+LdpC9brRLxE01VUO4JbpFbOjc9gwijDzkNrHTyRiMkul 7Um/NwwhygSQ89ma6hyW5y5uNc8EKXPtvkQlLR/UE1n6R7JivYDLmEm3DoS0OjqDgOlE 2/tg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cJVPwkmiIQelbKGNm2p5QIWk1VCEgPV2Jz4v/peH4c0=; b=tdc4z5q3UyE6LiosTbZBs2XUo8HVATbQ14u/ADJ9Lz8AlH3fq87oNMd21c1cwfFV7U GP6DYvQ5qDm2sgN7W0gAt/G1ClAANW1xYJCN1inFgjT1Bh30R1mCbEScUk44oq3meuBi ZLWXxxVMmJFH5Q/5LLWuBMpDwf5GDJbtcgw21QdrtpF47uX7OwCvZnIDq3dtLrT+h4sE MIo0tDtvh/YvoiHlvk8dJ0Bt77ilDqR5+IShfpyBN8W3fm0plBpO8clZit5DsdL78Vzt N4toiVMdn03AWxpLT2Lv5/33e9ykCBFuDxGOeEbHjtKOYFv6zoVXdnEBcCLP3hwecZlU T+Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IWr9Rc2j; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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. [209.132.180.67]) by mx.google.com with ESMTP id 31si1231849plj.244.2019.01.30.03.04.47; Wed, 30 Jan 2019 03:04:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@linaro.org header.s=google header.b=IWr9Rc2j; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730631AbfA3LEr (ORCPT + 15 others); Wed, 30 Jan 2019 06:04:47 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38091 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730425AbfA3LEr (ORCPT ); Wed, 30 Jan 2019 06:04:47 -0500 Received: by mail-wm1-f65.google.com with SMTP id m22so21245239wml.3 for ; Wed, 30 Jan 2019 03:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cJVPwkmiIQelbKGNm2p5QIWk1VCEgPV2Jz4v/peH4c0=; b=IWr9Rc2jF2+43aD07+VNUHZD1wZmOftjZqSq1yIRCCEOZTuTKk/Yy5taHsOI7un8Or 5NT3tjbDv5XULb7UCpJxBvkpgZbHdmsrbPLb1TRmPWgcbiISOIzzMa/DB3sVExDf/xg2 PaKSvRQHAA9+rHGy/fxyUwRaFD+/MdhiyutOo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cJVPwkmiIQelbKGNm2p5QIWk1VCEgPV2Jz4v/peH4c0=; b=ZbPQiKpcghj+rbd7NclL7RyI2mnxAguh5rSx3lsvPY1fQWOiUqdrnvoyVSWrjxtt9i ROhpwbnjMuDI0q/kBvFk6R98A59rMak8NnpLrnQ4i/HHu7a1BBFh1DEg7yy9IkcVEdia M4k04G3HqFuIh+IwM3T2vGX2+r3vHdBNpNrxk/+TNdHIx+/4izZU/TdzmN+JfhgVFFWC PDEI+mlVZBEdtebakzug6L8RLdoPNlqgIW2f1JKldKC7EYAilLjUc3tC0jdEF2Zv9l/m 9NtyMKHyBiwaXDNpSBYUhYn75P8r4tUx9w4+Ti1b2uH27tkhxU8QPhUX5A4ylB0tjap0 0DWg== X-Gm-Message-State: AJcUukf1aYCxoD7CWpYiSP6X+nPytYiTILhUubjxsr4EN36L4UHtjZmJ 2uLf8Lf+xcGZ8K7TM+UjM8wN5Q== X-Received: by 2002:a1c:2d42:: with SMTP id t63mr26100138wmt.9.1548846284978; Wed, 30 Jan 2019 03:04:44 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id w16sm1138208wrp.1.2019.01.30.03.04.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Jan 2019 03:04:44 -0800 (PST) From: Srinivas Kandagatla To: andy.gross@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Archit Taneja , Vivek Gautam , Srinivas Kandagatla Subject: [PATCH v2 3/6] arm64: qcom: msm8996.dtsi: Add Display nodes Date: Wed, 30 Jan 2019 11:04:34 +0000 Message-Id: <20190130110437.5424-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130110437.5424-1-srinivas.kandagatla@linaro.org> References: <20190130110437.5424-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Archit Taneja Signed-off-by: Archit Taneja [Removed instances of mmagic clocks; Use qcom,msm8996-smmu-v2 bindings] Signed-off-by: Vivek Gautam Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 120 ++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 96adda520bd5..0d0b9482aa4d 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1337,6 +1337,126 @@ "bus_slave"; }; }; + + mdss: mdss@900000 { + compatible = "qcom,mdss"; + + reg = <0x900000 0x1000>, + <0x9b0000 0x1040>, + <0x9b8000 0x1040>; + reg-names = "mdss_phys", + "vbif_phys", + "vbif_nrt_phys"; + + power-domains = <&mmcc MDSS_GDSC>; + interrupts = ; + + interrupt-controller; + #interrupt-cells = <1>; + + clocks = <&mmcc MDSS_AHB_CLK>; + clock-names = "iface_clk"; + + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mdp: mdp@901000 { + compatible = "qcom,mdp5"; + reg = <0x901000 0x90000>; + reg-names = "mdp_phys"; + + interrupt-parent = <&mdss>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&mmcc MDSS_AHB_CLK>, + <&mmcc MDSS_AXI_CLK>, + <&mmcc MDSS_MDP_CLK>, + <&mmcc SMMU_MDP_AXI_CLK>, + <&mmcc MDSS_VSYNC_CLK>; + clock-names = "iface_clk", + "bus_clk", + "core_clk", + "iommu_clk", + "vsync_clk"; + + iommus = <&mdp_smmu 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdp5_intf3_out: endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; + }; + }; + + hdmi: hdmi-tx@9a0000 { + compatible = "qcom,hdmi-tx-8996"; + reg = <0x009a0000 0x50c>, + <0x00070000 0x6158>, + <0x009e0000 0xfff>; + reg-names = "core_physical", + "qfprom_physical", + "hdcp_physical"; + + interrupt-parent = <&mdss>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&mmcc MDSS_MDP_CLK>, + <&mmcc MDSS_AHB_CLK>, + <&mmcc MDSS_HDMI_CLK>, + <&mmcc MDSS_HDMI_AHB_CLK>, + <&mmcc MDSS_EXTPCLK_CLK>; + clock-names = + "mdp_core_clk", + "iface_clk", + "core_clk", + "alt_iface_clk", + "extp_clk"; + + phys = <&hdmi_phy>; + phy-names = "hdmi_phy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hdmi_in: endpoint { + remote-endpoint = <&mdp5_intf3_out>; + }; + }; + }; + }; + + hdmi_phy: hdmi-phy@9a0600 { + #phy-cells = <0>; + compatible = "qcom,hdmi-phy-8996"; + reg = <0x9a0600 0x1c4>, + <0x9a0a00 0x124>, + <0x9a0c00 0x124>, + <0x9a0e00 0x124>, + <0x9a1000 0x124>, + <0x9a1200 0x0c8>; + reg-names = "hdmi_pll", + "hdmi_tx_l0", + "hdmi_tx_l1", + "hdmi_tx_l2", + "hdmi_tx_l3", + "hdmi_phy"; + + clocks = <&mmcc MDSS_AHB_CLK>, + <&gcc GCC_HDMI_CLKREF_CLK>; + clock-names = "iface_clk", + "ref_clk"; + }; + }; }; adsp-pil {