From patchwork Fri Dec 2 23:08:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9459369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B31D60515 for ; Fri, 2 Dec 2016 23:09:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D4BD284E3 for ; Fri, 2 Dec 2016 23:09:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2213D28587; Fri, 2 Dec 2016 23:09:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B039B284E3 for ; Fri, 2 Dec 2016 23:09:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCwxI-0003nb-Ki; Fri, 02 Dec 2016 23:09:24 +0000 Received: from mail-wj0-x242.google.com ([2a00:1450:400c:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCwxG-0003jh-MD; Fri, 02 Dec 2016 23:09:23 +0000 Received: by mail-wj0-x242.google.com with SMTP id kp2so31967809wjc.0; Fri, 02 Dec 2016 15:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UD1nOpfXkQ1m2NVuITSAo5NBLOHhL4az6D83zIXoXio=; b=oN9n6rc6bklCrF26mtaSmEVVUrEzq/7jw/eMJoi2wyVHaYLcxKBTkmiYVZ4GlKE/6c s4BtYZfYfn0H8/1mR0984a9pQfe/8bLpiY1INa2YQV5VjLt89x2PZCrdoB4ReMRmiTVo mTZPvOVjc62FP58uacgnltKhDTY0ND/2bQVLUV3r3Fb1hVhASodfeAj3aj+Z6H5vJ5cA nNZY4T7AEpPF9DG0swoqkrSeb2NDthP7iYYFCwjLyD/Rkz7THZT//Trl+9KYc2WSxFZp R+UL9poG1dyr5+40VYOvyRIbqc7lviPy3QX0sYrHDldEtML/VN+ONCGTeLwvVXFSeAR4 uHlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UD1nOpfXkQ1m2NVuITSAo5NBLOHhL4az6D83zIXoXio=; b=Y6zF19++aaY3wY8+YiHdPUVD7TLdMfawlbWe3wlHyRiJBGfN6ZyAmW7PL08ckHFCq8 +jp33C9khuZnLLW2IHmEZKxDYJD0OVHYwSV/of8+v7QoeFnV/RKr0FK2PV/ZKRhpbz+j cmL5n4D82/VIWVOkjNmRgi6wu0KYfvpF6ZU68mOSrqjT2KfB5ezIQkCjQXeGEq8uMh8v Vvjc1Bupi+QmRzgiHNNa8iOb/+RvVc/QkcwSkHeKl/s4nlCJivvq0tbcLl0Ykq3Jqgsr BoOUdjaeab66kUk5qQDpxoFc9RrcZ7cgQZWP6vo56CdBAjTYgeCuJLLRKMu6Bjrj3Wy8 BhxQ== X-Gm-Message-State: AKaTC02CVsz4fdw/QYPacpVyMMdvWW3jQ6Ttxhll4SJtqMjFFS+fhRwiIuJMvwtWoCEcmQ== X-Received: by 10.194.113.129 with SMTP id iy1mr41747175wjb.127.1480720142603; Fri, 02 Dec 2016 15:09:02 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3F345041935DCECF29CCAC0.dip0.t-ipconnect.de. [2003:dc:d3f3:4504:1935:dcec:f29c:cac0]) by smtp.googlemail.com with ESMTPSA id bf2sm7723067wjc.48.2016.12.02.15.09.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 15:09:01 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH v2 2/2] ARM64: dts: meson-gxm: add SCPI configuration for GXM Date: Sat, 3 Dec 2016 00:08:49 +0100 Message-Id: <20161202230849.11422-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161202230849.11422-1-martin.blumenstingl@googlemail.com> References: <20161123162040.24843-1-martin.blumenstingl@googlemail.com> <20161202230849.11422-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161202_150922_933326_4A2785BB X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the SCPI DVFS clock index and configures the CPU cores accordingly. Signed-off-by: Martin Blumenstingl Tested-by: Neil Armstrong Acked-by: Neil Armstrong --- 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@101 { @@ -93,6 +94,7 @@ reg = <0x0 0x101>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 1>; }; cpu6: cpu@102 { @@ -101,6 +103,7 @@ reg = <0x0 0x102>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 1>; }; cpu7: cpu@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"; +};