Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbaDVVVT (ORCPT ); Tue, 22 Apr 2014 17:21:19 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:57433 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756728AbaDVVVQ (ORCPT ); Tue, 22 Apr 2014 17:21:16 -0400 MIME-Version: 1.0 In-Reply-To: <11327885.Oem0QkHdqf@wuerfel> References: <8344066.GP0Bf5lvlE@wuerfel> <20140415152047.GB32285@swsaberg01> <11327885.Oem0QkHdqf@wuerfel> Date: Tue, 22 Apr 2014 23:21:15 +0200 Message-ID: Subject: Re: [PATCH 2/5] ARM: dts: Device tree for AXM55xx. From: Linus Walleij To: Arnd Bergmann Cc: Anders Berg , "linux-arm-kernel@lists.infradead.org" , Olof Johansson , Mike Turquette , Mark Rutland , Dmitry Eremin-Solenikov , Russell King - ARM Linux , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 15, 2014 at 5:23 PM, Arnd Bergmann wrote: > On Tuesday 15 April 2014 17:20:47 Anders Berg wrote: >> > > + gpio0: gpio@2010092000 { >> > > + #gpio-cells = <2>; >> > > + compatible = "arm,pl061", "arm,primecell"; >> > > + gpio-controller; >> > > + reg = <0x20 0x10092000 0x00 0x1000>; >> > > + interrupts = , >> > > + , >> > > + , >> > > + , >> > > + , >> > > + , >> > > + , >> > > + ; >> > > + clocks = <&clk_per>; >> > > + clock-names = "apb_pclk"; >> > > + status = "disabled"; >> > >> > The pl061 binding does not specify any clocks at all. Do we need to update >> > that? >> >> Doesn't all AMBA devices need at least one apb_pclk since the bus driver does >> clk_get(...,"apb_pclk") before calling probe()? > > Yes, I was mostly wondering whether we had a policy about whether this clock > should also be listed in the binding or not. My feeling is that it's better > to make that explicit. A separate patch to the GPIO maintainer for this will be accepted. :-) Yours, Linus Walleij -- 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/