From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Dirk Behme <dirk.behme@de.bosch.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Simon Horman <horms+renesas@verge.net.au>,
linux-renesas-soc@vger.kernel.org,
linux-clk <linux-clk@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Oleksij Rempel <linux@rempel-privat.de>,
Pooya Keshavarzi <Pooya.Keshavarzi@de.bosch.com>,
Oleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Subject: Re: [PATCH] clk: renesas: r8a7795: Move MODEMR to DT
Date: Thu, 28 Apr 2016 10:07:59 +0200 [thread overview]
Message-ID: <CAMuHMdUNt_yyLwPwDoQwMAGgeFrL9trH=-YvZ339ObnOPPvOPQ@mail.gmail.com> (raw)
In-Reply-To: <5721B47D.9030206@de.bosch.com>
Hi Dirk,
On Thu, Apr 28, 2016 at 8:58 AM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
> On 28.04.2016 08:52, Geert Uytterhoeven wrote:
>> On Thu, Apr 28, 2016 at 8:08 AM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
>>> @@ -46,7 +48,8 @@ Examples
>>>
>>> cpg: clock-controller@e6150000 {
>>> compatible = "renesas,r8a7795-cpg-mssr";
>>> - reg = <0 0xe6150000 0 0x1000>;
>>> + reg = <0 0xe6150000 0 0x1000>,
>>> + <0 0xe6160060 0 0x4>;
>>
>>
>> The MODEMR register is not part of the CPG block, but of the RST block.
>> So IMHO it doesn't belong in the clock-controller node.
>
> Ok, fine.
>
> So we agree hat this ugly hard coded register address stuff has to be
> removed and replaced by a device tree based solution. Correct?
Yes we agree.
>> BTW, I still prefer something like
>> "[PATCH 0/6] arm64: renesas: Obtain MD pin values using syscon/regmap"
>> (http://www.spinics.net/lists/linux-sh/msg44757.html).
>
> What's the status of this? I see there a date "1 Sep 2015" ;)
We were considering alternative solutions, cfr. "[PATCH/RFC 0/6] boot-mode-reg:
Add core" (http://www.spinics.net/lists/linux-sh/msg45969.html).
To avoid delaying upstream r8a7795, we settled for the ugly hard coded
register access as an interim solution.
> Is this available in any testing tree we could try?
It used to be part of older renesas-drivers releases.
The patches may still apply, though.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2016-04-28 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 6:08 [PATCH] clk: renesas: r8a7795: Move MODEMR to DT Dirk Behme
2016-04-28 6:52 ` Geert Uytterhoeven
2016-04-28 6:58 ` Dirk Behme
2016-04-28 8:07 ` Geert Uytterhoeven [this message]
2016-04-28 8:23 ` Dirk Behme
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='CAMuHMdUNt_yyLwPwDoQwMAGgeFrL9trH=-YvZ339ObnOPPvOPQ@mail.gmail.com' \
--to=geert@linux-m68k.org \
--cc=Pooya.Keshavarzi@de.bosch.com \
--cc=devicetree@vger.kernel.org \
--cc=dirk.behme@de.bosch.com \
--cc=fixed-term.Oleksij.Rempel@de.bosch.com \
--cc=geert+renesas@glider.be \
--cc=horms+renesas@verge.net.au \
--cc=linux-clk@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux@rempel-privat.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;
as well as URLs for NNTP newsgroup(s).