From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752179AbcERXtp (ORCPT ); Wed, 18 May 2016 19:49:45 -0400 Received: from mail.kernel.org ([198.145.29.136]:46861 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbcERXtn (ORCPT ); Wed, 18 May 2016 19:49:43 -0400 Date: Wed, 18 May 2016 18:49:37 -0500 From: Rob Herring To: Crestez Dan Leonard Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Ge Gao , Peter Rosin , linux-i2c@vger.kernel.org, Wolfram Sang , devicetree@vger.kernel.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: Re: [RFC v2 7/7] iio: inv_mpu6050: Expose channels from slave sensors Message-ID: <20160518234937.GA19288@rob-hp-laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > .../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