[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6655f84-747f-c08b-7b9c-f76ff8857567@suse.de>
Date: Mon, 14 May 2018 09:37:15 +0200
From: Alexander Graf <agraf@...e.de>
To: Linus Walleij <linus.walleij@...aro.org>,
Sören Brinkmann <soren.brinkmann@...inx.com>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Grant Likely <grant.likely@....com>,
Mark Brown <broonie@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
boot-architecture@...ts.linaro.org,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Michal Simek <michal.simek@...inx.com>,
Jan Kiszka <jan.kiszka@...mens.com>
Subject: Re: [RFC PATCH] driver core: make deferring probe forever optional
On 05/14/2018 12:01 AM, Linus Walleij wrote:
> On Wed, May 9, 2018 at 11:44 AM, Alexander Graf <agraf@...e.de> wrote:
>> On 05/07/2018 08:31 PM, Bjorn Andersson wrote:
>>> Can you please name platform that has enough support for Alexander to
>>> care about backwards and forwards compatibility but lacks a pinctrl
>>> driver.
>> ZynqMP is one example that immediately comes to my mind. I'm sure there are
>> others too.
> Why isn't that using drivers/pinctrl/pinctrl-zynq.c?
>
> How is it so very different from (old) Zynq as it is already using
> the same GPIO driver?
That one is very simple: ZynqMP is usually an AMP system where Linux
doesn't have full knowledge of the overall system. IIUC they have a tiny
microblaze (PMU) that does the actual full system configuration for
peripherals that may interfere with each other. This architecture also
allows for safety critical code to run alongside a (less safe) Linux system.
I think we'll see architectures like this pop up more over time. TI
Sitara has similar issues. I know that Jailhouse ran into exactly that
problem before. I also know that during Linaro Connect Budapest even the
OP-TEE people realized the current model is bad, because Linux may
control pins/clocks/etc of devices that the secure world wants to use.
So I actually believe we will see more SoCs in the future that may even
start with Linux controllable pinctrl or no pinctrl driver but then will
move to firmware controlled drivers once it starts being necessary.
Alex
Powered by blists - more mailing lists