Commit 14a7fb7c authored by Luiz-Fernando Lavado-Villa's avatar Luiz-Fernando Lavado-Villa
Browse files

Backup of recent changes in the current mode

parent 42928674
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
mychannels: adc-inputs { mychannels: adc-inputs {
compatible = "adc-inputs"; compatible = "adc-inputs";
v1-low { v1-low {
io-channels = <&adc2 1>; io-channels = <&adc2 0>;
label = "V1_LOW"; label = "V1_LOW";
}; };
i1-low { i1-low {
io-channels = <&adc1 6>; io-channels = <&adc2 1>;
label = "I1_LOW"; label = "I1_LOW";
}; };
v2-low { v2-low {
io-channels = <&adc2 2>; io-channels = <&adc1 6>;
label = "V2_LOW"; label = "V2_LOW";
}; };
...@@ -21,14 +21,20 @@ ...@@ -21,14 +21,20 @@
label = "I2_LOW"; label = "I2_LOW";
}; };
v-high {
io-channels = <&adc2 3>;
label = "V_HIGH";
};
i-high { i-high {
io-channels = <&adc1 8>; io-channels = <&adc1 8>;
label = "I_HIGH"; label = "I_HIGH";
}; };
v-high {
io-channels = <&adc1 9>;
label = "V_HIGH";
};
// temp {
// io-channels = <&adc1 12>;
// label = "TEMEPERATURE";
// };
}; };
}; };
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
/*******/ /*******/
&adc1 { &adc1 {
pinctrl-0 = <&adc1_in6_pc0 &adc1_in7_pc1 &adc1_in8_pc2 &adc1_in9_pc3 &adc1_in12_pb1>; // pinctrl-0 = <&adc1_in6_pc0 &adc1_in7_pc1 &adc1_in8_pc2 &adc1_in9_pc3 &adc1_in12_pb1>;
pinctrl-0 = <&adc1_in6_pc0 &adc1_in7_pc1 &adc1_in8_pc2 &adc1_in9_pc3>; //testing version without the temperature
status = "okay"; status = "okay";
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment