lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Apr 2014 23:21:15 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	Anders Berg <anders.berg@....com>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	Olof Johansson <olof@...om.net>,
	Mike Turquette <mturquette@...aro.org>,
	Mark Rutland <mark.rutland@....com>,
	Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
	Russell King - ARM Linux <linux@....linux.org.uk>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/5] ARM: dts: Device tree for AXM55xx.

On Tue, Apr 15, 2014 at 5:23 PM, Arnd Bergmann <arnd@...db.de> wrote:
> On Tuesday 15 April 2014 17:20:47 Anders Berg wrote:
>> > > +                   gpio0: gpio@...0092000 {
>> > > +                           #gpio-cells = <2>;
>> > > +                           compatible = "arm,pl061", "arm,primecell";
>> > > +                           gpio-controller;
>> > > +                           reg = <0x20 0x10092000 0x00 0x1000>;
>> > > +                           interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
>> > > +                                        <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
>> > > +                           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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ