All of lore.kernel.org
 help / color / mirror / Atom feed
* [V3 1/6] RTC: sa1100: Clean out ost register
@ 2011-11-30  6:29 Jett.Zhou
  2011-11-30 13:46 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Jett.Zhou @ 2011-11-30  6:29 UTC (permalink / raw)
  To: linux-arm-kernel

These registers are used in old ioctl of UIE and PIE, now they are
emulated by rtc generic code of hrtimer, so it can be removed.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
---
 drivers/rtc/rtc-sa1100.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
index 0b40bb8..6f22c1f 100644
--- a/drivers/rtc/rtc-sa1100.c
+++ b/drivers/rtc/rtc-sa1100.c
@@ -36,7 +36,6 @@
 
 #ifdef CONFIG_ARCH_PXA
 #include <mach/regs-rtc.h>
-#include <mach/regs-ost.h>
 #endif
 
 #define RTC_DEF_DIVIDER		(32768 - 1)
@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev)
 {
 	spin_lock_irq(&sa1100_rtc_lock);
 	RTSR = 0;
-	OIER &= ~OIER_E1;
-	OSSR = OSSR_M1;
 	spin_unlock_irq(&sa1100_rtc_lock);
 
 	free_irq(IRQ_RTCAlrm, dev);
-- 
1.7.0.4

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

* [V3 1/6] RTC: sa1100: Clean out ost register
  2011-11-30  6:29 [V3 1/6] RTC: sa1100: Clean out ost register Jett.Zhou
@ 2011-11-30 13:46 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-11-30 14:47   ` Haojian Zhuang
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-11-30 13:46 UTC (permalink / raw)
  To: linux-arm-kernel

On 14:29 Wed 30 Nov     , Jett.Zhou wrote:
> These registers are used in old ioctl of UIE and PIE, now they are
> emulated by rtc generic code of hrtimer, so it can be removed.
> 
> Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
> ---
>  drivers/rtc/rtc-sa1100.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
> index 0b40bb8..6f22c1f 100644
> --- a/drivers/rtc/rtc-sa1100.c
> +++ b/drivers/rtc/rtc-sa1100.c
> @@ -36,7 +36,6 @@
>  
>  #ifdef CONFIG_ARCH_PXA
>  #include <mach/regs-rtc.h>
please move this to include/linux too
to allow  the simgle zImage

Best Regards,
J.

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

* [V3 1/6] RTC: sa1100: Clean out ost register
  2011-11-30 13:46 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-11-30 14:47   ` Haojian Zhuang
  0 siblings, 0 replies; 4+ messages in thread
From: Haojian Zhuang @ 2011-11-30 14:47 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 30, 2011 at 9:46 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
> On 14:29 Wed 30 Nov ? ? , Jett.Zhou wrote:
>> These registers are used in old ioctl of UIE and PIE, now they are
>> emulated by rtc generic code of hrtimer, so it can be removed.
>>
>> Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
>> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
>> ---
>> ?drivers/rtc/rtc-sa1100.c | ? ?3 ---
>> ?1 files changed, 0 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
>> index 0b40bb8..6f22c1f 100644
>> --- a/drivers/rtc/rtc-sa1100.c
>> +++ b/drivers/rtc/rtc-sa1100.c
>> @@ -36,7 +36,6 @@
>>
>> ?#ifdef CONFIG_ARCH_PXA
>> ?#include <mach/regs-rtc.h>
> please move this to include/linux too
> to allow ?the simgle zImage
>
> Best Regards,
> J.

This patch is used to remove <mach/regs-ost.h>. <regs-rtc.h> will be
removed in the rest of this patch series. Please check the third
patch.

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

* [V3 1/6] RTC: sa1100: Clean out ost register
@ 2011-11-30  6:27 Jett.Zhou
  0 siblings, 0 replies; 4+ messages in thread
From: Jett.Zhou @ 2011-11-30  6:27 UTC (permalink / raw)
  To: linux-arm-kernel

These registers are used in old ioctl of UIE and PIE, now they are
emulated by rtc generic code of hrtimer, so it can be removed.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
---
 drivers/rtc/rtc-sa1100.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
index 0b40bb8..6f22c1f 100644
--- a/drivers/rtc/rtc-sa1100.c
+++ b/drivers/rtc/rtc-sa1100.c
@@ -36,7 +36,6 @@
 
 #ifdef CONFIG_ARCH_PXA
 #include <mach/regs-rtc.h>
-#include <mach/regs-ost.h>
 #endif
 
 #define RTC_DEF_DIVIDER		(32768 - 1)
@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev)
 {
 	spin_lock_irq(&sa1100_rtc_lock);
 	RTSR = 0;
-	OIER &= ~OIER_E1;
-	OSSR = OSSR_M1;
 	spin_unlock_irq(&sa1100_rtc_lock);
 
 	free_irq(IRQ_RTCAlrm, dev);
-- 
1.7.0.4

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

end of thread, other threads:[~2011-11-30 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30  6:29 [V3 1/6] RTC: sa1100: Clean out ost register Jett.Zhou
2011-11-30 13:46 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-30 14:47   ` Haojian Zhuang
  -- strict thread matches above, loose matches on Subject: below --
2011-11-30  6:27 Jett.Zhou

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.