Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbbGNE0l (ORCPT ); Tue, 14 Jul 2015 00:26:41 -0400 Received: from mail-yk0-f181.google.com ([209.85.160.181]:35208 "EHLO mail-yk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbbGNE0i (ORCPT ); Tue, 14 Jul 2015 00:26:38 -0400 MIME-Version: 1.0 In-Reply-To: <1436779969-18610-6-git-send-email-yingjoe.chen@mediatek.com> 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:26:18 +0800 X-Google-Sender-Auth: xaA7YzfvUcOzLKADE5cwwNS8y8E 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: 1832 Lines: 51 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. > --- > 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/