diff mbox series

arm64: dts: imx8mq: Add cpu opp table

Message ID 1549973439-26706-1-git-send-email-abel.vesa@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mq: Add cpu opp table | expand

Commit Message

Abel Vesa Feb. 12, 2019, 12:11 p.m. UTC
From: Anson Huang <Anson.Huang@nxp.com>

Add i.MX8MQ cpu OPP table info for cpu-freq driver.

Signed-off-by: Anson Huang <anson.huang@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Fabio Estevam Feb. 12, 2019, 12:14 p.m. UTC | #1
Hi Abel,

On Tue, Feb 12, 2019 at 10:13 AM Abel Vesa <abel.vesa@nxp.com> wrote:
>
> From: Anson Huang <Anson.Huang@nxp.com>
>
> Add i.MX8MQ cpu OPP table info for cpu-freq driver.

Has the imx8m cpufreq driver already been submitted?
Abel Vesa Feb. 12, 2019, 12:41 p.m. UTC | #2
On 19-02-12 10:14:55, Fabio Estevam wrote:
> Hi Abel,
> 
> On Tue, Feb 12, 2019 at 10:13 AM Abel Vesa <abel.vesa@nxp.com> wrote:
> >
> > From: Anson Huang <Anson.Huang@nxp.com>
> >
> > Add i.MX8MQ cpu OPP table info for cpu-freq driver.
> 
> Has the imx8m cpufreq driver already been submitted?

I just sent the cpufreq driver along with the device registering.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 9155bd4..579015c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -672,3 +672,17 @@ 
 		};
 	};
 };
+
+&A53_0 {
+	operating-points = <
+		/* kHz    uV */
+		1200000 900000
+		800000  900000
+	>;
+	clocks = <&clk IMX8MQ_CLK_A53_DIV>, <&clk IMX8MQ_CLK_A53_SRC>,
+		<&clk IMX8MQ_ARM_PLL>, <&clk IMX8MQ_ARM_PLL_OUT>,
+		<&clk IMX8MQ_SYS1_PLL_800M>;
+	clock-names = "a53", "arm_a53_src", "arm_pll",
+		"arm_pll_out", "sys1_pll_800m";
+	clock-latency = <61036>;
+};