[PATCH] ARM: dts: add support for Ka-Ro TX51

Shawn Guo shawn.guo at freescale.com
Tue Jun 24 23:48:43 PDT 2014


On Mon, Jun 23, 2014 at 12:18:39PM +0200, Lothar Waßmann wrote:
...
> > > +	phy-handle = <&phy0>;
> > > +	mac-address = [000000000000]; /* will be set by U-Boot */
> > 
> > Shouldn't it be local-mac-address?
> > 
> probably yes, but both 'mac-address' and 'local-mac-address' are being
> set up by U-Boot anyway.

Okay, never mind.  I just realized kernel supports both properties.

...

> > > +&esdhc1 {
> > > +	cd-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;
> > > +	fsl,wp-controller;
> > 
> > Does it work for you, since the driver does not support it as of today?
> > 
> What driver doesn't support what?
> AFAICT the sdhci-esdhc-imx.c driver supports both of these properties.

That was the case before, but it's not the case since commit
89d7e5c13122 (mmc: sdhci-esdhc-imx: add runtime pm support).

http://thread.gmane.org/gmane.linux.kernel.mmc/27287

...

> > > +	spidev0: spi at 0 {
> > > +		compatible = "spidev";
> > > +		reg = <0>;
> > > +		spi-max-frequency = <54000000>;
> > > +	};
> > > +
> > > +	spidev1: spi at 1 {
> > > +		compatible = "spidev";
> > > +		reg = <1>;
> > > +		spi-max-frequency = <54000000>;
> > > +	};
> > 
> > I'm not sure we should have these two devices.
> > 
> Why not? With this the SPI bus can readily be used with the spidev
> driver from Documentation/spi/spidev_test.c (which is what most of our
> customers are asking for)!

Is this something that has been approved by DT maintainers?  I do not
see "spidev" documented as a compatible in any bindings doc.

Shawn



More information about the linux-arm-kernel mailing list