devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers
@ 2017-07-11 22:36 Suman Anna
  2017-07-12  1:09 ` Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Suman Anna @ 2017-07-11 22:36 UTC (permalink / raw)
  To: Stephen Boyd, Rob Herring
  Cc: Santosh Shilimkar, Tero Kristo, Nishanth Menon, Dave Gerlach,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-clk-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Suman Anna

The clock consumer usage description was erroneously referring to
couple of dt-binding headers that are no longer valid. The definition
and/or usage of these headers is incorrect and the only file present
at the moment, dt-bindings/soc/k2g.h is also being cleaned up. The
examples in this binding were updated properly, but the update to
description was missed out. So, fix this.

Fixes: 8f306cfe4383 ("Documentation: dt: Add TI SCI clock driver")
Signed-off-by: Suman Anna <s-anna-l0cyMroinI0@public.gmane.org>
---
Hi Stephen,

Looks like this was missed during the update/repost of the ti-sci-clk
driver/binding. FYI, Santosh is going to pickup the header file cleanup
patch https://patchwork.kernel.org/patch/9741279/ for the next merge
window.

regards
Suman

 Documentation/devicetree/bindings/clock/ti,sci-clk.txt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
index 1e884c40ab50..4e59dc6b1778 100644
--- a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
+++ b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
@@ -14,10 +14,9 @@ Required properties:
 - compatible: Must be "ti,k2g-sci-clk"
 - #clock-cells: Shall be 2.
   In clock consumers, this cell represents the device ID and clock ID
-  exposed by the PM firmware. The assignments can be found in the header
-  files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and
-  <dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc>
-  is the SoC involved, for example 'k2g'.
+  exposed by the PM firmware. The list of valid values for the device IDs
+  and clocks IDs for 66AK2G SoC are documented at
+  http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data
 
 Examples:
 --------
-- 
2.13.1

--
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

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

* Re: [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers
  2017-07-11 22:36 [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers Suman Anna
@ 2017-07-12  1:09 ` Stephen Boyd
  2017-07-12 15:21   ` Suman Anna
  2017-07-17 17:04   ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Boyd @ 2017-07-12  1:09 UTC (permalink / raw)
  To: Suman Anna
  Cc: Rob Herring, Santosh Shilimkar, Tero Kristo, Nishanth Menon,
	Dave Gerlach, devicetree, linux-clk, linux-kernel,
	linux-arm-kernel

On 07/11, Suman Anna wrote:
> The clock consumer usage description was erroneously referring to
> couple of dt-binding headers that are no longer valid. The definition
> and/or usage of these headers is incorrect and the only file present
> at the moment, dt-bindings/soc/k2g.h is also being cleaned up. The
> examples in this binding were updated properly, but the update to
> description was missed out. So, fix this.
> 
> Fixes: 8f306cfe4383 ("Documentation: dt: Add TI SCI clock driver")
> Signed-off-by: Suman Anna <s-anna@ti.com>
> ---
> Hi Stephen,
> 
> Looks like this was missed during the update/repost of the ti-sci-clk
> driver/binding. FYI, Santosh is going to pickup the header file cleanup
> patch https://patchwork.kernel.org/patch/9741279/ for the next merge
> window.

I'll let Rob apply this as it is purely a binding document update.

> 
> regards
> Suman
> 
>  Documentation/devicetree/bindings/clock/ti,sci-clk.txt | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
> index 1e884c40ab50..4e59dc6b1778 100644
> --- a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
> +++ b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
> @@ -14,10 +14,9 @@ Required properties:
>  - compatible: Must be "ti,k2g-sci-clk"
>  - #clock-cells: Shall be 2.
>    In clock consumers, this cell represents the device ID and clock ID
> -  exposed by the PM firmware. The assignments can be found in the header
> -  files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and
> -  <dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc>
> -  is the SoC involved, for example 'k2g'.
> +  exposed by the PM firmware. The list of valid values for the device IDs
> +  and clocks IDs for 66AK2G SoC are documented at
> +  http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data
>  

I hope the weblink doesn't die in the future. Why can't we copy
it into the binding document here for safe keeping?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers
  2017-07-12  1:09 ` Stephen Boyd
@ 2017-07-12 15:21   ` Suman Anna
  2017-07-17 17:04   ` Rob Herring
  1 sibling, 0 replies; 5+ messages in thread
From: Suman Anna @ 2017-07-12 15:21 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Rob Herring, Santosh Shilimkar, Tero Kristo, Nishanth Menon,
	Dave Gerlach, devicetree, linux-clk, linux-kernel,
	linux-arm-kernel

On 07/11/2017 08:09 PM, Stephen Boyd wrote:
> On 07/11, Suman Anna wrote:
>> The clock consumer usage description was erroneously referring to
>> couple of dt-binding headers that are no longer valid. The definition
>> and/or usage of these headers is incorrect and the only file present
>> at the moment, dt-bindings/soc/k2g.h is also being cleaned up. The
>> examples in this binding were updated properly, but the update to
>> description was missed out. So, fix this.
>>
>> Fixes: 8f306cfe4383 ("Documentation: dt: Add TI SCI clock driver")
>> Signed-off-by: Suman Anna <s-anna@ti.com>
>> ---
>> Hi Stephen,
>>
>> Looks like this was missed during the update/repost of the ti-sci-clk
>> driver/binding. FYI, Santosh is going to pickup the header file cleanup
>> patch https://patchwork.kernel.org/patch/9741279/ for the next merge
>> window.
> 
> I'll let Rob apply this as it is purely a binding document update.

OK, thanks.

> 
>>
>> regards
>> Suman
>>
>>  Documentation/devicetree/bindings/clock/ti,sci-clk.txt | 7 +++----
>>  1 file changed, 3 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
>> index 1e884c40ab50..4e59dc6b1778 100644
>> --- a/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
>> +++ b/Documentation/devicetree/bindings/clock/ti,sci-clk.txt
>> @@ -14,10 +14,9 @@ Required properties:
>>  - compatible: Must be "ti,k2g-sci-clk"
>>  - #clock-cells: Shall be 2.
>>    In clock consumers, this cell represents the device ID and clock ID
>> -  exposed by the PM firmware. The assignments can be found in the header
>> -  files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and
>> -  <dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc>
>> -  is the SoC involved, for example 'k2g'.
>> +  exposed by the PM firmware. The list of valid values for the device IDs
>> +  and clocks IDs for 66AK2G SoC are documented at
>> +  http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data
>>  
> 
> I hope the weblink doesn't die in the future. Why can't we copy
> it into the binding document here for safe keeping?

Yeah, the weblink will be maintained, it explains our TI-SCI protocol
information and we also have couple more references to it. I don't think
the values themselves do not belong to any binding and they are specific
to each SoC. We have initially added them to dt-bindings header files,
but since those files are not really leveraged by any drivers and only
provided macro usage in DTS files, they are being cleaned up. DT nodes
will directly use the required values instead.

regards
Suman


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

* Re: [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers
  2017-07-12  1:09 ` Stephen Boyd
  2017-07-12 15:21   ` Suman Anna
@ 2017-07-17 17:04   ` Rob Herring
  2017-07-17 17:14     ` Santosh Shilimkar
  1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2017-07-17 17:04 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Suman Anna, Santosh Shilimkar, Tero Kristo, Nishanth Menon,
	Dave Gerlach, devicetree, linux-clk, linux-kernel,
	linux-arm-kernel

On Tue, Jul 11, 2017 at 06:09:23PM -0700, Stephen Boyd wrote:
> On 07/11, Suman Anna wrote:
> > The clock consumer usage description was erroneously referring to
> > couple of dt-binding headers that are no longer valid. The definition
> > and/or usage of these headers is incorrect and the only file present
> > at the moment, dt-bindings/soc/k2g.h is also being cleaned up. The
> > examples in this binding were updated properly, but the update to
> > description was missed out. So, fix this.
> > 
> > Fixes: 8f306cfe4383 ("Documentation: dt: Add TI SCI clock driver")
> > Signed-off-by: Suman Anna <s-anna@ti.com>
> > ---
> > Hi Stephen,
> > 
> > Looks like this was missed during the update/repost of the ti-sci-clk
> > driver/binding. FYI, Santosh is going to pickup the header file cleanup
> > patch https://patchwork.kernel.org/patch/9741279/ for the next merge
> > window.
> 
> I'll let Rob apply this as it is purely a binding document update.

Applied.

Rob

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

* Re: [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers
  2017-07-17 17:04   ` Rob Herring
@ 2017-07-17 17:14     ` Santosh Shilimkar
  0 siblings, 0 replies; 5+ messages in thread
From: Santosh Shilimkar @ 2017-07-17 17:14 UTC (permalink / raw)
  To: Rob Herring, Stephen Boyd
  Cc: Suman Anna, Santosh Shilimkar, Tero Kristo, Nishanth Menon,
	Dave Gerlach, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-clk-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On 7/17/2017 10:04 AM, Rob Herring wrote:
> On Tue, Jul 11, 2017 at 06:09:23PM -0700, Stephen Boyd wrote:
>> On 07/11, Suman Anna wrote:
>>> The clock consumer usage description was erroneously referring to
>>> couple of dt-binding headers that are no longer valid. The definition
>>> and/or usage of these headers is incorrect and the only file present
>>> at the moment, dt-bindings/soc/k2g.h is also being cleaned up. The
>>> examples in this binding were updated properly, but the update to
>>> description was missed out. So, fix this.
>>>
>>> Fixes: 8f306cfe4383 ("Documentation: dt: Add TI SCI clock driver")
>>> Signed-off-by: Suman Anna <s-anna-l0cyMroinI0@public.gmane.org>
>>> ---
>>> Hi Stephen,
>>>
>>> Looks like this was missed during the update/repost of the ti-sci-clk
>>> driver/binding. FYI, Santosh is going to pickup the header file cleanup
>>> patch https://patchwork.kernel.org/patch/9741279/ for the next merge
>>> window.
>>
>> I'll let Rob apply this as it is purely a binding document update.
> 
> Applied.
> 
Thanks Rob !!
--
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

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

end of thread, other threads:[~2017-07-17 17:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-11 22:36 [PATCH] dt-bindings: clock: ti-sci: Fix incorrect usage of headers Suman Anna
2017-07-12  1:09 ` Stephen Boyd
2017-07-12 15:21   ` Suman Anna
2017-07-17 17:04   ` Rob Herring
2017-07-17 17:14     ` Santosh Shilimkar

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).