summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-01-16 17:23:52 +0100
committerStefan Agner <stefan.agner@toradex.com>2015-01-24 00:41:35 +0100
commit34cedcf70a7286cbc34445949e702d8c476a3d99 (patch)
tree0efea1deb3a77219f1d6c3f6a94e27bb560d5d6a /arch
parent6a9e06500f5649c89ed8007c43444981f43fe9d4 (diff)
ARM: dts: add properties for dynamic ADC clock calculation
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.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/vfxxx.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 6333a6504f6a..5eb7fb4de439 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -200,6 +200,9 @@
clocks = <&clks VF610_CLK_ADC0>;
clock-names = "adc";
status = "disabled";
+ fsl,adck-max-frequency = <30000000>, <40000000>,
+ <20000000>;
+ fsl,use-lpm;
#io-channel-cells = <1>;
};
@@ -421,6 +424,9 @@
clocks = <&clks VF610_CLK_ADC1>;
clock-names = "adc";
status = "disabled";
+ fsl,adck-max-frequency = <30000000>, <40000000>,
+ <20000000>;
+ fsl,use-lpm;
#io-channel-cells = <1>;
};