lkml.org 
[lkml]   [2014]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] IIO: Support for True/Magnetic north
    Hi Reyad,

    On 05/26/2014 08:20 PM, Reyad Attiyat wrote:
    > Hey Jonathan and Srinivas,
    >
    > I have added in the needed magn_north iio sysfs attributes to the documentation.
    > I hope I did everything correct.
    > I noticed that the line length was very long as compensated is a fairly long word.
    > I'm thinking I could shorten some of the sysfs paths or shorten the name.
    >
    > For updating the hid-sensor-magn-3d do you have any tips on this? I'm thinking I'll need a
    > dynamic iio_chan array that is passed to iio_register function. It would need to
    > be dynamic in the sense it would only add channels if it found x, y, z, or one of
    > the north attributes. I'll start working on this soon.

    I think you mean dynamic " iio_chan_spec magn_3d_channels[]". Currently
    this is a
    constant. So we can change this to add only channel, which are available.

    Also your other changes must be submitted as series of patches,
    including the drivers using them.

    Thanks,
    Srinivas

    > Thank You,
    > Reyad Attiyat
    >
    >
    >
    > Reyad Attiyat (1):
    > IIO: Added iio magn_north ABI documentation
    >
    > Documentation/ABI/testing/sysfs-bus-iio | 76 +++++++++++++++++++++++++++++++++
    > 1 file changed, 76 insertions(+)
    >



    \
     
     \ /
      Last update: 2014-05-27 18:21    [W:4.099 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site