[PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC
Arnd Bergmann
arnd at arndb.de
Mon Jul 21 03:47:01 PDT 2014
On Monday 21 July 2014 12:38:55 Tomasz Figa wrote:
>
> I believe we should be enforcing as much correctness on DT data as
> possible without too much burden in the code. Otherwise how we are
> supposed to know if an error is caused by wrong/missing data in DT, bug
> in the driver or who knows else?
>
> In this case making this clock required depending on compatible string
> doesn't seem too bothersome to me.
It makes some sense given that we already need the separate compatible
string (for the number of channels). Without that part, I'd probably
prefer not having the new string just for the extra clock being required,
that could be handled more easily by just making it an optional clock.
Arnd
More information about the linux-arm-kernel
mailing list