public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/18] ARM: imx: make the imx timer driver implementation independent of SoCs.
Date: Fri, 15 May 2015 15:54:06 +0800	[thread overview]
Message-ID: <20150515075406.GE10411@tiger> (raw)
In-Reply-To: <1430405073-13106-1-git-send-email-shenwei.wang@freescale.com>

On Thu, Apr 30, 2015 at 09:44:15AM -0500, Shenwei Wang wrote:
> There are 4 versions of the timer hardware on Freescale MXC hardware.
> --Version 0: MX1/MXL
> --Version 1: MX21, MX27.
> --Version 2: MX25, MX31, MX35, MX37, MX51, MX6Q(Rev1.0)
> --Version 3: MX6DL, MX6SX, MX6Q(Rev1.1+)
> 
> This patch has removed the SoC related codes, and implemented the driver directly upon
> the hardware timer IP version. The new timer driver has redesigned the
> internal APIs, and limited the use of global variables as well.
> 
> As the new driver has become independent of the SoCs, it has
> been moved from the directory arch/arm/mach-imx into the
> directory drivers/clocksources.

Overall, I do not like how things get done here, the software version
numbering, the patch splitting, invasive changes than necessary.  So I
just worked out my version and will post for review shortly.

Shawn

> Shenwei Wang (18):
>   ARM: imx: Add a parameter to mxc_timer_init
>   ARM: imx: Add the definitions for imx_timer and its versions
>   ARM: imx: Add an array of timer IP block versions
>   ARM: imx: Added one more parameter for mxc_clockevent_init
>   ARM: imx: Added one more parameter for mxc_clocksource_init
>   ARM: imx: New timer driver APIs based on IP block
>   ARM: imx: Initialize the imx_timer structure
>   ARM: imx: Reimplemented the _mxc_timer_init based on IP version
>   ARM: imx: Removed the SoC relating codes in mxc_timer_interrupt
>   ARM: imx: Removed the SoC relating codes in mxc_set_mode
>   ARM: imx: Enabled the unused parameter
>   ARM: imx: Remove one global variable in mxc_clocksource_init
>   ARM: imx: Removed the unused functions and variables
>   ARM: imx: Removed the global variable "timer_base"
>   ARM: imx: Remove the SoC relating codes in mxc_clockevent_init
>   ARM: imx: Move the  variable clockevent_mode into mxc_set_mode
>   ARM: imx: Codes clean up
>   ARM: imx: Move time.c into drivers/clocksources
> 
>  arch/arm/mach-imx/Makefile      |   2 +-
>  arch/arm/mach-imx/time.c        | 388 ---------------------------
>  drivers/clk/imx/clk-imx1.c      |   3 +-
>  drivers/clk/imx/clk-imx21.c     |   3 +-
>  drivers/clk/imx/clk-imx27.c     |   3 +-
>  drivers/clk/imx/clk-imx31.c     |   3 +-
>  drivers/clk/imx/clk-imx35.c     |   5 +-
>  drivers/clk/imx/clk.h           |   2 +-
>  drivers/clocksource/Makefile    |   1 +
>  drivers/clocksource/timer-gpt.c | 572 ++++++++++++++++++++++++++++++++++++++++
>  10 files changed, 586 insertions(+), 396 deletions(-)
>  delete mode 100644 arch/arm/mach-imx/time.c
>  create mode 100644 drivers/clocksource/timer-gpt.c
> 
> --
> 1.9.1
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2015-05-15  7:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 14:44 [PATCH 00/18] ARM: imx: make the imx timer driver implementation independent of SoCs Shenwei Wang
2015-04-30 14:44 ` [PATCH 01/18] ARM: imx: Add a parameter to mxc_timer_init Shenwei Wang
2015-05-14  8:02   ` Shawn Guo
2015-05-14 13:48     ` Shenwei Wang
2015-04-30 14:44 ` [PATCH 02/18] ARM: imx: Add the definitions for imx_timer and its versions Shenwei Wang
2015-05-15  1:18   ` Shawn Guo
2015-05-15 15:47     ` Shenwei Wang
2015-04-30 14:44 ` [PATCH 03/18] ARM: imx: Add an array of timer IP block versions Shenwei Wang
2015-05-15  1:33   ` Shawn Guo
2015-04-30 14:44 ` [PATCH 04/18] ARM: imx: Added one more parameter for mxc_clockevent_init Shenwei Wang
2015-04-30 14:44 ` [PATCH 05/18] ARM: imx: Added one more parameter for mxc_clocksource_init Shenwei Wang
2015-04-30 14:44 ` [PATCH 06/18] ARM: imx: New timer driver APIs based on IP block Shenwei Wang
2015-05-15  1:44   ` Shawn Guo
2015-04-30 14:44 ` [PATCH 07/18] ARM: imx: Initialize the imx_timer structure Shenwei Wang
2015-05-15  2:05   ` Shawn Guo
2015-04-30 14:44 ` [PATCH 08/18] ARM: imx: Reimplemented the _mxc_timer_init based on IP version Shenwei Wang
2015-04-30 14:44 ` [PATCH 09/18] ARM: imx: Removed the SoC relating codes in mxc_timer_interrupt Shenwei Wang
2015-04-30 14:44 ` [PATCH 10/18] ARM: imx: Removed the SoC relating codes in mxc_set_mode Shenwei Wang
2015-04-30 14:44 ` [PATCH 11/18] ARM: imx: Enabled the unused parameter Shenwei Wang
2015-04-30 14:44 ` [PATCH 12/18] ARM: imx: Remove one global variable in mxc_clocksource_init Shenwei Wang
2015-04-30 14:44 ` [PATCH 13/18] ARM: imx: Removed the unused functions and variables Shenwei Wang
2015-04-30 14:44 ` [PATCH 14/18] ARM: imx: Removed the global variable "timer_base" Shenwei Wang
2015-04-30 14:44 ` [PATCH 15/18] ARM: imx: Remove the SoC relating codes in mxc_clockevent_init Shenwei Wang
2015-04-30 14:44 ` [PATCH 16/18] ARM: imx: Move the variable clockevent_mode into mxc_set_mode Shenwei Wang
2015-04-30 14:44 ` [PATCH 17/18] ARM: imx: Codes clean up Shenwei Wang
2015-04-30 14:44 ` [PATCH 18/18] ARM: imx: Move time.c into drivers/clocksources Shenwei Wang
2015-05-15  7:54 ` Shawn Guo [this message]
2015-05-15 15:39   ` [PATCH 00/18] ARM: imx: make the imx timer driver implementation independent of SoCs Shenwei Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150515075406.GE10411@tiger \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox