Tool/software: Linux
Support,
Connected to AIN2 on the AM335x is a Murata thermistor. I can successfully read the raw voltage. What I would like to do is tie this to the ntc_thermistor kernel driver so that the temperature will be available via hwmon. I have been unsuccessful in configuring the device tree file for this to work. When I load ntc_thermistor.ko /sys/class/hwmon is still empty.
My currect DT configuration is...
&tscadc {
status = "okay";
adc {
ti,adc_channels = <2>;
};
};
The sample ntc_thermistor DT configuration is
Example:
ncp15wb473@0 {
compatible = "murata,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <47000>;
pulldown-ohm = <0>;
io-channels = <&adc 3>;
};
How do I properly map the io-channels field to the tscadc entry? Is this even possible with the TSCADC drivers?
Thank you,
Tim