I'm trying to connect an ADE7880 meter eval board to a beaglebone. I noticed the IIO driver for 7874 and found a tech document that documented the register remapping and other changes between the 7854 and 7880. I'm currently testing setting up the IIO device and am having problems. I compiled a kernel with the ad7854 and ad7854-spi kernel modules (ultimately I will be connecting the devices via SPI). I insmod both modules and they load successfully (as evidenced by the warning about staging modules and looking at /proc/modules) but when I go into sys/bus/iio/devices I don't see anything.
My assumption is that even without a device hooked up I should see entries under devices; assuming this works then I believe I can just swap in my modified 7880 module and with any luck it should work (ideally I'd like to use the netscope demo from the wiki once i get it setup). Can any provide some pointers on troubleshooting iio?
I will double check my board config, I did look at that and thought I had it in there.
Another question I had looking at the source for the ade7854 driver is that I noticed it doesn't include meter.h (which seems to define a lot of the device attributes for these boards) and that it doesn't include the MODULE_ALIAS macro at the end. I noticed some of the other drivers have those, so was just wondering if this was an oversight or if it's correct?