Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403361

Re: [RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors
Date 2016-05-19 01:50 +0200
Message-ID <rAjnX-mm-13@gated-at.bofh.it> (permalink)
References <rAbgK-3KP-3@gated-at.bofh.it> <rAbgK-3KP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 18, 2016 at 06:00:54PM +0300, Crestez Dan Leonard wrote:
> This works by copying the iio_chan_specs from the slave device and
> republishing them as if they belonged to the MPU itself. All
> read/write_raw operations are forwarded to the other driver.
> 
> The original device is still registered with linux as a normal driver
> and works normally and you can poke at it to configure stuff like sample
> rates and scaling factors.
> 
> Buffer values are read from the MPU fifo, allowing a much higher
> sampling rate.
> 
> Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
> ---
>  .../devicetree/bindings/iio/imu/inv_mpu6050.txt    |  47 ++-

Please put all the binding changes in 1 separate patch. The h/w is not 
evolving...

Then I would have had the full picture when replying the to first 
change.

Rob

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-05-18 17:10 +0200
  Re: [RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors Rob Herring <robh@kernel.org> - 2016-05-19 01:50 +0200
  Re: [RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors Jonathan Cameron <jic23@kernel.org> - 2016-05-29 18:10 +0200

csiph-web