sc16is7xx: probe of spi1.0 failed with error -22

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sc16is7xx: probe of spi1.0 failed with error -22

2,044 Views
barrijagadish
Contributor I

Hi Team,

I am using sc16is740 SPI to UART converter while loading the driver getting error sc16is7xx: probe of spi1.0 failed with error -22 . I am using below dtsi content for SPI in kernel version 4.4.60.

spi_1_pins: spi_1_pinmux {
mux {
pins = "gpio47", "gpio46", "gpio44";
function = "blsp_spi1";
bias-disable;
};
pinmux_cs {
function = "gpio";
pins = "gpio45";
bias-disable;
output-high;
};
};

spi_1: spi@78b6000 { /* BLSP1 QUP2 */
pinctrl-0 = <&spi_1_pins>;
pinctrl-names = "default";
status = "ok";
cs-gpios = <&tlmm 45 0>;

sc16is740@0 {
reg = <0>;
compatible = "nxp,sc16is740";
spi-max-frequency = <4000000>;
gpio-controller;
use-default-sizes;
#gpio-cells = <2>;
};

};

0 Kudos
0 Replies