AnsweredAssumed Answered

Imx233 spi speed - Mainline Kernel

Question asked by Pierre Parent on May 22, 2015
Latest reply on May 27, 2015 by Victor Linnik

Hi,

 

I don't succeed in configuring SPI Hz-Speed with mailine kernel (4.0.3).

 

Here is my dts:

 

        ssp1: ssp@80034000 {
   #address-cells = <1>;
   #size-cells = <0>;
   compatible = "fsl,imx23-spi";
   pinctrl-names = "default";
   pinctrl-0 = <&spi2_pins_a>;
   status = "okay";
   clock-frequency = <5000000>;

 

   spidev: spidev@0 {
   compatible = "spidev";
  spi-max-frequency = <5000000>;
   reg = <0>;
  };

 

   };

 

But whatever I tried the spi_clock remains at 1mhz!

 

Does anyone know how to solve this problem?

 

Thanks in advance,

 

Pierre.

Outcomes