[PATCH v8 0/2] TWL6030, TWL6032 GPADC driver

Mark Rutland mark.rutland at arm.com
Thu Aug 15 08:59:06 EDT 2013


On Thu, Aug 15, 2013 at 12:03:02PM +0100, Jonathan Cameron wrote:
> 
> >> The changes to the original driver:
> >> - device tree adaptation;
> > 
> > I couldn't see a binding document in this series or in mainline. Have I
> > looked in the wrong places?
> 
> Nothing explicit supplied, but does it need one given it is doing only
> iio bindings (bindings/iio/iio-bindings.txt)
> plus twl child bindings
> (bindings/mfd/twl-family.txt)

Every binding needs to be documented.

> 
> If it does, I guess absolutely everything does, then fair enough!
> I guess that would make sense as there is no way for someone writing
> a device tree to know that there is nothing else to be specified.

Yup, that's why. Also, Linux isn't necessarily the only consumer, and
other consumers shouldn't need to read Linux code to figure out how a
particular binding is supposed to look.

Cheers,
Mark.



More information about the linux-arm-kernel mailing list