lkml.org 
[lkml]   [2016]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v6 04/10] regulator: fixed: add support for ACPI interface
    On Tue, Apr 26, 2016 at 10:24:56AM +0800, Lu Baolu wrote:

    > The GPIO name might be different in different use cases. For my case,
    > it is "vbus_en", but other cases should use the different name.

    > On ACPI compatible platforms, GPIO resources are reported via ACPI
    > tables and (devm_)gpiod_get() hides the APCI complexity and returns
    > the gpiod according to "gpio_name".

    That's labelling that you might want to do on the supplier side or at
    system level. Why does the device care? It's requesting the GPIO in
    its own context and it's only requesting one GPIO, with DT we're just
    always calling the GPIO "gpio" which works fine.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2016-04-26 12:41    [W:2.242 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site