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

Commit d59c0df3 authored by Jonathan Avila's avatar Jonathan Avila
Browse files

ARM: dts: msm: Add cpufreq support for sdxpoorwills



Add msm-cpufreq table and device for sdxpoorwills. This change allows for
proper cpu frequency voting and cpufreq sysfs entries.

Change-Id: I469364772ce2fb65206bd71ee78beabeb39e627e
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent 4e7334e5
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
#include <dt-bindings/soc/qcom,tcs-mbox.h>
#include "skeleton.dtsi"
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,cpu-a7.h>
#include <dt-bindings/clock/qcom,gcc-sdxpoorwills.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
@@ -157,6 +158,20 @@
		};
	};

	msm_cpufreq: qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clocks = <&clock_cpu APCS_CLK>;
		clock-names = "cpu0_clk";

		qcom,cpufreq-table-0 =
				<  153600 >,
				<  300000 >,
				<  345600 >,
				<  576000 >,
				< 1094400 >,
				< 1497600 >;
	};

	clock_gcc: qcom,gcc@100000 {
		compatible = "qcom,gcc-sdxpoorwills";
		reg = <0x100000 0x1f0000>;