lkml.org 
[lkml]   [2015]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v2 07/18] drivers: reset: Add STM32 reset driver
    Date
    On Friday 20 February 2015 19:01:06 Maxime Coquelin wrote:
    > +/* AHB1 */
    > +#define GPIOA_RESET 0
    > +#define GPIOB_RESET 1
    > +#define GPIOC_RESET 2
    > +#define GPIOD_RESET 3
    > +#define GPIOE_RESET 4
    > +#define GPIOF_RESET 5
    > +#define GPIOG_RESET 6
    > +#define GPIOH_RESET 7
    > +#define GPIOI_RESET 8
    > +#define GPIOJ_RESET 9
    > +#define GPIOK_RESET 10
    >

    As these are just the hardware numbers, it's better to not make them
    part of the binding at all. Instead, just document in the binding that
    one is supposed to pass the hardware number as the argument.

    Arnd


    \
     
     \ /
      Last update: 2015-03-10 16:41    [W:4.615 / U:0.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site