From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.136]:47335 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbbGOB5y (ORCPT ); Tue, 14 Jul 2015 21:57:54 -0400 Date: Wed, 15 Jul 2015 09:57:26 +0800 From: Shawn Guo To: Sanchayan Maity Cc: jic23@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, B38611@freescale.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, robh+dt@kernel.org, kernel@pengutronix.de, galak@codeaurora.org, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time Message-ID: <20150715015725.GK4119@tiger> References: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Tue, Jul 14, 2015 at 07:23:23PM +0530, Sanchayan Maity wrote: > Add a device tree property which allows to specify the minimum sample > time which can be used to calculate the actual ADC cycles required > depending on the hardware. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi > index ab10d2e..59f5deb 100644 > --- a/arch/arm/boot/dts/vf-colibri.dtsi > +++ b/arch/arm/boot/dts/vf-colibri.dtsi > @@ -16,10 +16,12 @@ > }; > > &adc0 { > + min-sample-time = <1000>; > status = "okay"; > }; > > &adc1 { > + min-sample-time = <1000>; Since this is the default value anyway, we can just save the patch, right? Shawn > status = "okay"; > }; > > -- > 2.4.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Wed, 15 Jul 2015 09:57:26 +0800 Subject: [PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time In-Reply-To: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> References: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> Message-ID: <20150715015725.GK4119@tiger> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jul 14, 2015 at 07:23:23PM +0530, Sanchayan Maity wrote: > Add a device tree property which allows to specify the minimum sample > time which can be used to calculate the actual ADC cycles required > depending on the hardware. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi > index ab10d2e..59f5deb 100644 > --- a/arch/arm/boot/dts/vf-colibri.dtsi > +++ b/arch/arm/boot/dts/vf-colibri.dtsi > @@ -16,10 +16,12 @@ > }; > > &adc0 { > + min-sample-time = <1000>; > status = "okay"; > }; > > &adc1 { > + min-sample-time = <1000>; Since this is the default value anyway, we can just save the patch, right? Shawn > status = "okay"; > }; > > -- > 2.4.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time Date: Wed, 15 Jul 2015 09:57:26 +0800 Message-ID: <20150715015725.GK4119@tiger> References: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sanchayan Maity Cc: jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, B38611-KZfg59tc24xl57MIdRCFDg@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stefan-XLVq0VzYD2Y@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Tue, Jul 14, 2015 at 07:23:23PM +0530, Sanchayan Maity wrote: > Add a device tree property which allows to specify the minimum sample > time which can be used to calculate the actual ADC cycles required > depending on the hardware. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi > index ab10d2e..59f5deb 100644 > --- a/arch/arm/boot/dts/vf-colibri.dtsi > +++ b/arch/arm/boot/dts/vf-colibri.dtsi > @@ -16,10 +16,12 @@ > }; > > &adc0 { > + min-sample-time = <1000>; > status = "okay"; > }; > > &adc1 { > + min-sample-time = <1000>; Since this is the default value anyway, we can just save the patch, right? Shawn > status = "okay"; > }; > > -- > 2.4.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html