lkml.org 
[lkml]   [2015]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time
Hello Shawn,

On 15-07-10 16:53:24, Shawn Guo wrote:
> 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.
>

Not sure if hardcoding it in the driver is the right approach.

However if the maintainers and others agree on doing this, I will do
the necessary change.

Thanks.

Regards,
Sanchayan.


\
 
 \ /
  Last update: 2015-07-10 20:21    [W:1.332 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site