[meta-freescale] eCSPI driver not loading

Simon Drod simon.dror at outlook.com
Thu Jan 12 07:15:30 PST 2017


Hi Michael,
could you please try moving the following part of your dts:

    pinctrl_ecspi1_1: ecspi1grp {
        fsl,pins = <
            MX6QDL_PAD_KEY_COL1__ECSPI1_MISO    0x100b1
            MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI    0x100b1
            MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK    0x100b1
            MX6QDL_PAD_KEY_ROW1__GPIO4_IO09     0x80000000
        >;
    };

in the "iomuxc => imx6qdl-var-som-mx6" section, let's say just before the pinctrl_ecspi3_1 declaration?
In case you are still failing the boot, could you please share a full boot log?

Thanks
BR
Simon Dror

On 12/01/2017 14:13, Otavio Salvador wrote:
> Hello Michael,
>
> On Thu, Dec 22, 2016 at 8:07 PM, Michael Brainerd
> <mbrainerd at protoprod.com> wrote:
>> need some help in getting eCSPI 1 driver loaded on iMX6Q processor on a
>> Variscite DART-MX6.
>> Attaching .config file.
>>
>> Boot log of the error:
>>
>> loop: module loaded
>> spi_master spi0: cannot find modalias for
>> /soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02008000/ecspi1grp
>> spi_master spi0: Failed to create SPI device for
>> /soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02008000/ecspi1grp
>> spi_imx 2008000.ecspi: probed
>>
>>
>> The following is what I put in the end of 'imx6qdl-var-dart.dtsi' file.
>>
>> &ecspi1 {
>>     fsl,spi-num-chipselects = <1>;
>>     cs-gpios = <&gpio4 9 0>;
>>     pinctrl-names = "default";
>>     pinctrl-0 = <&pinctrl_ecspi1_1>;
>>     status = "okay";
>>
>>         chip1: spidev at 0 {
>>                compatible = "spidev";
>>                spi-max-frequency = <12000000>;
>>                reg = <0>;
>>         };
>> /*
>>         chip2: spidev at 1 {
>>                compatible = "spidev";
>>                spi-max-frequency = <20000000>;
>>                reg = <1>;
>>     };
>> */
>>     pinctrl_ecspi1_1: ecspi1grp {
>>         fsl,pins = <
>>             MX6QDL_PAD_KEY_COL1__ECSPI1_MISO    0x100b1
>>             MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI    0x100b1
>>             MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK    0x100b1
>>             MX6QDL_PAD_KEY_ROW1__GPIO4_IO09     0x80000000
>>         >;
>>     };
>> };
>>
>> Can anyone help?
>
> I am adding Variscite people on Cc so they can provided some advice.


More information about the meta-freescale mailing list