Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933283AbbGJSEc (ORCPT ); Fri, 10 Jul 2015 14:04:32 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:36044 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932608AbbGJSEZ (ORCPT ); Fri, 10 Jul 2015 14:04:25 -0400 Date: Fri, 10 Jul 2015 23:31:28 +0530 From: maitysanchayan@gmail.com To: Shawn Guo Cc: jic23@kernel.org, shawn.guo@linaro.org, kernel@pengutronix.de, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, B38611@freescale.com, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stefan@agner.ch Subject: Re: [PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC Message-ID: <20150710180128.GA8723@Sanchayan-Arch> References: <20150710084704.GK23464@tiger> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150710084704.GK23464@tiger> User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2394 Lines: 68 Hello Shawn, On 15-07-10 16:47:04, Shawn Guo wrote: > On Wed, Jun 24, 2015 at 02:03:39PM +0530, Sanchayan Maity wrote: > > Hello, > > > > This patchset adds a dt binding for specifying sample time > > for the vybrid adc driver and takes this into account for > > sampling frequency calculation and related configuration in > > the driver. > > > > The patchset is based on top of Stefan's patches here > > http://lkml.iu.edu/hypermail/linux/kernel/1505.3/02043.html > > > > which got recently applied. Tested with shawn's for-next > > branch. > > > > Changes since v1: > > > > Change from a vendor specific fsl,min-sample-time to non vendor > > specific min-sample-time. > > What's the reason for that? Property without vendor prefix would be > the generic one, which should be defined by generic ADC bindings, not > vf610-adc.txt. The reason for going with a generic one was discussed in the first series, as though there might not be any devices at the moment using this property, some might appear or use it in the future. I did consider putting this in the generic ADC bindings, however for lack of one like one present for touchscreen, I kept it in the vf610 specific driver binding. Thought there should not be any harm with this. - Sanchayan. > > Shawn > > > > > Version 1 of the patchset can be found here > > http://lkml.iu.edu/hypermail/linux/kernel/1506.1/00026.html > > > > - Sanchayan. > > > > Sanchayan Maity (2): > > iio: adc: Determine sampling frequencies by using minimum sample time > > ARM: dts: vfxxx: Add property for minimum sample time > > > > .../devicetree/bindings/iio/adc/vf610-adc.txt | 6 ++ > > arch/arm/boot/dts/vfxxx.dtsi | 2 + > > drivers/iio/adc/vf610_adc.c | 74 ++++++++++++++++++++-- > > 3 files changed, 78 insertions(+), 4 deletions(-) > > > > -- > > 2.4.4 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/