I want to make ADC samples on this kit. But the ADC does not appear in the sys/bus/iio/devices folder, so I need to activate the ADC part. I followed the instructions given for this. I saw the ADC pins that I defined in the file, but when I type the cat command on these pins, I can't see any change as a result. The resulting values are always the same. When I connect the ADC pin to GND, the value does not change, even when I apply any other voltage, the pins I have defined always show the same value. I couldn't find anything on this topic. Can you help me? DTB file attached
target-module@d000 {
compatible = "ti,sysc-omap4\0ti,sysc";
ti,hwmods = "adc_tsc";
reg = <0xd000 0x04 0xd010 0x04>;
reg-names = "rev\0sysc";
ti,sysc-sidle = <0x00 0x01 0x02 0x03>;
clocks = <0x30 0x00 0x00>;
clock-names = "fck";
#address-cells = <0x01>;
#size-cells = <0x01>;
ranges = <0x00 0xd000 0x1000>;
tscadc@0 {
compatible = "ti,am3359-tscadc";
reg = <0x00 0x1000>;
interrupts = <0x00 0x10 0x04>;
clocks = <0x31>;
clock-names = "fck";
status = "okay";
dmas = <0x32 0x35 0x00 0x32 0x39 0x00>;
dma-names = "fifo0\0fifo1";
phandle = <0xe7>;
tsc {
compatible = "ti,am3359-tsc";
};
adc {
#io-channel-cells = <0x01>;
compatible = "ti,am3359-adc";
ti,adc-channels = < 0x01 0x02 0x04 0x05 0x06 0x07 > ;
};
};
};