Tool/software: Linux
Hi All,
I am working on am335x customised board with linux version 4.4.19.
I have used spi0 bus for lcd initialisation,lcd initialised properly with spi0_cs0 and lcd also working fine with out any issues.
But i am facing colour problem while using spi0 chip select as a gpio (mcasp0_ahclkr.gpio3_17)
Here i given pinmuxing and platform data for your reference.
/* SPI Busses */
&am33xx_pinmux {
spi0_pins: pinmux_spi0 {
pinctrl-single,pins = <
0x150 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* spi0_clk.spi0_clk */
0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* spi0_d0.spi0_d0 */
0x158 (PIN_INPUT_PULLUP | MUX_MODE0) /* spi0_d1.spi0_d1 */
0x19c (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_ahclkr.gpio3_17 */
>;
};
};
&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
cs-gpios = <&gpio3 17 0>;
status = "okay";
Please give some inputs to solve this issue.
Thanks & Regards,
Sankar.