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


Groups > linux.kernel > #1181396

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

From Shawn Guo <shawnguo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time
Date 2015-07-10 11:00 +0200
Message-ID <pKCk2-3Ii-21@gated-at.bofh.it> (permalink)
References <pEOnT-4zK-3@gated-at.bofh.it> <pEOnU-4zK-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 24, 2015 at 02:03:41PM +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 <maitysanchayan@gmail.com>
> ---
>  arch/arm/boot/dts/vfxxx.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
> index 90a03d5..71d9c08 100644
> --- a/arch/arm/boot/dts/vfxxx.dtsi
> +++ b/arch/arm/boot/dts/vfxxx.dtsi
> @@ -229,6 +229,7 @@
>  				status = "disabled";
>  				fsl,adck-max-frequency = <30000000>, <40000000>,
>  							<20000000>;
> +				min-sample-time = <1000>;
>  			};
>  
>  			wdoga5: wdog@4003e000 {
> @@ -447,6 +448,7 @@
>  				status = "disabled";
>  				fsl,adck-max-frequency = <30000000>, <40000000>,
>  							<20000000>;
> +				min-sample-time = <1000>;

Can we code 1000 as the default in kernel driver, so that only boards
requiring different value need to have this property?  Doing so makes
the property optional rather than required.

Shawn

>  			};
>  
>  			esdhc1: esdhc@400b2000 {
> -- 
> 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/

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


Thread

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample  time Shawn Guo <shawnguo@kernel.org> - 2015-07-10 11:00 +0200
  Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample  time Jonathan Cameron <jic23@kernel.org> - 2015-07-11 19:40 +0200
    Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample  time Stefan Agner <stefan@agner.ch> - 2015-07-13 08:50 +0200
    Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time Jonathan Cameron <jic23@kernel.org> - 2015-07-13 11:30 +0200

csiph-web