AnsweredAssumed Answered

IMX6UL ADC test from user space

Question asked by Anshul khare on Jan 15, 2018
Latest reply on Jan 16, 2018 by igorpadykov

Hi All,

 

I want to do an adc test on imx6ul board. But, I am not able to see anything under /sys/bus/iio/devices/.

I have enabled the ADC support in kernel configurations.

My dtsi(imx6ul.dtsi) file contains :

 

adc1: adc@02198000 {
compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
reg = <0x02198000 0x4000>;
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6UL_CLK_ADC1>;
num-channels = <2>;
clock-names = "adc";
status = "disabled";
};

 

Is there anything more to be done to see the devices in /sys/bus/iio/devices/.

Could anyone kindly help me out on this ?

Outcomes