Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbbGNE15 (ORCPT ); Tue, 14 Jul 2015 00:27:57 -0400 Received: from mail-yk0-f173.google.com ([209.85.160.173]:33054 "EHLO mail-yk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbbGNE1y (ORCPT ); Tue, 14 Jul 2015 00:27:54 -0400 MIME-Version: 1.0 In-Reply-To: References: <1436779969-18610-1-git-send-email-yingjoe.chen@mediatek.com> <1436779969-18610-6-git-send-email-yingjoe.chen@mediatek.com> From: Daniel Kurtz Date: Tue, 14 Jul 2015 12:27:34 +0800 X-Google-Sender-Auth: U30nRuNm7tFQVwdAic3hf8bbY0g Message-ID: Subject: Re: [PATCH 5/5] arm64: dts: mt8173: add timer node To: Yingjoe Chen Cc: Matthias Brugger , Thomas Gleixner , Stephen Boyd , Michael Turquette , James Liao , Russell King , "open list:OPEN FIRMWARE AND..." , Arnd Bergmann , Catalin Marinas , Daniel Lezcano , "linux-kernel@vger.kernel.org" , Rob Herring , linux-mediatek@lists.infradead.org, Sascha Hauer , Olof Johansson , srv_heupstream , "linux-arm-kernel@lists.infradead.org" , linux-clk@vger.kernel.org, Eddie Huang Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2055 Lines: 56 On Tue, Jul 14, 2015 at 12:26 PM, Daniel Kurtz wrote: > On Mon, Jul 13, 2015 at 5:32 PM, Yingjoe Chen wrote: >> From: Daniel Kurtz >> >> Add device node to enable GPT timer. This timer will be >> used as sched clock source. >> >> Signed-off-by: Daniel Kurtz >> Signed-off-by: Eddie Huang >> Signed-off-by: Yingjoe Chen > > This binding needs documentation. Whoops. I just found it at: Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt > >> --- >> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> index 0696f8f..04bdd8f 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> @@ -219,6 +219,15 @@ >> reg = <0 0x10007000 0 0x100>; >> }; >> >> + timer: timer@10008000 { >> + compatible = "mediatek,mt8173-timer", >> + "mediatek,mt6577-timer"; >> + reg = <0 0x10008000 0 0x1000>; >> + interrupts = ; >> + clocks = <&infracfg CLK_INFRA_CLK_13M>, >> + <&topckgen CLK_TOP_RTC_SEL>; > > Why two clocks? The driver only uses one. > Please use a clock-names property. > > Thanks, > -Dan > >> + }; >> + >> pwrap: pwrap@1000d000 { >> compatible = "mediatek,mt8173-pwrap"; >> reg = <0 0x1000d000 0 0x1000>; >> -- >> 1.8.1.1.dirty >> -- 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/