AnsweredAssumed Answered

platform_driver_probe return error code -19

Question asked by victor Wang on Jul 27, 2017
Latest reply on Jul 31, 2017 by victor Wang

Hi, i'm porting wifi/BT on my board.

The OS system is Linux+QT.

I'm using Yocto project of meta-fsl-arm layers and based on SABRE SD i.MX 6.

 

This is my config file.

https://gist.github.com/victorwangwinmate/a87f0a8a0cb0fb9185fd689031001f51

 

And here is the place i add my pcie.

arch/arm/boot/dts/imx6qdl-fa30-210.dtsi

 

&pcie {

      pinctrl-names = "default";
      pinctrl-0 = <&pinctrl_pcie>;
      reset-gpio = <&gpio2 2 1>;
      power-on-gpio = <&gpio4 5 1>;
      status = "okay";
};

 

I defined my pinctrl_pcie in arch/arm/boot/dts/imx6qdl-fa3.dtsi

pinctrl_pcie: pciegrp {
fsl,pins = <
MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 /*wifi_EN*/
MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /*PCIE_RST*/
>;
};

 

And now when i send `lspci` i can't see anything.

 

When i check my syslog it returns -19 from function "platform_driver_probe()" for me.

Error code -19 means "No such device".

 

How can i fix this?

 

By the way, i can identify my module through commend "lspci" on OS Android 6.0.

Outcomes