From patchwork Mon Apr 20 09:27:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "pi-cheng.chen" X-Patchwork-Id: 6241271 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CD995BF4A7 for ; Mon, 20 Apr 2015 09:29:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A44420364 for ; Mon, 20 Apr 2015 09:29:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 23BB020304 for ; Mon, 20 Apr 2015 09:29:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yk80h-0004Bd-Oa; Mon, 20 Apr 2015 09:28:59 +0000 Received: from mail-pd0-f172.google.com ([209.85.192.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yk7zp-0003WG-QU for linux-mediatek@lists.infradead.org; Mon, 20 Apr 2015 09:28:07 +0000 Received: by pdea3 with SMTP id a3so202240335pde.3 for ; Mon, 20 Apr 2015 02:27:43 -0700 (PDT) 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=lmUUSzLPpTGpoty1ODNwhopszcvq+u9DHDHNmmUNH3I=; b=FX1DJDmdx6D8EHaQiDpzwkh8vTKZKZgIFwwQmu7k7j5frOa8K0qjC5nNLfh0x5xdEG KPX/XGuReO35dU+sBBNxkW6Rsja01pNro6bNc5cX0b8eW+Lcy+WkV9u4ejHW9SolGx9e /m6JlNuHOm0mChbKd1PpTZGGYWNutSdYGz/KewjKnRigbEFerMIHM5M0NEyL9YRvqrea 5wT3E2tm6mIS5+Vn3BP7hyAPn+fGqF5GQn7gfpWTiu9RD1UxLjKzMsDLKyBxrHEdm5Fn 2We8ZAtNNcVnGcPh2MKxymEws1zI6Wpqg7WrfAya3BPF3ol6P66AryaSdw3iLdUGiaEB SJIg== X-Gm-Message-State: ALoCoQlxCID/I+ucY07XwDbvA1gQYnAoVaUYKXujI4ujc9vY+0gVZeKy8RnHVsNCTfV1sGL0JK9C X-Received: by 10.70.130.198 with SMTP id og6mr17053120pdb.153.1429522063519; Mon, 20 Apr 2015 02:27:43 -0700 (PDT) Received: from phil-BU401LG.mediatek.inc ([124.219.30.17]) by mx.google.com with ESMTPSA id fe10sm17545118pdb.59.2015.04.20.02.27.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Apr 2015 02:27:42 -0700 (PDT) From: "pi-cheng.chen" To: Viresh Kumar , Mike Turquette , Matthias Brugger 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_022805_944066_87FD0A14 X-CRM114-Status: UNSURE ( 6.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) Cc: devicetree@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, fan.chen@mediatek.com, Howard Chen , linux-mediatek@lists.infradead.org, "Joe.C" , Eddie Huang , "pi-cheng.chen" , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {