[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161014131516.bkyi3tsx2nhqfyhm@earth>
Date: Fri, 14 Oct 2016 15:15:16 +0200
From: Sebastian Reichel <sre@...nel.org>
To: xiaogang@...eaurora.org
Cc: Andy Yan <andy.yan@...k-chips.com>, andy.gross@...aro.org,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Chris Brand <chris.brand@...adcom.com>,
Richard Weinberger <richard@....at>,
Moritz Fischer <moritz.fischer@...us.com>,
Florian Fainelli <f.fainelli@...il.com>,
"open list:POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS"
<linux-pm@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] power: reset: Add qcom reboot mode driver
Hi,
On Fri, Oct 14, 2016 at 11:06:14AM +0800, xiaogang@...eaurora.org wrote:
> 在 2016-10-14 10:41,Andy Yan 写道:
> > On 2016年10月14日 10:02, Xiaogang Cui wrote:
> > > This is a initial version so it's very similar with syscon
> > > reboot mode driver. We will add more functionalities in the
> > > further after dependency is ready.
> > >
> > > Signed-off-by: Xiaogang Cui <xiaogang@...eaurora.org>
> > > ---
> >
> > As your commit messages said, "it's very similar with syscon
> > reboot mode driver", so maybe we can try to reuse the syscon
> > reboot mode driver, and extend your new function on it.
>
> Since it will heavily depend on Qualcomm qpnp and download mode
> driver. I prefer to add a new driver for this.
So use syscon driver until then. In its current state is more
or less a copy of syscon driver with s/syscon/qcom/g. I will
not queue that.
Just add a more specific compatible value in addition to the
syscon one:
compatible = "qcom,reboot-mode", "syscon-reboot-mode";
Then syscon driver is used and if something more complex
is required later we can easily switch to it.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists