From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: "Viresh Kumar" <viresh.kumar@linaro.org>,
linux-pm@vger.kernel.org, "Jason Cooper" <jason@lakedaemon.net>,
"Andrew Lunn" <andrew@lunn.ch>,
"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>,
"Rob Herring" <robh+dt@kernel.org>,
devicetree@vger.kernel.org,
"Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>,
linux-arm-kernel@lists.infradead.org,
"Antoine Tenart" <antoine.tenart@free-electrons.com>,
"Miquèl Raynal" <miquel.raynal@free-electrons.com>,
"Nadav Haklai" <nadavh@marvell.com>,
"Victor Gu" <xigu@marvell.com>, "Marcin Wojtas" <mw@semihalf.com>,
"Wilson Ding" <dingwei@marvell.com>,
"Hua Jing" <jinghua@marvell.com>,
"Neta Zur Hershkovits" <neta@marvell.com>,
"Evan Wang" <xswang@marvell.com>,
"Andre Heider" <a.heider@gmail.com>
Subject: Re: [PATCH v4 4/4] arm64: dts: marvell: armada-37xx: add nodes allowing cpufreq support
Date: Fri, 15 Dec 2017 16:00:24 +0100 [thread overview]
Message-ID: <876098kpdj.fsf@free-electrons.com> (raw)
In-Reply-To: <20171214150006.25438-5-gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Thu, 14 Dec 2017 16:00:06 +0100")
Hi,
On jeu., déc. 14 2017, Gregory CLEMENT <gregory.clement@free-electrons.com> wrote:
> In order to be able to use cpu freq, we need to associate a clock to each
> CPU and to expose the power management registers.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Applied on mvebu/dt64
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-372x.dtsi | 1 +
> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-372x.dtsi b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> index 59d7557d3b1b..2554e0baea6b 100644
> --- a/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> @@ -56,6 +56,7 @@
> device_type = "cpu";
> compatible = "arm,cortex-a53","arm,armv8";
> reg = <0x1>;
> + clocks = <&nb_periph_clk 16>;
> enable-method = "psci";
> };
> };
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index 90c26d616a54..3056d7168e0b 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -65,6 +65,7 @@
> device_type = "cpu";
> compatible = "arm,cortex-a53", "arm,armv8";
> reg = <0>;
> + clocks = <&nb_periph_clk 16>;
> enable-method = "psci";
> };
> };
> @@ -234,6 +235,12 @@
> };
> };
>
> + nb_pm: syscon@14000 {
> + compatible = "marvell,armada-3700-nb-pm",
> + "syscon";
> + reg = <0x14000 0x60>;
> + };
> +
> pinctrl_sb: pinctrl@18800 {
> compatible = "marvell,armada3710-sb-pinctrl",
> "syscon", "simple-mfd";
> --
> 2.15.1
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 4/4] arm64: dts: marvell: armada-37xx: add nodes allowing cpufreq support
Date: Fri, 15 Dec 2017 16:00:24 +0100 [thread overview]
Message-ID: <876098kpdj.fsf@free-electrons.com> (raw)
In-Reply-To: <20171214150006.25438-5-gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Thu, 14 Dec 2017 16:00:06 +0100")
Hi,
On jeu., d?c. 14 2017, Gregory CLEMENT <gregory.clement@free-electrons.com> wrote:
> In order to be able to use cpu freq, we need to associate a clock to each
> CPU and to expose the power management registers.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Applied on mvebu/dt64
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-372x.dtsi | 1 +
> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-372x.dtsi b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> index 59d7557d3b1b..2554e0baea6b 100644
> --- a/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> @@ -56,6 +56,7 @@
> device_type = "cpu";
> compatible = "arm,cortex-a53","arm,armv8";
> reg = <0x1>;
> + clocks = <&nb_periph_clk 16>;
> enable-method = "psci";
> };
> };
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index 90c26d616a54..3056d7168e0b 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -65,6 +65,7 @@
> device_type = "cpu";
> compatible = "arm,cortex-a53", "arm,armv8";
> reg = <0>;
> + clocks = <&nb_periph_clk 16>;
> enable-method = "psci";
> };
> };
> @@ -234,6 +235,12 @@
> };
> };
>
> + nb_pm: syscon at 14000 {
> + compatible = "marvell,armada-3700-nb-pm",
> + "syscon";
> + reg = <0x14000 0x60>;
> + };
> +
> pinctrl_sb: pinctrl at 18800 {
> compatible = "marvell,armada3710-sb-pinctrl",
> "syscon", "simple-mfd";
> --
> 2.15.1
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2017-12-15 15:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-14 15:00 [PATCH v4 0/4] Add CPU Frequency scaling support on Armada 37xx Gregory CLEMENT
2017-12-14 15:00 ` Gregory CLEMENT
2017-12-14 15:00 ` [PATCH v4 1/4] dt-bindings: marvell: Add documentation for the North Bridge PM " Gregory CLEMENT
2017-12-14 15:00 ` Gregory CLEMENT
[not found] ` <20171214150006.25438-1-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-12-14 15:00 ` [PATCH v4 2/4] MAINTAINERS: add new entries for Armada 37xx cpufreq driver Gregory CLEMENT
2017-12-14 15:00 ` Gregory CLEMENT
2017-12-14 15:00 ` [PATCH v4 3/4] cpufreq: Add DVFS support for Armada 37xx Gregory CLEMENT
2017-12-14 15:00 ` Gregory CLEMENT
[not found] ` <20171214150006.25438-4-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-12-14 15:36 ` Viresh Kumar
2017-12-14 15:36 ` Viresh Kumar
2017-12-17 18:08 ` Rafael J. Wysocki
2017-12-17 18:08 ` Rafael J. Wysocki
[not found] ` <2201504.Sp2n0UgIp2-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
2017-12-17 18:12 ` Rafael J. Wysocki
2017-12-17 18:12 ` Rafael J. Wysocki
2017-12-14 15:00 ` [PATCH v4 4/4] arm64: dts: marvell: armada-37xx: add nodes allowing cpufreq support Gregory CLEMENT
2017-12-14 15:00 ` Gregory CLEMENT
2017-12-15 15:00 ` Gregory CLEMENT [this message]
2017-12-15 15:00 ` Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=876098kpdj.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=a.heider@gmail.com \
--cc=andrew@lunn.ch \
--cc=antoine.tenart@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=dingwei@marvell.com \
--cc=jason@lakedaemon.net \
--cc=jinghua@marvell.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=miquel.raynal@free-electrons.com \
--cc=mw@semihalf.com \
--cc=nadavh@marvell.com \
--cc=neta@marvell.com \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=viresh.kumar@linaro.org \
--cc=xigu@marvell.com \
--cc=xswang@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.