<div dir="ltr">This doesn't match the bindings for the Aspeed ADC: <a href="https://github.com/openbmc/linux/blob/dev-4.7/Documentation/devicetree/bindings/iio/adc/aspeed_adc.txt">https://github.com/openbmc/linux/blob/dev-4.7/Documentation/devicetree/bindings/iio/adc/aspeed_adc.txt</a>. </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 7, 2017 at 2:12 AM, Mykola Kostenok <span dir="ltr"><<a href="mailto:c_mykolak@mellanox.com" target="_blank">c_mykolak@mellanox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Add adc for Mellanox msn platform to dts.<br>
<br>
Signed-off-by: Mykola Kostenok <<a href="mailto:c_mykolak@mellanox.com">c_mykolak@mellanox.com</a>><br>
---<br>
arch/arm/boot/dts/aspeed-bmc-<wbr>mellanox-msn.dts | 45 +++++++++++++++++++++++++++<br>
1 file changed, 45 insertions(+)<br>
<br>
diff --git a/arch/arm/boot/dts/aspeed-<wbr>bmc-mellanox-msn.dts b/arch/arm/boot/dts/aspeed-<wbr>bmc-mellanox-msn.dts<br>
index 0774959b1222..462a638e66c6 100644<br>
--- a/arch/arm/boot/dts/aspeed-<wbr>bmc-mellanox-msn.dts<br>
+++ b/arch/arm/boot/dts/aspeed-<wbr>bmc-mellanox-msn.dts<br>
@@ -139,3 +139,48 @@<br>
status = "okay";<br>
};<br>
<br>
+&adc {<br>
+ status = "okay";<br>
+ #address-cells = <1>;<br>
+ #size-cells = <0>;<br>
+ adc1 {<br>
+ channel = <0>;<br>
+ min = <677>;<br>
+ max = <828>;<br>
+ };<br>
+ adc2 {<br>
+ channel = <2>;<br>
+ min = <684>;<br>
+ max = <836>;<br>
+ };<br>
+ adc3 {<br>
+ channel = <3>;<br>
+ min = <684>;<br>
+ max = <836>;<br>
+ };<br>
+ adc4 {<br>
+ channel = <4>;<br>
+ min = <676>;<br>
+ max = <826>;<br>
+ };<br>
+ adc5 {<br>
+ channel = <10>;<br>
+ min = <691>;<br>
+ max = <845>;<br>
+ };<br>
+ adc6 {<br>
+ channel = <11>;<br>
+ min = <640>;<br>
+ max = <782>;<br>
+ };<br>
+ adc7 {<br>
+ channel = <12>;<br>
+ min = <615>;<br>
+ max = <751>;<br>
+ };<br>
+ adc8 {<br>
+ channel = <13>;<br>
+ min = <587>;<br>
+ max = <719>;<br>
+ };<br>
+};<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.11.0<br>
<br>
</font></span></blockquote></div><br></div>