Re: [PATCH v10 2/3] DMA: Freescale: Add new 8-channel DMA enginedevice tree nodes

From: Hongbo Zhang
Date: Thu Sep 26 2013 - 01:06:31 EST


On 09/26/2013 10:28 AM, David Gibson wrote:
On Wed, Sep 25, 2013 at 08:46:32PM -0500, Scott Wood wrote:
On Wed, 2013-09-25 at 15:35 +0800, Hongbo Zhang wrote:
By the way, I know maybe it is difficult, but why not introduce a
document of maintaining rules for the dt binding docs? we have dedicated
maintainers for this part now. Description language from one submitter
cannot satisfy every reviewer/maintainer, for a reg property, is it
necessary to say "offset and length",
Don't say "offset and length". It's both redundant with the base
definition of the reg property, and overly specific because it makes
assumptions about how the parent node's ranges are set up (sometimes we
want to be that specific, but usually not).

Thanks for your answer Scott.
In fact my questions are mainly sample questions to file the necessary rules of dt binding.
To look at it another way, the format of the 'reg' property is defined
by the parent bus's binding, not the binding of the node itself.

Whatever the rule is, if it is reasonable and accepted, just as I said, we need to file it.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/