Tool/software:
The upstream dts for the am6442 EVM says that the ADC is "reserved" for R5 usage in a comment. However the reference manual says the ADC IP is in the "main" and not the R5 domain on the SoC.
If I enable it and the CONFIG_MFD_TI_AM335X_TSCADC=y kernel option, along with some extra dts
@@ -669,8 +669,11 @@
};
&tscadc0 {
- /* ADC is reserved for R5 usage */
+ /* ADC was reserved for R5 usage... trying to use with a53s */
+ status = "okay";
+ adc {
+ ti,adc-channels = <0 1 2 3 4 5 6 7>;
+ };
};
&ospi0 {
It seems to probe OK, but in the sysfs for the device, only a directory TI-am335x-adc.4.auto appears. And there doesn't seem to be a way to get a conversion from userland with it, even for only ch4.
What is the deal with using this from Linux on A53 side?