Hi,
We are trying to include an analogue to digital driver using the SPI interface available on the EFUS board. My first question is regarding whether this must be implemented using device tree? The code we have for the driver is a kernel driver which discusses custome boards and specifing the device structure using platform_data. As far as I can determine we have no board config files which came for the EFUS Linux build - is this correct or am I missing something basic.
Thanks for your help
AD7298 SPI ADC driver
-
-
Dear Panaia-Costa,
yes the hardware implementation must be specified in the device tree. And yes there are no board config files anymore. The board config files were replaced by the device trees since Linux Kernel ~3.10. So if your kernel driver only support platform_data you have to improve the driver that it supports device tree too.
Your F&S Support Team
-
We have attempted to modify the driver to support device trees. Thank you for the prompt reply.