mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 2/2] ARM64: dts: meson-gxm: add SCPI configuration for GXM
Date: Thu, 24 Nov 2016 15:38:12 +0100	[thread overview]
Message-ID: <b48c1f43-c448-a9f1-b292-afb96dd18b4d@baylibre.com> (raw)
In-Reply-To: <20161123162040.24843-3-martin.blumenstingl@googlemail.com>

On 11/23/2016 05:20 PM, Martin Blumenstingl wrote:
> This adds the SCPI DVFS clock index and configures the CPU cores
> accordingly.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
> index c1974bb..2b1d276e 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
> @@ -85,6 +85,7 @@
>  			reg = <0x0 0x100>;
>  			enable-method = "psci";
>  			next-level-cache = <&l2>;
> +			clocks = <&scpi_dvfs 1>;
>  		};
>  
>  		cpu5: cpu at 101 {
> @@ -93,6 +94,7 @@
>  			reg = <0x0 0x101>;
>  			enable-method = "psci";
>  			next-level-cache = <&l2>;
> +			clocks = <&scpi_dvfs 1>;
>  		};
>  
>  		cpu6: cpu at 102 {
> @@ -101,6 +103,7 @@
>  			reg = <0x0 0x102>;
>  			enable-method = "psci";
>  			next-level-cache = <&l2>;
> +			clocks = <&scpi_dvfs 1>;
>  		};
>  
>  		cpu7: cpu at 103 {
> @@ -109,6 +112,12 @@
>  			reg = <0x0 0x103>;
>  			enable-method = "psci";
>  			next-level-cache = <&l2>;
> +			clocks = <&scpi_dvfs 1>;
>  		};
>  	};
>  };
> +
> +&scpi_dvfs {
> +	clock-indices = <0 1>;
> +	clock-output-names = "vbig", "vlittle";
> +};
> 

Tested successfully on my Nexbox A1 (S912)

Tested-by: Neil Armstrong <narmstrong@baylibre.com>

So
Acked-by: Neil Armstrong <narmstrong@baylibre.com>

  reply	other threads:[~2016-11-24 14:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 16:20 [PATCH 0/2] minor GXL and GXM improvements Martin Blumenstingl
2016-11-23 16:20 ` [PATCH 1/2] ARM64: dts: meson-gx: move the SCPI and SRAM nodes to meson-gx Martin Blumenstingl
2016-11-24 14:38   ` Neil Armstrong
2016-11-23 16:20 ` [PATCH 2/2] ARM64: dts: meson-gxm: add SCPI configuration for GXM Martin Blumenstingl
2016-11-24 14:38   ` Neil Armstrong [this message]
2016-11-28 19:08 ` [PATCH 0/2] minor GXL and GXM improvements Kevin Hilman
2016-12-02 23:08 ` [PATCH v2 0/2] GXL and GXM SCPI improvements Martin Blumenstingl
2016-12-02 23:08   ` [PATCH v2 1/2] ARM64: dts: meson-gx: move the SCPI and SRAM nodes to meson-gx Martin Blumenstingl
2016-12-02 23:08   ` [PATCH v2 2/2] ARM64: dts: meson-gxm: add SCPI configuration for GXM Martin Blumenstingl
2016-12-09  4:39   ` [PATCH v2 0/2] GXL and GXM SCPI improvements Kevin Hilman

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=b48c1f43-c448-a9f1-b292-afb96dd18b4d@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus-amlogic@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®