Hello All,
I need my ADC driver working in the imx6ul board with 8 channels.
I have modified dtsi files as shown below:
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 = <8>;
clock-names = "adc";
status = "disabled";
};
pinctrl_adc1: adc1grp {
fsl,pin = <
MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0xb0
>;
};
&adc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc1>;
vref-supply = <®_mba6ul_3v3>;
status = "okay";
};
But, I am able to see only in_voltage0_raw and in_voltage1_raw iio.
Could anyone please tell me what might be the mistake I am doing here?