linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: "open list:ARM/Rockchip SoC support"
	<linux-rockchip@lists.infradead.org>, arm-soc <arm@kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [GIT PULL 3/4] Rockchip dts32 changes for 4.14
Date: Wed, 16 Aug 2017 23:42:50 +0200	[thread overview]
Message-ID: <10590238.TcdC6IbXJ9@phil> (raw)
In-Reply-To: <CAK8P3a1o4N47JO_Y_iW0jb0Q1O=fd_J0Z5pFKktz=U6EXrDw_w@mail.gmail.com>

Am Mittwoch, 16. August 2017, 23:10:32 CEST schrieb Arnd Bergmann:
> On Sun, Aug 6, 2017 at 11:50 AM, Heiko Stuebner <heiko@sntech.de> wrote:
> > The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:
> >
> >   Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)
> >
> > are available in the git repository at:
> >
> >   git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.14-rockchip-dts32-1
> >
> > for you to fetch changes up to 0f4dc7e154d054303c4dd6b5c3e3207f9a7f8714:
> >
> >   ARM: dts: rockchip: fix property-ordering in rv1108 mmc nodes (2017-07-22 22:41:35 +0200)
> >
> > ----------------------------------------------------------------
> > Removal of the deprectated num-slots property from all Rockchip dw-mmc
> > nodes. The rv1108 gains support for sd-cards on the evaluation board and
> > the general nodes get a bit of cosmetic. On rk3288 the evb gains support
> > saradc and the adc-key connected to it while some more boards also get
> > their mali gpu enabled (fennec, evb, tinker).
> >
> > The biggest set of changes can be found on the rk3228/rk3229 combo this
> > time. It gets core support for efuse, sdmmc, sdio, io-domans and spdif
> > as well as a separate rk3229.dtsi that will keep the slight differences
> > between the two brothers rk3228/rk3229. The evaluation board also gets
> > some attention and abled nodes (regulators, io-domains, emmc, tsadc keys)
> >
> > But I think the most interesting change is the cpu enable-method for it.
> > Instead of using the older in-kernel method, we're now also moving to
> > handling this in firmware via the psci interface on 32bit Rockchip socs.
> > In a recently merged pull request [0] support for the rk3228/rk3229 was
> > added to OP-TEE including the psci support and it seems supporting other
> > 32bit Rockchip socs that way is also planned for the future.
> >
> > [0] https://github.com/OP-TEE/optee_os/pull/1666
> 
> Nice tag description!
> 
> What is the migration strategy for the 32-bit chips moving to psci?
> Does this mean that you have to update the bootloader in sync with the
> kernel now?

so right now, only the rk3228/rk3229 combo uses psci alone
(and not the kernel-level smp implementation of other rockchip socs).
So for that there is no migration needed.

For the "legacy" socs (if that planned psci enablement does actually
happen), I'd guess a supporting bootloader would just re-set the
enable-method in the cpu nodes to psci and enable a yet-to-add
psci node.

So my personal migration strategy would be to leave it like it is
on the kernel dt-side and let updated firmware wiggle the
devicetree into form :-) .

That way backwards-compatibility always stays in place and we
don't require lock-step upgrades of bootloaders ... especially as
the plethora of old Rockchip boards out there, sometimes even
uses completely proprietary loaders.


Heiko

  reply	other threads:[~2017-08-16 21:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-06  9:49 [GIT PULL 1/4] Rockchip soc32 changes for 4.14 Heiko Stuebner
2017-08-06  9:49 ` [GIT PULL 2/4] Rockchip driver " Heiko Stuebner
2017-08-16 19:48   ` Arnd Bergmann
2017-08-06  9:50 ` [GIT PULL 3/4] Rockchip dts32 " Heiko Stuebner
2017-08-16 21:10   ` Arnd Bergmann
2017-08-16 21:42     ` Heiko Stuebner [this message]
2017-08-16 21:54       ` Arnd Bergmann
2017-08-06  9:51 ` [GIT PULL 4/4] Rockchip dts64 " Heiko Stuebner
2017-08-16 21:41   ` Arnd Bergmann
2017-08-16 21:34 ` [GIT PULL 1/4] Rockchip soc32 " Arnd Bergmann

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=10590238.TcdC6IbXJ9@phil \
    --to=heiko@sntech.de \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rockchip@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).