lkml.org 
[lkml]   [2018]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 3/5] misc serdev: Add w2sg0004 (gps receiver) power control driver
    On Wed, Mar 07, 2018 at 04:53:12PM +0100, H. Nikolaus Schaller wrote:

    > If I look for example at the camera module drivers provided by
    > drivers/media/i2c, most of them could be easily power-controlled from
    > user-space by i2c-tools and 1-2 gpios through /sys/class/gpio and
    > a big set of scripts.
    >
    > Still they have a place in the kernel and cameras are powered on
    > if the device is opened and powered down if it is closed.
    >
    > So I am still trying to understand the rationale and logic (if one exists)
    > behind having them in kernel but rejecting our driver which does the
    > same for a different class of devices.

    For media we have a framework in place; for gps we do not (yet).

    Johan

    \
     
     \ /
      Last update: 2018-03-19 15:06    [W:2.529 / U:0.484 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site