linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: corenet: Update the clock bindings
@ 2014-01-21  2:02 Tang Yuantian
  2014-01-23  0:44 ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Tang Yuantian @ 2014-01-21  2:02 UTC (permalink / raw)
  To: b07421; +Cc: Tang Yuantian, devicetree, linuxppc-dev, b32579

From: Tang Yuantian <yuantian.tang@freescale.com>

Main changs include:
	- Clarified the clock nodes' version number
	- Fixed a issue in example

Singed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
---
 Documentation/devicetree/bindings/clock/corenet-clock.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/corenet-clock.txt b/Documentation/devicetree/bindings/clock/corenet-clock.txt
index 24711af..d6cadef 100644
--- a/Documentation/devicetree/bindings/clock/corenet-clock.txt
+++ b/Documentation/devicetree/bindings/clock/corenet-clock.txt
@@ -54,6 +54,8 @@ Required properties:
 		It takes parent's clock-frequency as its clock.
 	* "fsl,qoriq-sysclk-2.0": for input system clock (v2.0).
 		It takes parent's clock-frequency as its clock.
+	Note: v1.0 and v2.0 are clock version which should align to
+	clockgen node's they belong to which is chassis version.
 - #clock-cells: From common clock binding. The number of cells in a
 	clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0"
 	clocks, or <1> for "fsl,qoriq-core-pll-[1,2].0" clocks.
@@ -85,7 +87,7 @@ Example for clock block and clock provider:
 			#clock-cells = <0>;
 			compatible = "fsl,qoriq-sysclk-1.0";
 			clock-output-names = "sysclk";
-		}
+		};
 
 		pll0: pll0@800 {
 			#clock-cells = <1>;
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] clk: corenet: Update the clock bindings
  2014-01-21  2:02 [PATCH] clk: corenet: Update the clock bindings Tang Yuantian
@ 2014-01-23  0:44 ` Scott Wood
  2014-01-23  2:47   ` Yuantian Tang
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Wood @ 2014-01-23  0:44 UTC (permalink / raw)
  To: Tang Yuantian; +Cc: b07421, b32579, linuxppc-dev, devicetree

On Tue, 2014-01-21 at 10:02 +0800, Tang Yuantian wrote:
> From: Tang Yuantian <yuantian.tang@freescale.com>
> 
> Main changs include:
> 	- Clarified the clock nodes' version number
> 	- Fixed a issue in example
> 
> Singed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
> ---
>  Documentation/devicetree/bindings/clock/corenet-clock.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/corenet-clock.txt b/Documentation/devicetree/bindings/clock/corenet-clock.txt
> index 24711af..d6cadef 100644
> --- a/Documentation/devicetree/bindings/clock/corenet-clock.txt
> +++ b/Documentation/devicetree/bindings/clock/corenet-clock.txt
> @@ -54,6 +54,8 @@ Required properties:
>  		It takes parent's clock-frequency as its clock.
>  	* "fsl,qoriq-sysclk-2.0": for input system clock (v2.0).
>  		It takes parent's clock-frequency as its clock.
> +	Note: v1.0 and v2.0 are clock version which should align to
> +	clockgen node's they belong to which is chassis version.

Instead, how about a note like this near the top of the file:

All references to "1.0" and "2.0" refer to the QorIQ chassis version to
which the chip complies.

Chassis Version		Example Chips
---------------		-------------
1.0			p4080, p5020, p5040
2.0			t4240, b4860, t1040


BTW, this binding and the associated driver really should be called
"qoriq-clock", not "corenet-clock".  This would match the compatible
string, and it doesn't really have much to do with corenet (which is
part of the QorIQ chassis v1 and v2, but not *this* part).  Do you know
if the chassis v3 clock interface will be similar enough to share a
driver?

-Scott

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] clk: corenet: Update the clock bindings
  2014-01-23  0:44 ` Scott Wood
@ 2014-01-23  2:47   ` Yuantian Tang
  2014-01-23 21:03     ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Yuantian Tang @ 2014-01-23  2:47 UTC (permalink / raw)
  To: Scott Wood
  Cc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yB2My4gSWYgaXQgaGFzIHNpbWlsYXIgY2xvY2sgdHJlZSwgdGhpcyBk
cml2ZXIgY2FuIGJlIHNoYXJlZC4NCkV2ZW4gdGhlIGRyaXZlciBjYW4ndCBiZSB1c2VkIGJ5IHYz
LCB3ZSBjYW4gZWFzaWx5IGFkZCB2MyBzdXBwb3J0IHNpbmNlIGl0IGhhcyBkaWZmZXJlbnQNCkNv
bXBhdGlibGUgc3RyaW5nLg0KDQpSZWdhcmRzLA0KWXVhbnRpYW4NCg0KPiAtU2NvdHQNCj4gDQoN
Cg==

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] clk: corenet: Update the clock bindings
  2014-01-23  2:47   ` Yuantian Tang
@ 2014-01-23 21:03     ` Scott Wood
  2014-01-24  2:33       ` Yuantian Tang
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Wood @ 2014-01-23 21:03 UTC (permalink / raw)
  To: Tang Yuantian-B29983
  Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Kushwaha Prabhakar-B32579

On Wed, 2014-01-22 at 20:47 -0600, Tang Yuantian-B29983 wrote:
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: 2014年1月23日 星期四 8:44
> > To: Tang Yuantian-B29983
> > Cc: Wood Scott-B07421; galak@kernel.crashing.org; linuxppc-
> > dev@lists.ozlabs.org; devicetree@vger.kernel.org; Kushwaha Prabhakar-
> > B32579
> > Subject: Re: [PATCH] clk: corenet: Update the clock bindings
> > 
> > On Tue, 2014-01-21 at 10:02 +0800, Tang Yuantian wrote:
> > > From: Tang Yuantian <yuantian.tang@freescale.com>
> > >
> > > Main changs include:
> > > 	- Clarified the clock nodes' version number
> > > 	- Fixed a issue in example
> > >
> > > Singed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
> > > ---
> > >  Documentation/devicetree/bindings/clock/corenet-clock.txt | 4 +++-
> > >  1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/clock/corenet-clock.txt
> > > b/Documentation/devicetree/bindings/clock/corenet-clock.txt
> > > index 24711af..d6cadef 100644
> > > --- a/Documentation/devicetree/bindings/clock/corenet-clock.txt
> > > +++ b/Documentation/devicetree/bindings/clock/corenet-clock.txt
> > > @@ -54,6 +54,8 @@ Required properties:
> > >  		It takes parent's clock-frequency as its clock.
> > >  	* "fsl,qoriq-sysclk-2.0": for input system clock (v2.0).
> > >  		It takes parent's clock-frequency as its clock.
> > > +	Note: v1.0 and v2.0 are clock version which should align to
> > > +	clockgen node's they belong to which is chassis version.
> > 
> > Instead, how about a note like this near the top of the file:
> > 
> > All references to "1.0" and "2.0" refer to the QorIQ chassis version to
> > which the chip complies.
> > 
> > Chassis Version		Example Chips
> > ---------------		-------------
> > 1.0			p4080, p5020, p5040
> > 2.0			t4240, b4860, t1040
> > 
> Better, I will update.
> 
> > 
> > BTW, this binding and the associated driver really should be called
> > "qoriq-clock", not "corenet-clock".  This would match the compatible
> > string, and it doesn't really have much to do with corenet (which is part
> > of the QorIQ chassis v1 and v2, but not *this* part).  Do you know if the
> > chassis v3 clock interface will be similar enough to share a driver?
> > 
> Doesn't QorIQ include some low-end socs, like p1022, p1020? 

Yes, but those aren't "QorIQ Chassis 1.0" or "QorIQ Chassis 2.0".
They're mpc85xx-family chips.

In any case, if "qoriq" makes sense for the compatible, I don't see why
it doesn't make sense for the driver.

> This driver has nothing to do with these boards. 
> I have no idea about chassis v3. If it has similar clock tree, this driver can be shared.
> Even the driver can't be used by v3, we can easily add v3 support since it has different
> Compatible string.

The reason I mentioned it is that chassis v3 will involve ARM chips that
have their own interconnect rather than corenet.

-Scott

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] clk: corenet: Update the clock bindings
  2014-01-23 21:03     ` Scott Wood
@ 2014-01-24  2:33       ` Yuantian Tang
  2014-01-24  2:35         ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Yuantian Tang @ 2014-01-24  2:33 UTC (permalink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9uZWQgaXQgaXMgdGhhdCBjaGFzc2lzIHYzIHdpbGwgaW52b2x2ZSBB
Uk0gY2hpcHMgdGhhdA0KPiBoYXZlIHRoZWlyIG93biBpbnRlcmNvbm5lY3QgcmF0aGVyIHRoYW4g
Y29yZW5ldC4NCj4gDQo+IC1TY290dA0KPiANCg0K

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] clk: corenet: Update the clock bindings
  2014-01-24  2:33       ` Yuantian Tang
@ 2014-01-24  2:35         ` Scott Wood
  2014-01-24  2:46           ` Yuantian Tang
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Wood @ 2014-01-24  2:35 UTC (permalink / raw)
  To: Tang Yuantian-B29983
  Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Kushwaha Prabhakar-B32579

On Thu, 2014-01-23 at 20:33 -0600, Tang Yuantian-B29983 wrote:
> > > > Instead, how about a note like this near the top of the file:
> > > >
> > > > All references to "1.0" and "2.0" refer to the QorIQ chassis version
> > > > to which the chip complies.
> > > >
> > > > Chassis Version		Example Chips
> > > > ---------------		-------------
> > > > 1.0			p4080, p5020, p5040
> > > > 2.0			t4240, b4860, t1040
> > > >
> > > Better, I will update.
> > >
> > > >
> > > > BTW, this binding and the associated driver really should be called
> > > > "qoriq-clock", not "corenet-clock".  This would match the compatible
> > > > string, and it doesn't really have much to do with corenet (which is
> > > > part of the QorIQ chassis v1 and v2, but not *this* part).  Do you
> > > > know if the chassis v3 clock interface will be similar enough to
> > share a driver?
> > > >
> > > Doesn't QorIQ include some low-end socs, like p1022, p1020?
> > 
> > Yes, but those aren't "QorIQ Chassis 1.0" or "QorIQ Chassis 2.0".
> > They're mpc85xx-family chips.
> > 
> > In any case, if "qoriq" makes sense for the compatible, I don't see why
> > it doesn't make sense for the driver.
> > 
> So, "Corenet" is appropriate for driver.
> If something should change, that must be compatible string.

No.  Corenet is a bus interconnect, not a chip family (despite abuse of
the name in other contexts in Linux/U-Boot).  And the binding with qoriq
has already been accepted.

-Scott

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] clk: corenet: Update the clock bindings
  2014-01-24  2:35         ` Scott Wood
@ 2014-01-24  2:46           ` Yuantian Tang
  2014-01-24  2:47             ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Yuantian Tang @ 2014-01-24  2:46 UTC (permalink / raw)
  To: Scott Wood
  Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	prabhakar@freescale.com

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBXb29kIFNjb3R0LUIwNzQyMQ0K
PiBTZW50OiAyMDE05bm0MeaciDI05pelIOaYn+acn+S6lCAxMDozNg0KPiBUbzogVGFuZyBZdWFu
dGlhbi1CMjk5ODMNCj4gQ2M6IGdhbGFrQGtlcm5lbC5jcmFzaGluZy5vcmc7IGxpbnV4cHBjLWRl
dkBsaXN0cy5vemxhYnMub3JnOw0KPiBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9yZzsgS3VzaHdh
aGEgUHJhYmhha2FyLUIzMjU3OQ0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBjbGs6IGNvcmVuZXQ6
IFVwZGF0ZSB0aGUgY2xvY2sgYmluZGluZ3MNCj4gDQo+IE9uIFRodSwgMjAxNC0wMS0yMyBhdCAy
MDozMyAtMDYwMCwgVGFuZyBZdWFudGlhbi1CMjk5ODMgd3JvdGU6DQo+ID4gPiA+ID4gSW5zdGVh
ZCwgaG93IGFib3V0IGEgbm90ZSBsaWtlIHRoaXMgbmVhciB0aGUgdG9wIG9mIHRoZSBmaWxlOg0K
PiA+ID4gPiA+DQo+ID4gPiA+ID4gQWxsIHJlZmVyZW5jZXMgdG8gIjEuMCIgYW5kICIyLjAiIHJl
ZmVyIHRvIHRoZSBRb3JJUSBjaGFzc2lzDQo+ID4gPiA+ID4gdmVyc2lvbiB0byB3aGljaCB0aGUg
Y2hpcCBjb21wbGll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2UgYXJlbid0ICJRb3JJUSBD
aGFzc2lzIDEuMCIgb3IgIlFvcklRIENoYXNzaXMgMi4wIi4NCj4gPiA+IFRoZXkncmUgbXBjODV4
eC1mYW1pbHkgY2hpcHMuDQo+ID4gPg0KPiA+ID4gSW4gYW55IGNhc2UsIGlmICJxb3JpcSIgbWFr
ZXMgc2Vuc2UgZm9yIHRoZSBjb21wYXRpYmxlLCBJIGRvbid0IHNlZQ0KPiA+ID4gd2h5IGl0IGRv
ZXNuJ3QgbWFrZSBzZW5zZSBmb3IgdGhlIGRyaXZlci4NCj4gPiA+DQo+ID4gU28sICJDb3JlbmV0
IiBpcyBhcHByb3ByaWF0ZSBmb3IgZHJpdmVyLg0KPiA+IElmIHNvbWV0aGluZyBzaG91bGQgY2hh
bmdlLCB0aGF0IG11c3QgYmUgY29tcGF0aWJsZSBzdHJpbmcuDQo+IA0KPiBOby4gIENvcmVuZXQg
aXMgYSBidXMgaW50ZXJjb25uZWN0LCBub3QgYSBjaGlwIGZhbWlseSAoZGVzcGl0ZSBhYnVzZSBv
Zg0KPiB0aGUgbmFtZSBpbiBvdGhlciBjb250ZXh0cyBpbiBMaW51eC9VLUJvb3QpLiAgQW5kIHRo
ZSBiaW5kaW5nIHdpdGggcW9yaXENCj4gaGFzIGFscmVhZHkgYmVlbiBhY2NlcHRlZC4NCj4gDQpR
b3JJUSBpcyBub3QgdGhlIGJlc3QgbmFtZSBlaXRoZXIgc2luY2UgaXQgaW5jbHVkZSB0aGUgbG93
LWVuZCBzb2NzLg0KV2hhdCB0aGUgbmFtZSBzaG91bGQgYmU/IA0KDQpSZWdhcmRzLA0KWXVhbnRp
YW4NCg0KPiAtU2NvdHQNCj4gDQoNCg==

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] clk: corenet: Update the clock bindings
  2014-01-24  2:46           ` Yuantian Tang
@ 2014-01-24  2:47             ` Scott Wood
  2014-01-24  3:05               ` Yuantian Tang
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Wood @ 2014-01-24  2:47 UTC (permalink / raw)
  To: Tang Yuantian-B29983
  Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Kushwaha Prabhakar-B32579

On Thu, 2014-01-23 at 20:46 -0600, Tang Yuantian-B29983 wrote:
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: 2014年1月24日 星期五 10:36
> > To: Tang Yuantian-B29983
> > Cc: galak@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org;
> > devicetree@vger.kernel.org; Kushwaha Prabhakar-B32579
> > Subject: Re: [PATCH] clk: corenet: Update the clock bindings
> > 
> > On Thu, 2014-01-23 at 20:33 -0600, Tang Yuantian-B29983 wrote:
> > > > > > Instead, how about a note like this near the top of the file:
> > > > > >
> > > > > > All references to "1.0" and "2.0" refer to the QorIQ chassis
> > > > > > version to which the chip complies.
> > > > > >
> > > > > > Chassis Version		Example Chips
> > > > > > ---------------		-------------
> > > > > > 1.0			p4080, p5020, p5040
> > > > > > 2.0			t4240, b4860, t1040
> > > > > >
> > > > > Better, I will update.
> > > > >
> > > > > >
> > > > > > BTW, this binding and the associated driver really should be
> > > > > > called "qoriq-clock", not "corenet-clock".  This would match the
> > > > > > compatible string, and it doesn't really have much to do with
> > > > > > corenet (which is part of the QorIQ chassis v1 and v2, but not
> > > > > > *this* part).  Do you know if the chassis v3 clock interface
> > > > > > will be similar enough to
> > > > share a driver?
> > > > > >
> > > > > Doesn't QorIQ include some low-end socs, like p1022, p1020?
> > > >
> > > > Yes, but those aren't "QorIQ Chassis 1.0" or "QorIQ Chassis 2.0".
> > > > They're mpc85xx-family chips.
> > > >
> > > > In any case, if "qoriq" makes sense for the compatible, I don't see
> > > > why it doesn't make sense for the driver.
> > > >
> > > So, "Corenet" is appropriate for driver.
> > > If something should change, that must be compatible string.
> > 
> > No.  Corenet is a bus interconnect, not a chip family (despite abuse of
> > the name in other contexts in Linux/U-Boot).  And the binding with qoriq
> > has already been accepted.
> > 
> QorIQ is not the best name either since it include the low-end socs.
> What the name should be? 

Again, those low-end chips do not implement "QorIQ Chassis 1.0" or
"QorIQ Chassis 2.0".  That they have "QorIQ" in their name is
irrelevant.

-Scott

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] clk: corenet: Update the clock bindings
  2014-01-24  2:47             ` Scott Wood
@ 2014-01-24  3:05               ` Yuantian Tang
  0 siblings, 0 replies; 9+ messages in thread
From: Yuantian Tang @ 2014-01-24  3:05 UTC (permalink / raw)
  To: Scott Wood
  Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	prabhakar@freescale.com

PiA+ID4gPiA+IEluIGFueSBjYXNlLCBpZiAicW9yaXEiIG1ha2VzIHNlbnNlIGZvciB0aGUgY29t
cGF0aWJsZSwgSSBkb24ndA0KPiA+ID4gPiA+IHNlZSB3aHkgaXQgZG9lc24ndCBtYWtlIHNlbnNl
IGZvciB0aGUgZHJpdmVyLg0KPiA+ID4gPiA+DQo+ID4gPiA+IFNvLCAiQ29yZW5ldCIgaXMgYXBw
cm9wcmlhdGUgZm9yIGRyaXZlci4NCj4gPiA+ID4gSWYgc29tZXRoaW5nIHNob3VsZCBjaGFuZ2Us
IHRoYXQgbXVzdCBiZSBjb21wYXRpYmxlIHN0cmluZy4NCj4gPiA+DQo+ID4gPiBOby4gIENvcmVu
ZXQgaXMgYSBidXMgaW50ZXJjb25uZWN0LCBub3QgYSBjaGlwIGZhbWlseSAoZGVzcGl0ZSBhYnVz
ZQ0KPiA+ID4gb2YgdGhlIG5hbWUgaW4gb3RoZXIgY29udGV4dHMgaW4gTGludXgvVS1Cb290KS4g
IEFuZCB0aGUgYmluZGluZw0KPiA+ID4gd2l0aCBxb3JpcSBoYXMgYWxyZWFkeSBiZWVuIGFjY2Vw
dGVkLg0KPiA+ID4NCj4gPiBRb3JJUSBpcyBub3QgdGhlIGJlc3QgbmFtZSBlaXRoZXIgc2luY2Ug
aXQgaW5jbHVkZSB0aGUgbG93LWVuZCBzb2NzLg0KPiA+IFdoYXQgdGhlIG5hbWUgc2hvdWxkIGJl
Pw0KPiANCj4gQWdhaW4sIHRob3NlIGxvdy1lbmQgY2hpcHMgZG8gbm90IGltcGxlbWVudCAiUW9y
SVEgQ2hhc3NpcyAxLjAiIG9yICJRb3JJUQ0KPiBDaGFzc2lzIDIuMCIuICBUaGF0IHRoZXkgaGF2
ZSAiUW9ySVEiIGluIHRoZWlyIG5hbWUgaXMgaXJyZWxldmFudC4NCj4gDQpHb3QgaXQuIA0KDQpS
ZWdhcmRzLA0KWXVhbnRpYW4NCg0KPiAtU2NvdHQNCj4gDQoNCg==

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-24  3:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21  2:02 [PATCH] clk: corenet: Update the clock bindings Tang Yuantian
2014-01-23  0:44 ` Scott Wood
2014-01-23  2:47   ` Yuantian Tang
2014-01-23 21:03     ` Scott Wood
2014-01-24  2:33       ` Yuantian Tang
2014-01-24  2:35         ` Scott Wood
2014-01-24  2:46           ` Yuantian Tang
2014-01-24  2:47             ` Scott Wood
2014-01-24  3:05               ` Yuantian Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).