Hello,
I am working on a project that uses the AD4134 ADC, and we are utilizing the SPI-engine controller Linux driver. Unfortunately, there aren't many references available online for SoM-based configurations.so, i used this as my reference https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4134.dts
However, the main issue I'm facing is that the SPI-engine controller driver is not being probed and results in the following error:
[ 2.607598] spi-engine 30820000.spi: Unsupported peripheral version 0.0.
Here is how i changed my dts:
&ecspi1 {
compatible = "adi,axi-spi-engine-1.00.a";
pinctrl-names = "default";
clock-names = "s_axi_aclk", "spi_clk";
pinctrl-0 = <&pinctrl_ecspi1>;
cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>,<&gpio1 8 GPIO_ACTIVE_LOW>;
status = "okay";
/* SPI Engine AD4134 */
ad4134_spi_engine: spi_engine@1 {
compatible = "adi,ad4134-spi-engine";
reg = <1>;
spi-max-frequency = <48000000>;
spi-cpha;
};
adc@1 {
compatible = "adi,ad4134";
reg = <1>;
spi-max-frequency = <1000000>;
clocks = <&sys_clk>;
clock-names = "sys_clk";
dmas = <&sdma3 0>;
dma-names = "rx";
pwms = <&pwm2 0 50000 0>;
pwm-names = "odr_pwm";
avdd5-supply = <&avdd5>;
avdd1v8-supply = <&avdd1v8>;
iovdd-supply = <&iovdd>;
refin-supply = <&refin>;
adi,spi-engine = <&ad4134_spi_engine>;
};
};
Can you guys please provide any workaround or solution to this problem.
Any guidance or suggestions on how to resolve this issue would be greatly appreciated.
Thank you!