AnsweredAssumed Answered

ADC on the IMX6SX

Question asked by Jeroen van der Laan on Mar 15, 2017
Latest reply on Mar 16, 2017 by Jeroen van der Laan

Hi There I can't figure out how to get the ADC to work on the IMX6SX. I have tried the following so far:


inlcuded the imx6sx.dtsi that creates the adc1 reference as follows:

adc1: adc@02280000 {
compatible = "fsl,imx6sx-adc", "fsl,vf610-adc";
reg = <0x02280000 0x4000>;
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6SX_CLK_IPG>;
num-channels = <4>;
clock-names = "adc";
status = "disabled";

I have enabled adc1 in my own dts file as follows:

&adc1 {
   vref-supply = <&reg_vref_3v3>;
   status = "okay";

I have both the IMX7D and the vf610 adc driver compiled in my linux kernel


But I can't see any devices unde /sys/bus/iio/devices


Can somebody tell me what am I missing?


Best regards,

Jeroen van der Laan