Title: SPI AIO-3128C [Print This Page] Author: JuandeDios Time: 6/8/2018 16:21 Title: SPI AIO-3128C Dear colleagues, I'm building a kernel driver to a device. This device has SPI interface. I sent data by SPI with the last fireprime model but in this moment I can't send anything by SPI with AIO board. DTS file are diferent and I don't have schematics to check conections. I have some questions.
1 Which dts file do I have to change? aio-3128c.dts or rk3128-fireprime-aio.dts
2. What do i have to do in this code to use SPI interface?
Any suggestion? Thank you very much.Author: leungÏÈÉ Time: 6/11/2018 14:22
need to disabled spi_wk2xxxAuthor: JuandeDios Time: 6/18/2018 15:57
The problem was solved. I changed in 312x.dtsi pinctrl-0 = <&spi0_txd_mux0 &spi0_rxd_mux0 &spi0_clk_mux0 &spi0_cs0_mux0 &spi0_cs1_mux0>; to pinctrl-0 = <&spi0_txd_mux2 &spi0_rxd_mux2 &spi0_clk_mux2 &spi0_cs0_mux2>; and it's working.