Hi everyone,
I use TX2 spi@3240000, there are 5 devices under spi bus when I read/write the 4th device(cs4), the fist device’s cs(cs0) active as the same time with the cs4. How can fix this isuue?
my dts code as blow:
spi@3240000 {
status = "okay";
cs-gpios = <0>,
<&tegra_main_gpio TEGRA_MAIN_GPIO(X, 6)>,
<&tegra_main_gpio TEGRA_MAIN_GPIO(N, 2)>,
<&tegra_main_gpio TEGRA_MAIN_GPIO(R, 1)>,
<&tegra_main_gpio TEGRA_MAIN_GPIO(T, 3)>,
<&tegra_main_gpio TEGRA_MAIN_GPIO(T, 2)>;
spi@0 {
compatible = "spidev";
reg = 0;
};
spi@1 {
compatible = "spidev";
reg = 1;
};
spi@2 {
compatible = "spidev";
reg = 2;
};
spi@3 {
compatible = "spidev";
reg = 3;
};
spi@4 {
compatible = "spidev";
reg = 4;
};
spi@5 {
compatible = "spidev";
reg = 5;
};
};