From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org,
Simon Horman <horms@verge.net.au>,
Magnus Damm <magnus.damm@gmail.com>
Subject: Re: [PATCH v2 0/9] ARM: dts: gen2: add IP core switcher for all busses
Date: Tue, 2 Jan 2018 22:58:22 +0100 [thread overview]
Message-ID: <20180102215822.GA22490@bigcity.dyn.berto.se> (raw)
In-Reply-To: <20171231112320.3461-1-wsa+renesas@sang-engineering.com>
Hi Wolfram,
Thanks for your work.
On 2017-12-31 12:23:11 +0100, Wolfram Sang wrote:
> Here is the updated series to add the I2C IP core switcher to all busses of
> Gen2 boards where some kind of switching is possible (mostly to/from GPIO).
>
> These patches were tested locally on Lager and Alt, and remotely on Koelsch,
> Porter and Gose. We have no Silk board available but the patch follows the same
> style as the other patches. In addition, these patches have been double-checked
> by vimdiff-comparing the i2c-bus blobs before and after this patchset.
>
> As discussed previously: the tested boards boot fine. No regression encountered
> there. However, changing masters at runtime for HDMI-named busses and PWR-named
> busses will likely cause kernel warnings and maybe OOPSes. This is due to the
> rebind-issues in the V4L and regulator subsystems. For the former, fixing is
> WIP. For the latter, it is unknown how to deal with rebinding in general (but
> I'd need to look at this issue again if this is desired).
For V4L there is no fix that I know of in the near future. I have
previously posted series for rcar-vin which resolved this issue by
registering/unregistering the video devices at probe/remove time instead
of at bind/unbind time of subdevices of the video device. This solution
was not liked by Hans and was nacked in favor of the current scheme
which is used in V4L (and the VIN Gen2 driver), which unfortunately have
this drawback that the unbind/bind of subdevices are broken.
I fear not much can be done at a drive level to workaround this, more
framework changes will be needed to resolve this.
> It was decided that
> we consider those follow-up problems which should not hold back these patches
> anymore. The EXIO named busses seemed to work fine as far as this could be
> remotely tested.
>
> Changes since V1:
>
> * fixed I2C4 pinmux for Koelsch and Gose (thanks Geert for the report!)
> * rebased to current renesas/dt-for-v4.16
> * fixed typo in branch name (s/topc/topic/)
>
> The branch can be found here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/ip-switch-rework-2017
>
> It is based on v4.15-rc1 + renesas/dt-for-v4.16 merged in.
>
> Please review, comment...
>
> Thanks,
>
> Wolfram
>
>
> Wolfram Sang (9):
> ARM: dts: lager: use demuxer for IIC2/I2C2
> ARM: dts: lager: use demuxer for IIC3/I2C3
> ARM: dts: koelsch: use demuxer for I2C2
> ARM: dts: koelsch: use demuxer for I2C4
> ARM: dts: porter: use demuxer for I2C2
> ARM: dts: alt: use demuxer for I2C1
> ARM: dts: silk: use demuxer for I2C1
> ARM: dts: gose: use demuxer for I2C2
> ARM: dts: gose: use demuxer for I2C4
>
> arch/arm/boot/dts/r8a7790-lager.dts | 279 ++++++++++++++++++++--------------
> arch/arm/boot/dts/r8a7791-koelsch.dts | 232 +++++++++++++++++-----------
> arch/arm/boot/dts/r8a7791-porter.dts | 128 +++++++++-------
> arch/arm/boot/dts/r8a7793-gose.dts | 252 ++++++++++++++++++------------
> arch/arm/boot/dts/r8a7794-alt.dts | 53 +++++--
> arch/arm/boot/dts/r8a7794-silk.dts | 128 +++++++++-------
> 6 files changed, 654 insertions(+), 418 deletions(-)
>
> --
> 2.11.0
>
--
Regards,
Niklas S�derlund
next prev parent reply other threads:[~2018-01-02 21:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-31 11:23 [PATCH v2 0/9] ARM: dts: gen2: add IP core switcher for all busses Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 1/9] ARM: dts: lager: use demuxer for IIC2/I2C2 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 2/9] ARM: dts: lager: use demuxer for IIC3/I2C3 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 3/9] ARM: dts: koelsch: use demuxer for I2C2 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 4/9] ARM: dts: koelsch: use demuxer for I2C4 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 5/9] ARM: dts: porter: use demuxer for I2C2 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 6/9] ARM: dts: alt: use demuxer for I2C1 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 7/9] ARM: dts: silk: " Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 8/9] ARM: dts: gose: use demuxer for I2C2 Wolfram Sang
2017-12-31 11:23 ` [PATCH v2 9/9] ARM: dts: gose: use demuxer for I2C4 Wolfram Sang
2018-01-02 21:58 ` Niklas Söderlund [this message]
2018-01-02 22:28 ` [PATCH v2 0/9] ARM: dts: gen2: add IP core switcher for all busses Wolfram Sang
2018-01-30 10:51 ` Wolfram Sang
2018-01-30 16:45 ` Simon Horman
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=20180102215822.GA22490@bigcity.dyn.berto.se \
--to=niklas.soderlund@ragnatech.se \
--cc=horms@verge.net.au \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=wsa+renesas@sang-engineering.com \
/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.