linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: daniel.lezcano@linaro.org (Daniel Lezcano)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/6] Armada 370/XP clocksource fixes
Date: Mon, 12 Aug 2013 14:52:40 +0200	[thread overview]
Message-ID: <5208DA98.5090405@linaro.org> (raw)
In-Reply-To: <20130809124446.GR8204@titan.lakedaemon.net>

On 08/09/2013 02:44 PM, Jason Cooper wrote:
> Daniel,
> 
> Are you going to be able to take patches 1-5 for v3.12?  Assuming the DT
> maintainers are ok with the binding change, of course.

Ezequiel,

I would like to send a PR to Thomas.

Could you please prepare the V3 taking into account Jason's comments.

Ian, Rob, Mark, are you ok with Jason's comments ?

Thanks
  -- Daniel

> On Thu, Aug 08, 2013 at 08:32:26AM -0300, Ezequiel Garcia wrote:
>> This small patchset fixes a somewhat minor issue found in the clocksource
>> driver for Armada 370/XP SoC.
>>
>> On one side the Armada 370 SoC has no 25 MHz fixed timer.
>> On the other side the Armada XP SoC cannot work properly without such 25 MHz
>> fixed timer selected, because otherwise the base clock frequency would vary
>> when doing cpufreq frequency changes.
>>
>> Therefore we can consider the SoCs as not being compatible, being better to
>> have two compatible strings, one for each SoC. The previous compatible and
>> its behavior has been maintained to preserve backwards compatibility.
>>
>> In addition, CLOCKSOURCE_OF_DECLARE is used to simplify the initialization.
>>
>> This patchset is based on v3.11-rc4. Also, to ease maintainer's task this
>> is based on these two patches which are in linux-next:
>>
>>   commit be14114934545f52be2ffddbe401ba0951007c59
>>   Author: Stephen Boyd <sboyd@codeaurora.org>
>>   "clocksource: time-armada-370-xp: Divorce from local timer API"
>>
>>   commit 4047c794ae18c467a5ea987265238186bc253f61
>>   Author: Stephen Boyd <sboyd@codeaurora.org>
>>   "clocksource: time-armada-370-xp: Fix sparse warning"
>>
>> Any testing and feedback is highly appreciated!
>>
>> Changes from v1:
>>
>>   * Declare TIMER_CTRL register access helpers as static,
>>     as reported by Andrew Lunn.
>>
>>   * Add some documentation about the deprecated compatible string
>>     in the clocksource driver, as suggested by Andrew Lunn.
>>
>>   * Add to the series a cosmetic patch to use BIT()
>>
>>   * Rebased on top of two patches for the armada-370-xp clocksource
>>     driver, that are already in linux-next.
>>
>>   * Reordered the patches: bare cleanup first, improvements later.
>>
>> Ezequiel Garcia (6):
>>   clocksource: armada-370-xp: Use BIT()
>>   clocksource: armada-370-xp: Simplify TIMER_CTRL register access
>>   clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE
>>   clocksource: armada-370-xp: Introduce new compatibles
>>   clocksource: armada-370-xp: Fix device-tree binding
>>   ARM: mvebu: Fix the Armada 370/XP timer compatible strings
>>
>>  .../bindings/timer/marvell,armada-370-xp-timer.txt |  29 +++-
>>  arch/arm/boot/dts/armada-370-xp.dtsi               |   1 -
>>  arch/arm/boot/dts/armada-370.dtsi                  |   4 +
>>  arch/arm/boot/dts/armada-xp.dtsi                   |   2 +-
>>  arch/arm/mach-mvebu/armada-370-xp.c                |   4 +-
>>  drivers/clocksource/time-armada-370-xp.c           | 155 ++++++++++++++-------
>>  include/linux/time-armada-370-xp.h                 |  16 ---
>>  7 files changed, 134 insertions(+), 77 deletions(-)
>>  delete mode 100644 include/linux/time-armada-370-xp.h
>>
>> -- 
>> 1.8.1.5
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


-- 
 <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

  parent reply	other threads:[~2013-08-12 12:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 11:32 [PATCH v2 0/6] Armada 370/XP clocksource fixes Ezequiel Garcia
2013-08-08 11:32 ` [PATCH v2 1/6] clocksource: armada-370-xp: Use BIT() Ezequiel Garcia
2013-08-08 11:32 ` [PATCH v2 2/6] clocksource: armada-370-xp: Simplify TIMER_CTRL register access Ezequiel Garcia
2013-08-08 11:32 ` [PATCH v2 3/6] clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE Ezequiel Garcia
2013-08-08 11:32 ` [PATCH v2 4/6] clocksource: armada-370-xp: Introduce new compatibles Ezequiel Garcia
2013-08-08 11:32 ` [PATCH v2 5/6] clocksource: armada-370-xp: Fix device-tree binding Ezequiel Garcia
2013-08-08 14:09   ` Jason Cooper
2013-08-09 12:51     ` Jason Cooper
2013-08-08 11:32 ` [PATCH v2 6/6] ARM: mvebu: Fix the Armada 370/XP timer compatible strings Ezequiel Garcia
2013-08-08 11:48 ` [PATCH v2 0/6] Armada 370/XP clocksource fixes Andrew Lunn
2013-08-09 12:44 ` Jason Cooper
2013-08-09 14:21   ` Daniel Lezcano
2013-08-12 12:52   ` Daniel Lezcano [this message]
2013-08-12 14:31     ` Ezequiel Garcia

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=5208DA98.5090405@linaro.org \
    --to=daniel.lezcano@linaro.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;
as well as URLs for NNTP newsgroup(s).