This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: ADC driver on a53 mainline linux doesn't seem to populate the channels

Part Number: AM6442

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?