In my project I use ADC. But I try to avoid dynamic overlay loading in order to
increase boot speed.
So I move code from ADC overlay (BB-ADC-00A0.dts) to main device tree source
(am335x-boneblack.dts):
/ {
...
ocp {
/* ADC filesystem helper
*/
test_helper: helper {
compatible = "bone-iio-helper";
vsense-name = "AIN0", "AIN1", "AIN2", "AIN3", "AIN4",
"AIN5", "AIN6", "AIN7";
vsense-scale = <100 100 100 100 100
100 100 100>;
status = "okay";
};
};
};
/* Enable ADC */
&tscadc {
status = "okay";
adc {
ti,adc-channels = <0 1 2 3 4 5 6 7>;
};
};
After boot I found out that directory /sys/devices/ocp.*/helper.*/ does not
contain AIN files. dmesg out dos not contain messages from
bone-iio-helper driver. Somehow bone-iio-helper driver haven't been loaded
while device tree processing.
Is there a way to fix this issue?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/796e4fb3-a2cd-4f4e-acd2-53540c259ae4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.