[PATCH v2 9/9] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

James Hogan james.hogan at imgtec.com
Thu May 30 02:12:17 EST 2013


On 29/05/13 16:38, Linus Walleij wrote:
> On Fri, May 24, 2013 at 6:21 PM, James Hogan <james.hogan at imgtec.com> wrote:
>> +Optional properties:
>> +- gpio-ranges: Mapping to pin controller pins
>> +
>> +- interrupts: Individual syswake interrupts (other GPIOs cannot interrupt)
>> +
>> +
>> +Example:
>> +
>> +       pdc_gpios: gpio-controller at 02006500 {
>> +               gpio-controller;
>> +               #gpio-cells = <2>;
>> +
>> +               compatible = "img,tz1090-pdc-gpio";
>> +               reg = <0x02006500 0x100>;
>> +
>> +               interrupt-parent = <&pdc>;
>> +               interrupts =    <1 0 0>,        /* Syswake 0 */
>> +                               <1 1 0>,        /* Syswake 1 */
>> +                               <1 2 0>;        /* Syswake 2 */
>> +       };
> 
> Interrupt flags seem to be undocumented here.

Hmmm yes, good spot.

Thanks
James



More information about the devicetree-discuss mailing list