[PATCH v4 5/5] ARM: exynos: dts: Add FIMD DT binding Documentation

Tomasz Figa tomasz.figa at gmail.com
Wed Feb 27 09:11:32 EST 2013


On Tuesday 26 of February 2013 22:57:15 Sylwester Nawrocki wrote:
> On 02/26/2013 05:19 AM, Vikas Sajjan wrote:
> > ok thanks. Will modify the documentation as below.
> > 
> > compatible = "samsung, exynos4-fimd"; for Exynos4 SoCs
> > compatible = "samsung, exynos5-fimd" ; for Exynos5 SoCs
> > compatible = "samsung, s3c64xx-fimd" ; for S3C64XX SoCs
> > compatible = "samsung, s3c24xx-fimd" ; for S3C24XX SoCs
> > compatible = "samsung, s5p64x0-fimd" ; for S5P64X0 SoCs
> 
> There should be no wildcards in the compatible property. I guess we can
> just add the two first one above for now and leave other out for when
> someone actually adds support for these SoCs at the drivers.
> 
> I suppose we could,  for example, have something like:
> 
> compatible = "samsung,s3c2410-fimd";                         // for
> s3c2410 compatible = "samsung,s3c2440-fimd", "samsung,s3c2410-fimd"; //
> for s3c2440
> 
> etc. But this really needs to be checked with the documentation
> in each case.
> 
> > compatible = "samsung, s5pc100-fimd" ; for S5PC100 SoCs
> > compatible = "samsung, s5pv210-fimd" ; for S5PV210 SoCs

We should stick to the rule that compatible value should be named after 
first specific SoC model in which this particular IP version was included.

So this is what I would suggest:

compatible = "samsung,s3c2443-fimd"; // for S3C24XX SoCs
compatible = "samsung,s3c6400-fimd"; // for S3C64XX SoCs
compatible = "samsung,s5p6440-fimd"; // for S5P64X0 SoCs
compatible = "samsung,s5pc100-fimd"; // for S5PC100 SoC
compatible = "samsung,s5pv210-fimd"; // for S5PV210 SoC
compatible = "samsung,exynos4210-fimd"; // for Exynos4 SoCs
compatible = "samsung,exynos5250-fimd"; // for Exynos5 SoCs

(All the hardware variants are taken from s3c-fb driver.)

Best regards,
Tomasz



More information about the devicetree-discuss mailing list