MicroSys sbc6x support (i.MX6)

Shawn Guo shawn.guo at linaro.org
Mon Apr 1 03:47:45 EDT 2013


On Mon, Apr 01, 2013 at 09:43:58AM +0200, Anatolij Gustschin wrote:
> On Mon, 1 Apr 2013 14:42:25 +0800
> Shawn Guo <shawn.guo at linaro.org> wrote:
> ...
> > > +/dts-v1/;
> > > +/include/ "imx6q.dtsi"
> > > +
> > > +/ {
> > > +	model = "MicroSys sbc6x board";
> > > +	compatible = "fsl,imx6q";
> > 
> > We generally have a vendor specific compatible string for custom
> > boards. 
> 
> Couldn't this be a compatible list like
> 
>     compatible = "microsys,sbc6x", "fsl,imx6q";
> 
Yes, this is what I was asking for and every imx board dts file is
doing.  Sorry if I did not make it clear.

Shawn

> Then, we can test for imx6q compatibility in drivers or
> platform code using of_machine_is_compatible(). Or what is the
> preferred way to test for SoC compatibility?
> 
> Thanks,
> 
> Anatolij




More information about the linux-arm-kernel mailing list