All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM64: DT: add gpu for msm8916
@ 2017-06-12 12:43 Rob Clark
  2017-06-12 12:43 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Rob Clark @ 2017-06-12 12:43 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: Stephen Boyd, Andy Gross, Stanimir Varbanov, Rob Clark

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index ab30939..24c24ab 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -204,6 +204,17 @@
 
 	};
 
+	gpu_opp_table: opp_table {
+		compatible = "operating-points-v2";
+
+		opp-400000000 {
+			opp-hz = /bits/ 64 <400000000>;
+		};
+		opp-19200000 {
+			opp-hz = /bits/ 64 <19200000>;
+		};
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
@@ -698,6 +709,30 @@
 			#thermal-sensor-cells = <1>;
 		};
 
+		gpu@1c00000 {
+			compatible = "qcom,adreno-306.0", "qcom,adreno";
+			reg = <0x01c00000 0x20000>;
+			reg-names = "kgsl_3d0_reg_memory";
+			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "kgsl_3d0_irq";
+			clock-names =
+			    "core",
+			    "iface",
+			    "mem",
+			    "mem_iface",
+			    "alt_mem_iface",
+			    "gfx3d";
+			clocks =
+			    <&gcc GCC_OXILI_GFX3D_CLK>,
+			    <&gcc GCC_OXILI_AHB_CLK>,
+			    <&gcc GCC_OXILI_GMEM_CLK>,
+			    <&gcc GCC_BIMC_GFX_CLK>,
+			    <&gcc GCC_BIMC_GPU_CLK>,
+			    <&gcc GFX3D_CLK_SRC>;
+			power-domains = <&gcc OXILI_GDSC>;
+			operating-points-v2 = <&gpu_opp_table>;
+		};
+
 		mdss: mdss@1a00000 {
 			compatible = "qcom,mdss";
 			reg = <0x1a00000 0x1000>,
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [PATCH 0/3] gpu + venus + iommu dt nodes for msm8916
@ 2017-05-25 17:48 Rob Clark
  2017-05-25 17:48 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
  0 siblings, 1 reply; 9+ messages in thread
From: Rob Clark @ 2017-05-25 17:48 UTC (permalink / raw)
  To: linux-arm-msm, Andy Gross; +Cc: Stanimir Varbanov, Rob Clark

I don't think Stanimir already sent the venus DT node.  But since venus
is queued up for 4.13, the gpu bindings are already upstream, and the
qcom_iommu will hopefully land someday (and bindings doc already has
Rob H's r-b), I figure it makes sense to land the dt nodes.

Sending together since 3/3 touches both venus and gpu nodes to wire
up the iommu.

Rob Clark (2):
  ARM64: DT: add gpu for msm8916
  ARM64: DT: add iommu for msm8916

Stanimir Varbanov (1):
  ARM64: DT: add video codec devicetree node

 arch/arm64/boot/dts/qcom/msm8916.dtsi | 120 ++++++++++++++++++++++++++++++++++
 1 file changed, 120 insertions(+)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-16 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 12:43 [PATCH 1/3] ARM64: DT: add gpu for msm8916 Rob Clark
2017-06-12 12:43 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
2017-06-13  2:12   ` Stephen Boyd
2017-08-16 14:31   ` Stanimir Varbanov
2017-08-16 14:53     ` Andy Gross
2017-06-12 12:43 ` [PATCH 3/3] ARM64: DT: add iommu for msm8916 Rob Clark
2017-06-13  2:12   ` Stephen Boyd
2017-06-13  2:11 ` [PATCH 1/3] ARM64: DT: add gpu " Stephen Boyd
  -- strict thread matches above, loose matches on Subject: below --
2017-05-25 17:48 [PATCH 0/3] gpu + venus + iommu dt nodes " Rob Clark
2017-05-25 17:48 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.