Re: [meta-freescale] eCSPI driver not loading

2017-01-12 Thread Simon Drod
Hi Michael,
could you please try moving the following part of your dts:

pinctrl_ecspi1_1: ecspi1grp {
fsl,pins = <
MX6QDL_PAD_KEY_COL1__ECSPI1_MISO0x100b1
MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI0x100b1
MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK0x100b1
MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x8000
>;
};

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
>  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@0200/spba-bus@0200/ecspi@02008000/ecspi1grp
>> spi_master spi0: Failed to create SPI device for
>> /soc/aips-bus@0200/spba-bus@0200/ecspi@02008000/ecspi1grp
>> spi_imx 2008000.ecspi: probed
>>
>>
>> The following is what I put in the end of 'imx6qdl-var-dart.dtsi' file.
>>
>>  {
>> fsl,spi-num-chipselects = <1>;
>> cs-gpios = < 9 0>;
>> pinctrl-names = "default";
>> pinctrl-0 = <_ecspi1_1>;
>> status = "okay";
>>
>> chip1: spidev@0 {
>>compatible = "spidev";
>>spi-max-frequency = <1200>;
>>reg = <0>;
>> };
>> /*
>> chip2: spidev@1 {
>>compatible = "spidev";
>>spi-max-frequency = <2000>;
>>reg = <1>;
>> };
>> */
>> pinctrl_ecspi1_1: ecspi1grp {
>> fsl,pins = <
>> MX6QDL_PAD_KEY_COL1__ECSPI1_MISO0x100b1
>> MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI0x100b1
>> MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK0x100b1
>> MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x8000
>> >;
>> };
>> };
>>
>> Can anyone help?
>
> I am adding Variscite people on Cc so they can provided some advice.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] eCSPI driver not loading

2017-01-12 Thread Otavio Salvador
Hello Michael,

On Thu, Dec 22, 2016 at 8:07 PM, Michael Brainerd
 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@0200/spba-bus@0200/ecspi@02008000/ecspi1grp
> spi_master spi0: Failed to create SPI device for
> /soc/aips-bus@0200/spba-bus@0200/ecspi@02008000/ecspi1grp
> spi_imx 2008000.ecspi: probed
>
>
> The following is what I put in the end of 'imx6qdl-var-dart.dtsi' file.
>
>  {
> fsl,spi-num-chipselects = <1>;
> cs-gpios = < 9 0>;
> pinctrl-names = "default";
> pinctrl-0 = <_ecspi1_1>;
> status = "okay";
>
> chip1: spidev@0 {
>compatible = "spidev";
>spi-max-frequency = <1200>;
>reg = <0>;
> };
> /*
> chip2: spidev@1 {
>compatible = "spidev";
>spi-max-frequency = <2000>;
>reg = <1>;
> };
> */
> pinctrl_ecspi1_1: ecspi1grp {
> fsl,pins = <
> MX6QDL_PAD_KEY_COL1__ECSPI1_MISO0x100b1
> MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI0x100b1
> MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK0x100b1
> MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x8000
> >;
> };
> };
>
> Can anyone help?

I am adding Variscite people on Cc so they can provided some advice.


-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale