Re: [PATCH v2] iio: st_sensors: make scale channels also shared by type

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

 



On Sat, 2020-04-25 at 18:13 +0100, Jonathan Cameron wrote:
> On Thu, 23 Apr 2020 14:17:15 +0200
> Gaëtan André <rvlander@xxxxxxxxxxxxxx> wrote:
> 
> > Scale channels are available by axis. For example for
> > accelerometers,
> > in_accel_x_scale, in_accel_y_scale and in_accel_z_scale are
> > available.
> > 
> > However, they should be shared by type as documented in
> > Documentation/ABI/testing/sysfs-bus-iio.
> > 
> > For each sensor (acceleros, gyros and magnetos) only one value is
> > specified
> > for all the axes.
> > 
> > Existing, by axis, entries are preserved in order to to leave the
> > old ABI
> > untouched.
> As I mentioned in v1, there isn't a strict ABI rule that says that we
> must
> do the shared form
> 
> +CC'd Bastien for comment on what userspace is assuming and whether
> we should
> push this back to stable or not.

I have no idea what the effects of this would be on the ABI, and how
this would impact iio-sensor-proxy.

Code is here though, so it might be best to test it:
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/tree/master/src

And we accept merge requests :)




[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