All of lore.kernel.org
 help / color / mirror / Atom feed
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 01/11] clk: convert clock mux to accept regmap
Date: Wed, 11 Mar 2015 15:36:58 -0700	[thread overview]
Message-ID: <5500C38A.5070506@codeaurora.org> (raw)
In-Reply-To: <1425654784-27354-2-git-send-email-antoine.tenart@free-electrons.com>

On 03/06/15 07:12, Antoine Tenart wrote:
> Rework the clk_mux helpers to either use an iomem base address or a
> regmap.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
>

Last time we tried this Mike was opposed. The union is a nice trick but
I'm not sure it will help much.

Perhaps you'd be interested in using the bits of the mux code that you
need by using this patch[1]? It makes it so you can use the mux and
associated flags as functions called from somewhere else. Building a
regmap mux on top of that should be fairly straightforward.

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/284935.html

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: Antoine Tenart <antoine.tenart@free-electrons.com>,
	sebastian.hesselbarth@gmail.com, mturquette@linaro.org
Cc: zmxu@marvell.com, jszhang@marvell.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 01/11] clk: convert clock mux to accept regmap
Date: Wed, 11 Mar 2015 15:36:58 -0700	[thread overview]
Message-ID: <5500C38A.5070506@codeaurora.org> (raw)
In-Reply-To: <1425654784-27354-2-git-send-email-antoine.tenart@free-electrons.com>

On 03/06/15 07:12, Antoine Tenart wrote:
> Rework the clk_mux helpers to either use an iomem base address or a
> regmap.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
>

Last time we tried this Mike was opposed. The union is a nice trick but
I'm not sure it will help much.

Perhaps you'd be interested in using the bits of the mux code that you
need by using this patch[1]? It makes it so you can use the mux and
associated flags as functions called from somewhere else. Building a
regmap mux on top of that should be fairly straightforward.

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/284935.html

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


  reply	other threads:[~2015-03-11 22:36 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 15:12 [PATCH v2 00/11] ARM: berlin: refactor the clock Antoine Tenart
2015-03-06 15:12 ` Antoine Tenart
2015-03-06 15:12 ` [PATCH v2 01/11] clk: convert clock mux to accept regmap Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-11 22:36   ` Stephen Boyd [this message]
2015-03-11 22:36     ` Stephen Boyd
2015-03-06 15:12 ` [PATCH v2 02/11] clk: convert clock gate " Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-06 15:12 ` [PATCH v2 03/11] clk: berlin: use regmap Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-06 15:12 ` [PATCH v2 04/11] Documentation: bindings: move the Berlin clock documentation Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-06 15:12 ` [PATCH v2 05/11] ARM: berlin: rework the clock node for BG2 Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-06 15:12 ` [PATCH v2 06/11] ARM: berlin: rework the clock node for BG2CD Antoine Tenart
2015-03-06 15:12   ` Antoine Tenart
2015-03-06 15:13 ` [PATCH v2 07/11] ARM: berlin: rework the clock node for BG2Q Antoine Tenart
2015-03-06 15:13   ` Antoine Tenart
2015-03-06 15:13 ` [PATCH v2 08/11] Documentation: bindings: update the berlin chip and system ctrl doc Antoine Tenart
2015-03-06 15:13   ` Antoine Tenart
2015-03-06 15:13 ` [PATCH v2 09/11] ARM: berlin: remove useless chip and system ctrl compatibles in BG2 Antoine Tenart
2015-03-06 15:13   ` Antoine Tenart
2015-03-06 15:13 ` [PATCH v2 10/11] ARM: berlin: remove useless chip and system ctrl compatibles in BG2CD Antoine Tenart
2015-03-06 15:13   ` Antoine Tenart
2015-03-06 15:13 ` [PATCH v2 11/11] ARM: berlin: remove useless chip and system ctrl compatibles in BG2Q Antoine Tenart
2015-03-06 15:13   ` Antoine Tenart

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=5500C38A.5070506@codeaurora.org \
    --to=sboyd@codeaurora.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 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.