From: Sebastian Reichel <sre@kernel.org>
To: xiaogang@codeaurora.org
Cc: Andy Yan <andy.yan@rock-chips.com>,
andy.gross@linaro.org,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
David Woodhouse <dwmw2@infradead.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
John Stultz <john.stultz@linaro.org>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Chris Brand <chris.brand@broadcom.com>,
Richard Weinberger <richard@nod.at>,
Moritz Fischer <moritz.fischer@ettus.com>,
Florian Fainelli <f.fainelli@gmail.com>,
"open list:POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS"
<linux-pm@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] power: reset: Add qcom reboot mode driver
Date: Fri, 14 Oct 2016 15:15:16 +0200 [thread overview]
Message-ID: <20161014131516.bkyi3tsx2nhqfyhm@earth> (raw)
In-Reply-To: <9c8d80ce39a10274da06e99735944ffa@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
Hi,
On Fri, Oct 14, 2016 at 11:06:14AM +0800, xiaogang@codeaurora.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@codeaurora.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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2016-10-14 13:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 2:02 Xiaogang Cui
2016-10-14 2:41 ` Andy Yan
2016-10-14 3:06 ` xiaogang
2016-10-14 13:15 ` Sebastian Reichel [this message]
2016-10-14 3:25 ` John Stultz
2016-10-14 3:40 ` xiaogang
2016-10-18 14:12 ` Rob Herring
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=20161014131516.bkyi3tsx2nhqfyhm@earth \
--to=sre@kernel.org \
--cc=alexandre.belloni@free-electrons.com \
--cc=andy.gross@linaro.org \
--cc=andy.yan@rock-chips.com \
--cc=chris.brand@broadcom.com \
--cc=dbaryshkov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=f.fainelli@gmail.com \
--cc=john.stultz@linaro.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=moritz.fischer@ettus.com \
--cc=nicolas.ferre@atmel.com \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=xiaogang@codeaurora.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
all inboxes | Powered by JetHome®