Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754868AbbDTJ2D (ORCPT ); Mon, 20 Apr 2015 05:28:03 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:34286 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbbDTJ1o (ORCPT ); Mon, 20 Apr 2015 05:27:44 -0400 From: "pi-cheng.chen" To: Viresh Kumar , Mike Turquette , Matthias Brugger Cc: "pi-cheng.chen" , "Joe.C" , Eddie Huang , Howard Chen , fan.chen@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/2] ARM64: mt8173: dts Add MT8173 cpufreq driver support Date: Mon, 20 Apr 2015 17:27:27 +0800 Message-Id: <1429522047-16675-3-git-send-email-pi-cheng.chen@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429522047-16675-1-git-send-email-pi-cheng.chen@linaro.org> References: <1429522047-16675-1-git-send-email-pi-cheng.chen@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1700 Lines: 57 This patch adds voltage supplies and clocks used by MT8173 cpufreq driver. Signed-off-by: pi-cheng.chen --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 9 +++++++++ arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 96e141c..7a00cfe 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts @@ -330,3 +330,12 @@ status = "okay"; clock-frequency = <100000>; }; + +&cpu0 { + proc-supply = <&mt6397_vpca15_reg>; +}; + +&cpu2 { + proc-supply = <&da9211_vcpu_reg>; + sram-supply = <&mt6397_vsramca7_reg>; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d9cc84e..b8a5454 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -51,6 +51,9 @@ device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x000>; + clocks = <&infracfg INFRA_CA53SEL>, + <&apmixedsys APMIXED_MAINPLL>; + clock-names = "cpu", "intermediate"; }; cpu1: cpu@1 { @@ -65,6 +68,9 @@ compatible = "arm,cortex-a57"; reg = <0x100>; enable-method = "psci"; + clocks = <&infracfg INFRA_CA57SEL>, + <&apmixedsys APMIXED_MAINPLL>; + clock-names = "cpu", "intermediate"; }; cpu3: cpu@101 { -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/