I have complied and installed a linux driver, but now I'm not sure how to actually use it from my code.
The driver is for the mcp9600 thermocouple amplifier, it's not in my kernel by default (kernel vers 6.6), but the source is available here: https://github.com/torvalds/linux/blob/master/drivers/iio/temperature/mcp9600.c
I have compiled and installed the driver successfully (I assume), as I can find files in /sys:
>ls /sys/module/mcp9600
coresize holders initstate refcnt taint
drivers initsize notes sections uevent
>ls /sys/bus/i2c/drivers/mcp9600
bind module uevent unbind
However there is nothing under /dev
What do I need to do to read temperature data from this chip from c code or shell script?
This is on debian on an arm64 embedded device.