Re: [PATCH v4 1/2] ARM: dts: imx51-eukrea-mbimxsd51-baseboard: Add CAN support

Alexander Shiyan shc_work at mail.ru
Tue May 6 13:16:22 PDT 2014


Tue, 6 May 2014 17:04:44 -0300 от Fabio Estevam <festevam at gmail.com>:
> On Tue, May 6, 2014 at 4:32 PM, Alexander Shiyan <shc_work at mail.ru> wrote:
> >> +     can0: can at 0 {
> >> +             pinctrl-names = "default";
> >> +             pinctrl-0 = <&pinctrl_can>;
> >> +             compatible = "microchip,mcp2515";
> >> +             reg = <0>;
> >> +             clocks = <&clk24M>;
> >> +             spi-max-frequency = <1000000>;
> >
> > This should be of course 10000000, or removed completely
> > since driver already applies such limitation to the SPI bus.
> > I think Shawn can fix this during commit.
> 
> Yes, this should be 10MHz.
> 
> Thanks for the review.
> 
> Eric,
> 
> I forgot to Cc you on v4. Besides the 10MHz error above, does it look good?

Yes.
In fact, I would have changed the regulator name to the "CAN_RST" to
match the functionality, but this is nit-picking.

---



More information about the linux-arm-kernel mailing list