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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,100 次查看
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 项奖励
0 回复数