Re: [Outreachy kernel] [PATCH] iio: Add ABI documentation for in_magn offset and raw values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 13, 2015 at 3:46 PM, Darshana Padmadas
<darshanapadmadas@xxxxxxxxx> wrote:
> This patch adds ABI documentation entries for in_magn_offset
> and in_magn_raw. At least one user exists, mag3110 and
> hid-sensor-magn-3d in drivers/iio/magnetometer.

Hi,

Because we have:

* .modified field set to 1
* .channel2 set to some modifier (e.g IIO_MOD_X)
* info_mask_separate  set to IIO_CHAN_INFO_RAW

resulting attributes will be of the form:

* in_magn_x_raw, in_magn_y_raw, in_magn_z_raw etc.


The patch looks good for offset attribute because in hid-sensor-magn-3d we have:
* info_mask_shared_by_type set to IIO_CHAN_OFFSET.

Please use the dummy driver to confirm this. And resend the patch keeping only
the entry for offset.

thanks,
Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux