Re: 答复: [v7] clk: corenet: Adds the clock binding
From: Mark Rutland <hidden>
Date: 2014-01-08 09:30:46
Also in:
linuxppc-dev
On Wed, Jan 08, 2014 at 08:53:56AM +0000, Yuantian Tang wrote:
________________________________________ 发件人: Wood Scott-B07421 发送时间: 2014年1月8日 8:21 收件人: Tang Yuantian-B29983 抄送: galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org; mark.rutland-5wv7dgnIgG8@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org 主题: Re: [v7] clk: corenet: Adds the clock binding On Wed, Nov 20, 2013 at 05:04:49PM +0800, tang yuantian wrote:quoted
+Recommended properties: +- ranges: Allows valid translation between child's address space and + parent's. Must be present if the device has sub-nodes. +- #address-cells: Specifies the number of cells used to represent + physical base addresses. Must be present if the device has + sub-nodes and set to 1 if present +- #size-cells: Specifies the number of cells used to represent + the size of an address. Must be present if the device has + sub-nodes and set to 1 if presentWhy are we specifying #address-cells/#size-cells here? A: it has sub-nodes which have REG property, don't we need to specify #address-cells/#size-cells?
If a node has a reg entry, its parent should have #size-cells and #address-cells to allow it to be parsed properly. Mark. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html