RE: [PATCH v4] powerpc/mpc85xx: Update the clock device tree nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Wood Scott-B07421
> Sent: 2013年9月12日 星期四 22:44
> To: Tang Yuantian-B29983
> Cc: Wood Scott-B07421; galak@xxxxxxxxxxxxxxxxxxx; linuxppc-
> dev@xxxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; Li Yang-Leo-R58472
> Subject: Re: [PATCH v4] powerpc/mpc85xx: Update the clock device tree
> nodes
> 
> On Wed, 2013-09-11 at 20:31 -0500, Tang Yuantian-B29983 wrote:
> > > -----Original Message-----
> > > From: Wood Scott-B07421
> > > Sent: 2013年9月12日 星期四 9:10
> > > To: Tang Yuantian-B29983
> > > Cc: galak@xxxxxxxxxxxxxxxxxxx; linuxppc-dev@xxxxxxxxxxxxxxxx;
> > > devicetree@xxxxxxxxxxxxxxx; Li Yang-Leo-R58472
> > > Subject: Re: [PATCH v4] powerpc/mpc85xx: Update the clock device
> > > tree nodes
> > >
> > > This description of "reg" is overly specific (assumes how the parent
> > > node's ranges are set up), incomplete (there's a size as well as the
> > > offset), and does not apply to the clockgen node itself (you
> > > probably shouldn't lump them together like this).
> > >
> > Do you mean I should explain the REG of clockgen and its child node
> respectively?
> >
> > > > +- clocks : shall be the input parent clock phandle for the clock.
> > >
> > > Not required on the clockgen node
> > >
> > Required by child node of clockgen.
> 
> My point is that you're lumping several different types of nodes together
> with one binding, when some parts of the binding are not applicable to
> the clockgen node.
> 
Not several, just two types of nodes.
One is clockgen node, the other is PLL and mux nodes.

The reason they lumped together is that the clockgen node is not only IP block
Node but also a clock provider node.

At first, I want to add a extra fixed-clock node and move the clock-frequency of clockgen 
Node to it, but it is against the backward compatibility which I think it is not a big deal,
Because nobody hasn't used it yet.
If I add a extra node with the clock-frequency property and don't move the
clock-frequency property of clockgen, that would be redundant because both clockgen node
and the extra node have the same clock-frequency node.
So, I choose what I did now.
 
Could you give me some suggestions on this?
Regards,
Yuantian

> -Scott
> 

��.n��������+%������w��{.n����z�{��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux