linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: t-kristo@ti.com (Tero Kristo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window
Date: Mon, 22 Sep 2014 16:19:01 +0300	[thread overview]
Message-ID: <542021C5.5060201@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1409191606310.22526@utopia.booyaka.com>

On 09/19/2014 07:30 PM, Paul Walmsley wrote:
> On Thu, 18 Sep 2014, Tony Lindgren wrote:
>
>> * Tero Kristo <t-kristo@ti.com> [140901 11:09]:
>>> Hi,
>>>
>>> This set contains PRCM related cleanups meant for 3.18 merge window.
>>> These are based on top of 3.17-rc1 + the PRM set from Nishanth Menon
>>> (http://article.gmane.org/gmane.linux.ports.arm.kernel/350305.) Nishanth's
>>> set is used as basis to avoid merge issues.
>>>
>>> Purpose of this work is to eventually convert the PRCM code into a
>>> separate driver, but this is done in incremental parts as the amount
>>> of changes is substantial. Expected conclusion of this work is 3.19
>>> if everything goes fine.
>>>
>>> This part of the work mostly moves some of the SoC specific PRCM driver
>>> calls under generic version of the same, and adds SoC-ops to support
>>> these on the driver level.
>>>
>>> Working branch posted here:
>>>
>>> tree: https://github.com/t-kristo/linux-pm.git
>>> branch: for-v3.18/prcm-cleanup

Hi,

I pushed v2 of this set as 'for-v3.18/prcm-cleanup-v2' to my tree. 
Basically to address the below comments, and additionally I changed a 
few public cm_* api names to omap_cm_* + add the tested-by/acked-by 
statuses. Tony/Paul, do you want me to repost the series, or are you ok 
with a local diff / pull only?

>>
>> Paul, any comments on this series?
>
> Patches 1, 3, 5, 8, 10, 13, 17, 18, 20, 21, 22, 23, 24 are:
>
> Acked-by: Paul Walmsley <paul@pwsan.com>

Thanks, added acks to v2 patches.

>
> Here are some specific comments on a few other patches:
>
> Regarding patch 7:  The kerneldoc-nano function comments are good, but
> should begin with "/**" rather than "/*".  When that's fixed, it can be
> considered acked by me.

Yea, this was a typo, thanks for noticing.

>
> Regarding patches 14, 15, 16: Non-static prm_* functions really should
> start with omap*_ to avoid potential naming conflicts with other drivers
> when these are moved to drivers/.  (Obviously the same would apply for any
> CM function names in other, future patches.)  When that's fixed, it can be
> considered acked by me.

Ok, changed. Additionally I changed some cm_* prototypes in patches #6, 
#7 and #9 to be of form omap_cm_*.

> Regarding patch 25: What are "I/O wakeup gaes" -- gates?  When that's
> fixed, an acked-by for me can be added.

Yes, gates. Fixed.

> Regarding patch 26: It seems wise to ensure that omap_prm_reset_system()
> ends with a 'while(1) { cpu_relax(); }' or something similar, to ensure
> that execution flow does not proceed past that point. At that point, it
> should be possible to remove the "while(1) {}"s from omap44xx_restart(),
> omap2xxx_restart(), etc.  When that's fixed, an acked-by for me can be
> added.

Ok, changed this also. Added the while(1) cpu_relax(); part to the 
public API, and removed the loops from everywhere else.

>
> ...
>
> And some general comments: none of which should probably block this
> series, but seemed worth noting:
>
> Regarding patches 6 and 19: Tero, could you please share the DT node data
> that you're planning to submit for the PRM, CM1, and CM2 on the OMAP4*
> platforms? According to the TRM, these are separate IP blocks, with
> separate OCP header register areas.  So these should probably have
> separate DT nodes, regs, etc. if the DTS files are to match the hardware.
> The planned DTS data may impact the way these patches are written, at
> least, if more patches are to be avoided later.

We already have the nodes for these. Check out omap4.dtsi for example, 
we have nodes for prm/cm1/cm2/scrm there already. These were already 
defined when the clock DT data was introduced, and I don't foresee any 
changes to the nodes as of now. The nodes only contain register space 
info as of now, and Nishanth is adding the interrupt property for PRM 
interrupt purposes, but rest of the features are probably going to be 
hardcoded within the PRCM drivers themselves.

If you are interested, feel free to look at for-3.19/prcm-cleanup branch 
in my git tree, this contains the remaining patches I have for PRCM 
cleanup after this set available as of now.

-Tero

>
> As far as patches 2, 4, 9, 11, and 12 go, I'll let those go without
> comment.
>
>
> - Paul
>

  reply	other threads:[~2014-09-22 13:19 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 18:08 [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window Tero Kristo
2014-09-01 18:08 ` [PATCH 01/26] ARM: DRA7: PRM: add voltage processor check behind a prm_feature flag Tero Kristo
2014-09-01 18:08 ` [PATCH 02/26] ARM: AM43XX: PRM: use OMAP4 PRM driver Tero Kristo
2014-09-01 18:08 ` [PATCH 03/26] ARM: OMAP2/3: hwmod: merge wait_target_ready functions for omap2/3 Tero Kristo
2014-09-01 18:08 ` [PATCH 04/26] ARM: AM33xx/OMAP4+: CM: remove cdoffs parameter from wait_module_idle/ready Tero Kristo
2014-09-01 18:08 ` [PATCH 05/26] ARM: OMAP4/AM33xx: add cm_init / cm_exit calls for AM33xx and OMAP4+ Tero Kristo
2014-09-01 18:08 ` [PATCH 06/26] ARM: OMAP2+: CM: add common API for cm_wait_module_ready Tero Kristo
2014-09-01 18:08 ` [PATCH 07/26] ARM: OMAP4+/AM33xx: CM: add common API for cm_wait_module_idle Tero Kristo
2014-09-01 18:08 ` [PATCH 08/26] ARM: OMAP2+: CM: make clkdm_hwsup operations static Tero Kristo
2014-09-01 18:08 ` [PATCH 09/26] ARM: OMAP2+: CM: add common APIs for cm_module_enable/disable Tero Kristo
2014-09-01 18:08 ` [PATCH 10/26] ARM: OMAP2/3: CM: make cm_split_idlest_reg SoC calls static Tero Kristo
2014-09-01 18:09 ` [PATCH 11/26] ARM: AM33xx: hwmod: remove am33xx specific module SoC opts Tero Kristo
2014-09-01 18:09 ` [PATCH 12/26] ARM: AM43xx: hwmod: use OMAP4 hardreset ops instead of the AM33xx version Tero Kristo
2014-09-01 18:09 ` [PATCH 13/26] ARM: AM33xx: PRM: add support for prm_init Tero Kristo
2014-09-01 18:09 ` [PATCH 14/26] ARM: OMAP2+: PRM: add generic API for asserting hardware reset Tero Kristo
2014-09-01 18:09 ` [PATCH 15/26] ARM: OMAP2+: PRM: add generic API for deasserting " Tero Kristo
2014-09-01 18:09 ` [PATCH 16/26] ARM: OMAP2+: PRM: add generic API for checking hardreset status Tero Kristo
2014-09-01 18:09 ` [PATCH 17/26] ARM: OMAP4: CM: move public definitions from cminst44xx.h to cm44xx.h Tero Kristo
2014-09-01 18:09 ` [PATCH 18/26] ARM: OMAP4: CM: make cminst direct register access functions static Tero Kristo
2014-09-01 18:09 ` [PATCH 19/26] ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions Tero Kristo
2014-09-01 18:09 ` [PATCH 20/26] ARM: AM33xx: PRM: move global warm reset implementation to driver Tero Kristo
2014-09-01 18:09 ` [PATCH 21/26] ARM: AM33xx: PRM: make direct register access functions static Tero Kristo
2014-09-01 18:09 ` [PATCH 22/26] ARM: OMAP4: PRM: make omap4_prm_read/write_inst_reg calls static Tero Kristo
2014-09-01 18:09 ` [PATCH 23/26] ARM: OMAP3: PRM: make PRCM interrupt handler related functions static Tero Kristo
2014-09-01 18:09 ` [PATCH 24/26] ARM: OMAP4: " Tero Kristo
2014-09-01 18:09 ` [PATCH 25/26] ARM: OMAP3+: PRM: add generic API for reconfiguring I/O chain Tero Kristo
2014-09-01 18:09 ` [PATCH 26/26] ARM: OMAP2+: PRM: provide generic API for system reset Tero Kristo
2014-09-18 17:16 ` [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window Tony Lindgren
2014-09-18 19:16   ` Tony Lindgren
2014-09-19 16:38     ` Paul Walmsley
2014-09-19 17:27       ` Paul Walmsley
2014-09-23 16:14         ` Tony Lindgren
2014-09-24  9:04         ` Tero Kristo
2014-10-02 16:32           ` Tony Lindgren
2014-10-02 19:52             ` Tony Lindgren
2014-10-02 20:17               ` Felipe Balbi
2014-10-02 21:19                 ` Tony Lindgren
2014-10-02 21:59                   ` Felipe Balbi
2014-10-03 14:49                     ` Felipe Balbi
2014-10-03 15:46                       ` Tony Lindgren
2014-09-19 20:12     ` Nishanth Menon
2014-09-19 15:47   ` Paul Walmsley
2014-09-19 16:30   ` Paul Walmsley
2014-09-22 13:19     ` Tero Kristo [this message]
2014-09-23 16:08       ` Tony Lindgren

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=542021C5.5060201@ti.com \
    --to=t-kristo@ti.com \
    --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).