Tool/software: Linux
Hi TI,
Facing an issue when enable, MCSPI for my slave protocol driver. After SPI protocol driver registration, the probe call is not hitting.
I made dts changes in am571x-idk.dts:
&mcspi2 {
status = "okay";
compatible = "ti,omap4-mcspi", "ti,omap2-mcspi";
reg = <0x4809a000 0x200>;
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
ti,hwmods = "mcspi2";
ti,spi-num-cs = <2>;
dmas = <&sdma 43>,
<&sdma 44>,
<&sdma 45>,
<&sdma 46>;
dma-names = "tx0", "rx0", "tx1", "rx1";
myspislave: myspislave@1 {
compatible = "myspislave", "ti,omap4-mcspi", "ti,omap4-mcspi";
spi-max-frequency = <48000000>;
reg = <0>; /* chip select 0*/
};
};
.config:
CONFIG_SPI=y
CONFIG_SPI_DEBUG=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_OMAP24XX=y
Can any one suggest me what all the changes required to process further.
Thanks,
Anil