From: Stefan Agner <stefan@agner.ch>
To: jic23@kernel.org, shawn.guo@linaro.org, kernel@pengutronix.de
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
B38611@freescale.com, maitysanchayan@gmail.com,
devicetree@vger.kernel.org, linux-iio@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Stefan Agner <stefan@agner.ch>
Subject: [PATCH v5 2/2] ARM: dts: add property for maximum ADC clock frequencies
Date: Wed, 27 May 2015 14:47:52 +0200 [thread overview]
Message-ID: <1432730872-14325-3-git-send-email-stefan@agner.ch> (raw)
In-Reply-To: <1432730872-14325-1-git-send-email-stefan@agner.ch>
The ADC clock frequency is limited depending on modes used. Add
device tree property which allow to set the mode used and the
maximum frequency ratings for the instance. These allows to
set the ADC clock to a frequency which is within specification
according to the actual mode used.
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
---
arch/arm/boot/dts/vfxxx.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index a29c7ce..c6609bd 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -189,6 +189,8 @@
clocks = <&clks VF610_CLK_ADC0>;
clock-names = "adc";
status = "disabled";
+ fsl,adck-max-frequency = <30000000>, <40000000>,
+ <20000000>;
};
wdoga5: wdog@4003e000 {
@@ -387,6 +389,8 @@
clocks = <&clks VF610_CLK_ADC1>;
clock-names = "adc";
status = "disabled";
+ fsl,adck-max-frequency = <30000000>, <40000000>,
+ <20000000>;
};
esdhc1: esdhc@400b2000 {
--
2.4.1
next prev parent reply other threads:[~2015-05-27 12:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 12:47 [PATCH v5 0/2] iio: adc: vf610: respect ADC clocking limitations Stefan Agner
[not found] ` <1432730872-14325-1-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2015-05-27 12:47 ` [PATCH v5 1/2] iio: adc: vf610: implement configurable conversion modes Stefan Agner
[not found] ` <1432730872-14325-2-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2015-06-07 16:54 ` Jonathan Cameron
2015-06-08 17:49 ` Rob Herring
[not found] ` <CAL_JsqK0YxgJ-k8kSs6XQj9n3FSg4QBd-GdFEfcafH7Cm4NreQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-08 20:07 ` Stefan Agner
[not found] ` <14d469dedae9de1ce519fe90401e526e-XLVq0VzYD2Y@public.gmane.org>
2015-06-14 11:12 ` Jonathan Cameron
[not found] ` <557D6184.90105-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-06-23 14:27 ` Rob Herring
2015-05-27 12:47 ` Stefan Agner [this message]
[not found] ` <1432730872-14325-3-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2015-06-07 16:56 ` [PATCH v5 2/2] ARM: dts: add property for maximum ADC clock frequencies Jonathan Cameron
[not found] ` <557477BE.5050108-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-06-07 19:23 ` Stefan Agner
2015-08-03 12:22 ` Stefan Agner
2015-08-05 13:46 ` Shawn Guo
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=1432730872-14325-3-git-send-email-stefan@agner.ch \
--to=stefan@agner.ch \
--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=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maitysanchayan@gmail.com \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
--cc=shawn.guo@linaro.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).