From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties Date: Mon, 16 Mar 2015 15:29:10 -0700 Message-ID: <20150316222909.GS12397@atomide.com> References: <1426526437-63741-1-git-send-email-s-anna@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from muru.com ([72.249.23.125]:37939 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755145AbbCPWd7 (ORCPT ); Mon, 16 Mar 2015 18:33:59 -0400 Content-Disposition: inline In-Reply-To: <1426526437-63741-1-git-send-email-s-anna@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Suman Anna Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org * Suman Anna [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 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 = ; > ti,hwmods = "timer5"; > - ti,timer-dsp; > }; > > timer6: timer@48822000 { > @@ -666,8 +665,6 @@ > reg = <0x48822000 0x80>; > interrupts = ; > ti,hwmods = "timer6"; > - ti,timer-dsp; > - ti,timer-pwm; > }; > > timer7: timer@48824000 { > @@ -675,7 +672,6 @@ > reg = <0x48824000 0x80>; > interrupts = ; > ti,hwmods = "timer7"; > - ti,timer-dsp; > }; > > timer8: timer@48826000 { > @@ -683,8 +679,6 @@ > reg = <0x48826000 0x80>; > interrupts = ; > ti,hwmods = "timer8"; > - ti,timer-dsp; > - ti,timer-pwm; > }; > > timer9: timer@4803e000 { > @@ -706,7 +700,6 @@ > reg = <0x48088000 0x80>; > interrupts = ; > ti,hwmods = "timer11"; > - ti,timer-pwm; > }; > > timer13: timer@48828000 { > -- > 2.3.2 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 16 Mar 2015 15:29:10 -0700 Subject: [PATCH] ARM: dts: DRA7: Remove ti,timer-dsp and ti,timer-pwm properties In-Reply-To: <1426526437-63741-1-git-send-email-s-anna@ti.com> References: <1426526437-63741-1-git-send-email-s-anna@ti.com> Message-ID: <20150316222909.GS12397@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Suman Anna [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 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 = ; > ti,hwmods = "timer5"; > - ti,timer-dsp; > }; > > timer6: timer at 48822000 { > @@ -666,8 +665,6 @@ > reg = <0x48822000 0x80>; > interrupts = ; > ti,hwmods = "timer6"; > - ti,timer-dsp; > - ti,timer-pwm; > }; > > timer7: timer at 48824000 { > @@ -675,7 +672,6 @@ > reg = <0x48824000 0x80>; > interrupts = ; > ti,hwmods = "timer7"; > - ti,timer-dsp; > }; > > timer8: timer at 48826000 { > @@ -683,8 +679,6 @@ > reg = <0x48826000 0x80>; > interrupts = ; > ti,hwmods = "timer8"; > - ti,timer-dsp; > - ti,timer-pwm; > }; > > timer9: timer at 4803e000 { > @@ -706,7 +700,6 @@ > reg = <0x48088000 0x80>; > interrupts = ; > ti,hwmods = "timer11"; > - ti,timer-pwm; > }; > > timer13: timer at 48828000 { > -- > 2.3.2 >