From: maitysanchayan@gmail.com
To: Shawn Guo <shawnguo@kernel.org>
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 2/2] ARM: dts: vfxxx: Add property for minimum sample time
Date: Fri, 10 Jul 2015 23:36:40 +0530 [thread overview]
Message-ID: <20150710180640.GB8723@Sanchayan-Arch> (raw)
In-Reply-To: <20150710085324.GL23464@tiger>
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.
WARNING: multiple messages have this Message-ID (diff)
From: maitysanchayan@gmail.com (maitysanchayan at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time
Date: Fri, 10 Jul 2015 23:36:40 +0530 [thread overview]
Message-ID: <20150710180640.GB8723@Sanchayan-Arch> (raw)
In-Reply-To: <20150710085324.GL23464@tiger>
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 at 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.
next prev parent reply other threads:[~2015-07-10 18:06 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 8:33 [PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-06-24 8:33 ` [PATCH v2 1/2] iio: adc: Determine sampling frequencies by using minimum sample time Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-07-05 13:38 ` Jonathan Cameron
2015-07-05 13:38 ` Jonathan Cameron
2015-07-05 13:38 ` Jonathan Cameron
2015-07-06 7:31 ` Stefan Agner
2015-07-06 7:31 ` Stefan Agner
2015-06-24 8:33 ` [PATCH v2 2/2] ARM: dts: vfxxx: Add property for " Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-06-24 8:33 ` Sanchayan Maity
2015-07-10 8:53 ` Shawn Guo
2015-07-10 8:53 ` Shawn Guo
2015-07-10 8:53 ` Shawn Guo
2015-07-10 18:06 ` maitysanchayan [this message]
2015-07-10 18:06 ` maitysanchayan at gmail.com
2015-07-11 17:39 ` Jonathan Cameron
2015-07-11 17:39 ` Jonathan Cameron
2015-07-11 17:39 ` Jonathan Cameron
2015-07-12 6:47 ` maitysanchayan
2015-07-12 6:47 ` maitysanchayan-Re5JQEeQqe8AvxtiuMwx3w
2015-07-12 6:47 ` maitysanchayan at gmail.com
2015-07-13 6:44 ` Stefan Agner
2015-07-13 6:44 ` Stefan Agner
2015-07-13 6:44 ` Stefan Agner
2015-07-13 9:26 ` Jonathan Cameron
2015-07-13 9:26 ` Jonathan Cameron
2015-07-13 9:26 ` Jonathan Cameron
2015-07-06 1:26 ` [PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC Duan Andy
2015-07-06 1:26 ` Duan Andy
2015-07-06 1:26 ` Duan Andy
2015-07-06 1:26 ` Duan Andy
2015-07-10 8:47 ` Shawn Guo
2015-07-10 8:47 ` Shawn Guo
2015-07-10 8:47 ` Shawn Guo
2015-07-10 18:01 ` maitysanchayan
2015-07-10 18:01 ` maitysanchayan at gmail.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150710180640.GB8723@Sanchayan-Arch \
--to=maitysanchayan@gmail.com \
--cc=B38611@freescale.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jic23@kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawn.guo@linaro.org \
--cc=shawnguo@kernel.org \
--cc=stefan@agner.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.