Tool/software: Linux
Hi, I have following setup for SPI in the device tree.
&spi1 {
status = "okay";
ti,spi-num-cs = <2>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&spi1_pins_default>;
pinctrl-1 = <&spi1_pins_sleep>;
spidev@0 {
compatible = "rohm,dh2228fv";
reg = <0>;
spi-max-frequency = <16000000>;
};
};
in am4372.dtsi
spi1: spi@481a0000 {
compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
reg = <0x481a0000 0x400>;
interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "spi1";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
The spi1.0 interface is working as I setup loopback connection. I can send and receive data.
But I get error: spi spi1.0: not using DMA for McSPI (-19)
How to enable DMA support for SPI1.0 ?