Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c84b6573 authored by Sunil Khatri's avatar Sunil Khatri
Browse files

ARM: dts: msm: Overload GPU properties in MSM8909 for wearable



Overload the 8909 wearable specific clocks and
b/w requirement and inherit all other properties
from the parent msm8909 gpu dtsi file.

Change-Id: I702265eed3f4469379b70bb6e503b24502979f49
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 184e2ced
Loading
Loading
Loading
Loading
+26 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -11,6 +11,11 @@
 */

&soc {
	msm_bus: qcom,kgsl-busmon {
		label = "kgsl-busmon";
		compatible = "qcom,kgsl-busmon";
	};

	/* To use BIMC based bus governor */
	gpubw: qcom,gpubw {
		compatible = "qcom,devbw";
@@ -52,8 +57,7 @@

		qcom,initial-pwrlevel = <1>;

		/* Idle Timeout = HZ/12 */
		qcom,idle-timeout = <8>;
		qcom,idle-timeout = <80>; //msec
		qcom,strtstp-sleepwake;

		/*
@@ -158,5 +162,24 @@
			};
		};
	 };
	kgsl_msm_iommu: qcom,kgsl-iommu@1f00000 {
	compatible = "qcom,kgsl-smmu-v2";
	reg = <0x1f00000 0x10000>;
	/*
	 * The gpu can only program a single context bank
	 * at this fixed offset.
	 */
	qcom,protect = <0xa000 0x1000>;
	clocks = <&clock_gcc clk_gcc_smmu_cfg_clk>,
		<&clock_gcc clk_gcc_gfx_tcu_clk>,
		<&clock_gcc clk_gcc_gtcu_ahb_clk>,
		<&clock_gcc clk_gcc_gfx_tbu_clk>;
	clock-names = "scfg_clk", "gtcu_clk", "gtcu_iface_clk",
			"gtbu_clk";
	gfx3d_user: gfx3d_user {
		compatible = "qcom,smmu-kgsl-cb";
		qcom,gpu-offset = <0xa000>;
	};
};
};
+7 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -42,18 +42,24 @@
			reg = <0>;
			qcom,gpu-freq = <307200000>;
			qcom,bus-freq = <2>;
			qcom,bus-min = <2>;
			qcom,bus-max = <2>;
		};

		qcom,gpu-pwrlevel@1 {
			reg = <1>;
			qcom,gpu-freq = <200000000>;
			qcom,bus-freq = <1>;
			qcom,bus-min = <1>;
			qcom,bus-max = <1>;
		};

		qcom,gpu-pwrlevel@2 {
			reg = <2>;
			qcom,gpu-freq = <19200000>;
			qcom,bus-freq = <0>;
			qcom,bus-min = <0>;
			qcom,bus-max = <0>;
		};

		/delete-node/qcom,gpu-pwrlevel@3;
+8 −0
Original line number Diff line number Diff line
@@ -99,3 +99,11 @@
	pinctrl-names = "default";
	pinctrl-0 = <&uart_console_sleep>;
};

&gdsc_oxili_gx {
	clock-names = "core_root_clk";
	clocks =<&clock_gcc clk_gfx3d_clk_src>;
	qcom,enable-root-clk;
	qcom,clk-dis-wait-val = <0x5>;
	status = "okay";
};