public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peng Fan <b51431@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 04/11] imx-common: add syscounter driver
Date: Fri, 3 Jul 2015 09:09:36 +0800	[thread overview]
Message-ID: <20150703010935.GB12208@shlinux2> (raw)
In-Reply-To: <201507022031.37143.marex@denx.de>

Hi Marek,

On Thu, Jul 02, 2015 at 08:31:37PM +0200, Marek Vasut wrote:
>On Thursday, July 02, 2015 at 01:03:01 PM, Peng Fan wrote:
>> syscounter exists on i.MX6UL and i.MX7D, so implement the driver
>> in imx-common.
>> If want to use syscounter, define CONFIG_SYSCOUNTER_TIMER; if
>> still want to use GPT timer, #define CONFIG_GPT_TIMER.
>> 
>> Signed-off-by: Ye.Li <B37916@freescale.com>
>> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
>> ---
>>  arch/arm/imx-common/Makefile                 |   7 +-
>>  arch/arm/imx-common/syscounter.c             | 124
>> +++++++++++++++++++++++++++ arch/arm/imx-common/timer.c                  |
>>   8 +-
>>  arch/arm/include/asm/imx-common/syscounter.h |  29 +++++++
>>  4 files changed, 164 insertions(+), 4 deletions(-)
>>  create mode 100644 arch/arm/imx-common/syscounter.c
>>  create mode 100644 arch/arm/include/asm/imx-common/syscounter.h
>
>Can this be converted to generic timer framework (see lib/time.c) ?
>I think it can , which would trim down this body of code considerably.
Will try lib/time.c. Thanks for suggestion.
>
>Best regards,
>Marek Vasut

Regards,
Peng.
-- 

  reply	other threads:[~2015-07-03  1:09 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 11:02 [U-Boot] [PATCH 00/11] imx: add i.MX6UL and basic board support Peng Fan
2015-07-02 11:02 ` [U-Boot] [PATCH 01/11] imx: mx6ul: Add i.MX6UL CPU type Peng Fan
2015-07-02 18:27   ` Marek Vasut
2015-07-03  1:17     ` Peng Fan
2015-07-03 13:33       ` Marek Vasut
2015-07-02 11:02 ` [U-Boot] [PATCH 02/11] imx: mx6ul: Add pins IOMUX head file Peng Fan
2015-07-02 18:29   ` Marek Vasut
2015-07-03  1:31     ` Peng Fan
2015-07-03 13:38       ` Marek Vasut
2015-07-02 11:03 ` [U-Boot] [PATCH 03/11] imx: mx6ul: Update imx registers " Peng Fan
2015-07-02 18:30   ` Marek Vasut
2015-07-02 23:55     ` Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 04/11] imx-common: add syscounter driver Peng Fan
2015-07-02 18:31   ` Marek Vasut
2015-07-03  1:09     ` Peng Fan [this message]
2015-07-02 11:03 ` [U-Boot] [PATCH 05/11] imx: mx6ul remove errata for i.MX6UL and use syscounter Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 06/11] imx:mx6ul add clock support Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 07/11] imx: mx6ul update soc related settings Peng Fan
2015-07-02 14:12   ` Fabio Estevam
2015-07-02 18:33   ` Marek Vasut
2015-07-03  1:36     ` Peng Fan
2015-07-03 13:39       ` Marek Vasut
2015-07-02 11:03 ` [U-Boot] [PATCH 08/11] imx: mx6 add PAD_CTL_SPEED_LOW for i.MX6SX/UL Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 09/11] mxc: gpio add i.MX6UL support Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 10/11] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for i.MX6UL Peng Fan
2015-07-02 18:35   ` Marek Vasut
2015-07-02 11:03 ` [U-Boot] [PATCH 11/11] imx: mx6ul_14x14_evk add basic board support Peng Fan
2015-07-02 14:15   ` Fabio Estevam
2015-07-03  1:37     ` Peng Fan
2015-07-02 18:37   ` Marek Vasut

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=20150703010935.GB12208@shlinux2 \
    --to=b51431@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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