From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> To: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>, Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Nicolas Pitre <nico-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Subject: [PATCH v2 2/2] ARM: sunxi: Add clocks node to the CPU nodes Date: Mon, 30 Jun 2014 12:12:23 +0200 [thread overview] Message-ID: <1404123143-13041-3-git-send-email-maxime.ripard@free-electrons.com> (raw) In-Reply-To: <1404123143-13041-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Setting the clock will make the topology code work, and will remove the following error at boot [ 0.097194] /cpus/cpu@0 missing clock-frequency property [ 0.103657] /cpus/cpu@1 missing clock-frequency property [ 0.110698] /cpus/cpu@2 missing clock-frequency property [ 0.117132] /cpus/cpu@3 missing clock-frequency property Signed-off-by: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> --- arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++++ arch/arm/boot/dts/sun7i-a20.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index a9dfa12eb735..905b84add002 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -34,24 +34,28 @@ cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu@1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; cpu@2 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <2>; }; cpu@3 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <3>; }; }; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 17823759bdc9..1d263b7f02dc 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -35,12 +35,14 @@ cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu@1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; }; -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: maxime.ripard@free-electrons.com (Maxime Ripard) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] ARM: sunxi: Add clocks node to the CPU nodes Date: Mon, 30 Jun 2014 12:12:23 +0200 [thread overview] Message-ID: <1404123143-13041-3-git-send-email-maxime.ripard@free-electrons.com> (raw) In-Reply-To: <1404123143-13041-1-git-send-email-maxime.ripard@free-electrons.com> Setting the clock will make the topology code work, and will remove the following error at boot [ 0.097194] /cpus/cpu at 0 missing clock-frequency property [ 0.103657] /cpus/cpu at 1 missing clock-frequency property [ 0.110698] /cpus/cpu at 2 missing clock-frequency property [ 0.117132] /cpus/cpu at 3 missing clock-frequency property Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++++ arch/arm/boot/dts/sun7i-a20.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index a9dfa12eb735..905b84add002 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -34,24 +34,28 @@ cpu at 0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu at 1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; cpu at 2 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <2>; }; cpu at 3 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <3>; }; }; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 17823759bdc9..1d263b7f02dc 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -35,12 +35,14 @@ cpu at 0 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <0>; }; cpu at 1 { compatible = "arm,cortex-a7"; device_type = "cpu"; + clocks = <&cpu>; reg = <1>; }; }; -- 2.0.0
next prev parent reply other threads:[~2014-06-30 10:12 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-30 10:12 [PATCH v2 0/2] ARM: topology: Allow to set the frequency through a clock Maxime Ripard 2014-06-30 10:12 ` Maxime Ripard [not found] ` <1404123143-13041-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2014-06-30 10:12 ` [PATCH v2 1/2] ARM: topology: Use a clock if possible to get the CPU frequency Maxime Ripard 2014-06-30 10:12 ` Maxime Ripard [not found] ` <1404123143-13041-2-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2014-06-30 10:29 ` Russell King - ARM Linux 2014-06-30 10:29 ` Russell King - ARM Linux [not found] ` <20140630102934.GV32514-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org> 2014-06-30 10:39 ` Vincent Guittot 2014-06-30 10:39 ` Vincent Guittot [not found] ` <CAKfTPtC+XcH122AytyZ=x1JVx9THmxCasJLA3Z1e17X_OmH1xA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-06-30 12:49 ` Maxime Ripard 2014-06-30 12:49 ` Maxime Ripard 2014-06-30 13:27 ` Vincent Guittot 2014-06-30 13:27 ` Vincent Guittot [not found] ` <CAKfTPtCgpc1J888hbqxoaF5UfcUoRwcpokme32WHPpsPAAawUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-06-30 14:01 ` Maxime Ripard 2014-06-30 14:01 ` Maxime Ripard 2014-06-30 14:48 ` Vincent Guittot 2014-06-30 14:48 ` Vincent Guittot 2014-06-30 14:58 ` Maxime Ripard 2014-06-30 14:58 ` Maxime Ripard 2014-06-30 15:06 ` Vincent Guittot 2014-06-30 15:06 ` Vincent Guittot [not found] ` <CAKfTPtDvQJ5i=t8FN0gLQex0yAC4NNgewTnGKdiCeGk7nQwZYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-07-03 7:10 ` Maxime Ripard 2014-07-03 7:10 ` Maxime Ripard 2014-07-03 7:51 ` Vincent Guittot 2014-07-03 7:51 ` Vincent Guittot [not found] ` <CAKfTPtBonwH0PoEkKazUS9bPaR631Vu7p7qZ0AF1whmXq_53wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-07-04 8:02 ` Maxime Ripard 2014-07-04 8:02 ` Maxime Ripard 2014-07-04 9:22 ` Vincent Guittot 2014-07-04 9:22 ` Vincent Guittot [not found] ` <CAKfTPtBPR9QA9h4bF3EkCZufpF+X84N7JzjU88CptR1RtiNrdg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-07-08 7:39 ` Maxime Ripard 2014-07-08 7:39 ` Maxime Ripard 2014-06-30 10:12 ` Maxime Ripard [this message] 2014-06-30 10:12 ` [PATCH v2 2/2] ARM: sunxi: Add clocks node to the CPU nodes Maxime Ripard
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=1404123143-13041-3-git-send-email-maxime.ripard@free-electrons.com \ --to=maxime.ripard-wi1+55scjutkeb57/3fjtnbpr1lh4cv8@public.gmane.org \ --cc=arnd-r2nGTMty4D4@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \ --cc=nico-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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: linkBe 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.