All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties
@ 2015-03-16 17:20 ` Suman Anna
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2015-03-16 17:20 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, devicetree, linux-arm-kernel, Suman Anna

Remove the 'ti,timer-dsp' and 'ti,timer-pwm' properties from the timer
nodes that still have them. This seems to be copied from OMAP5, on
which only certain timers are capable of providing PWM functionality
or be able to interrupt the DSP. All the GPTimers On DRA7 are capable
of PWM and interrupting any core (due to the presence of Crossbar).

These properties were used by the driver to add capabilities to each
timer, and support requesting timers by capability. In the DT world,
we expect any users of timers to use phandles to the respective timer,
and use the omap_dm_timer_request_by_node() API. The API to request
using capabilities, omap_dm_timer_request_by_cap() API should be
deprecated eventually.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 5827fedafd43..318d9409e8cd 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -658,7 +658,6 @@
 			reg = <0x48820000 0x80>;
 			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer5";
-			ti,timer-dsp;
 		};
 
 		timer6: timer@48822000 {
@@ -666,8 +665,6 @@
 			reg = <0x48822000 0x80>;
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer6";
-			ti,timer-dsp;
-			ti,timer-pwm;
 		};
 
 		timer7: timer@48824000 {
@@ -675,7 +672,6 @@
 			reg = <0x48824000 0x80>;
 			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer7";
-			ti,timer-dsp;
 		};
 
 		timer8: timer@48826000 {
@@ -683,8 +679,6 @@
 			reg = <0x48826000 0x80>;
 			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer8";
-			ti,timer-dsp;
-			ti,timer-pwm;
 		};
 
 		timer9: timer@4803e000 {
@@ -706,7 +700,6 @@
 			reg = <0x48088000 0x80>;
 			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer11";
-			ti,timer-pwm;
 		};
 
 		timer13: timer@48828000 {
-- 
2.3.2


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

* [PATCH] ARM: dts: DRA7: Remove ti, timer-dsp and ti, timer-pwm properties
@ 2015-03-16 17:20 ` Suman Anna
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2015-03-16 17:20 UTC (permalink / raw)
  To: linux-arm-kernel

Remove the 'ti,timer-dsp' and 'ti,timer-pwm' properties from the timer
nodes that still have them. This seems to be copied from OMAP5, on
which only certain timers are capable of providing PWM functionality
or be able to interrupt the DSP. All the GPTimers On DRA7 are capable
of PWM and interrupting any core (due to the presence of Crossbar).

These properties were used by the driver to add capabilities to each
timer, and support requesting timers by capability. In the DT world,
we expect any users of timers to use phandles to the respective timer,
and use the omap_dm_timer_request_by_node() API. The API to request
using capabilities, omap_dm_timer_request_by_cap() API should be
deprecated eventually.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 5827fedafd43..318d9409e8cd 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -658,7 +658,6 @@
 			reg = <0x48820000 0x80>;
 			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer5";
-			ti,timer-dsp;
 		};
 
 		timer6: timer at 48822000 {
@@ -666,8 +665,6 @@
 			reg = <0x48822000 0x80>;
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer6";
-			ti,timer-dsp;
-			ti,timer-pwm;
 		};
 
 		timer7: timer at 48824000 {
@@ -675,7 +672,6 @@
 			reg = <0x48824000 0x80>;
 			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer7";
-			ti,timer-dsp;
 		};
 
 		timer8: timer at 48826000 {
@@ -683,8 +679,6 @@
 			reg = <0x48826000 0x80>;
 			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer8";
-			ti,timer-dsp;
-			ti,timer-pwm;
 		};
 
 		timer9: timer at 4803e000 {
@@ -706,7 +700,6 @@
 			reg = <0x48088000 0x80>;
 			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 			ti,hwmods = "timer11";
-			ti,timer-pwm;
 		};
 
 		timer13: timer at 48828000 {
-- 
2.3.2

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

* Re: [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties
  2015-03-16 17:20 ` [PATCH] ARM: dts: DRA7: Remove ti, timer-dsp and ti, timer-pwm properties Suman Anna
@ 2015-03-16 22:29   ` Tony Lindgren
  -1 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2015-03-16 22:29 UTC (permalink / raw)
  To: Suman Anna; +Cc: linux-omap, devicetree, linux-arm-kernel

* Suman Anna <s-anna@ti.com> [150316 10:21]:
> Remove the 'ti,timer-dsp' and 'ti,timer-pwm' properties from the timer
> nodes that still have them. This seems to be copied from OMAP5, on
> which only certain timers are capable of providing PWM functionality
> or be able to interrupt the DSP. All the GPTimers On DRA7 are capable
> of PWM and interrupting any core (due to the presence of Crossbar).
> 
> These properties were used by the driver to add capabilities to each
> timer, and support requesting timers by capability. In the DT world,
> we expect any users of timers to use phandles to the respective timer,
> and use the omap_dm_timer_request_by_node() API. The API to request
> using capabilities, omap_dm_timer_request_by_cap() API should be
> deprecated eventually.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Applying into omap-for-v4.1/dt thanks.

Tony

> ---
>  arch/arm/boot/dts/dra7.dtsi | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
> index 5827fedafd43..318d9409e8cd 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -658,7 +658,6 @@
>  			reg = <0x48820000 0x80>;
>  			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer5";
> -			ti,timer-dsp;
>  		};
>  
>  		timer6: timer@48822000 {
> @@ -666,8 +665,6 @@
>  			reg = <0x48822000 0x80>;
>  			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer6";
> -			ti,timer-dsp;
> -			ti,timer-pwm;
>  		};
>  
>  		timer7: timer@48824000 {
> @@ -675,7 +672,6 @@
>  			reg = <0x48824000 0x80>;
>  			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer7";
> -			ti,timer-dsp;
>  		};
>  
>  		timer8: timer@48826000 {
> @@ -683,8 +679,6 @@
>  			reg = <0x48826000 0x80>;
>  			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer8";
> -			ti,timer-dsp;
> -			ti,timer-pwm;
>  		};
>  
>  		timer9: timer@4803e000 {
> @@ -706,7 +700,6 @@
>  			reg = <0x48088000 0x80>;
>  			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer11";
> -			ti,timer-pwm;
>  		};
>  
>  		timer13: timer@48828000 {
> -- 
> 2.3.2
> 

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

* [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties
@ 2015-03-16 22:29   ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2015-03-16 22:29 UTC (permalink / raw)
  To: linux-arm-kernel

* Suman Anna <s-anna@ti.com> [150316 10:21]:
> Remove the 'ti,timer-dsp' and 'ti,timer-pwm' properties from the timer
> nodes that still have them. This seems to be copied from OMAP5, on
> which only certain timers are capable of providing PWM functionality
> or be able to interrupt the DSP. All the GPTimers On DRA7 are capable
> of PWM and interrupting any core (due to the presence of Crossbar).
> 
> These properties were used by the driver to add capabilities to each
> timer, and support requesting timers by capability. In the DT world,
> we expect any users of timers to use phandles to the respective timer,
> and use the omap_dm_timer_request_by_node() API. The API to request
> using capabilities, omap_dm_timer_request_by_cap() API should be
> deprecated eventually.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Applying into omap-for-v4.1/dt thanks.

Tony

> ---
>  arch/arm/boot/dts/dra7.dtsi | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
> index 5827fedafd43..318d9409e8cd 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -658,7 +658,6 @@
>  			reg = <0x48820000 0x80>;
>  			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer5";
> -			ti,timer-dsp;
>  		};
>  
>  		timer6: timer at 48822000 {
> @@ -666,8 +665,6 @@
>  			reg = <0x48822000 0x80>;
>  			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer6";
> -			ti,timer-dsp;
> -			ti,timer-pwm;
>  		};
>  
>  		timer7: timer at 48824000 {
> @@ -675,7 +672,6 @@
>  			reg = <0x48824000 0x80>;
>  			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer7";
> -			ti,timer-dsp;
>  		};
>  
>  		timer8: timer at 48826000 {
> @@ -683,8 +679,6 @@
>  			reg = <0x48826000 0x80>;
>  			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer8";
> -			ti,timer-dsp;
> -			ti,timer-pwm;
>  		};
>  
>  		timer9: timer at 4803e000 {
> @@ -706,7 +700,6 @@
>  			reg = <0x48088000 0x80>;
>  			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
>  			ti,hwmods = "timer11";
> -			ti,timer-pwm;
>  		};
>  
>  		timer13: timer at 48828000 {
> -- 
> 2.3.2
> 

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

end of thread, other threads:[~2015-03-16 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 17:20 [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties Suman Anna
2015-03-16 17:20 ` [PATCH] ARM: dts: DRA7: Remove ti, timer-dsp and ti, timer-pwm properties Suman Anna
2015-03-16 22:29 ` [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties Tony Lindgren
2015-03-16 22:29   ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.