From: 陈华才 <chenhc@lemote.com>
To: "Ralf Baechle" <ralf@linux-mips.org>,
"Alexandre Courbot" <gnurou@gmail.com>
Cc: "John Crispin" <john@phrozen.org>,
"Steven J. Hill" <Steven.Hill@imgtec.com>,
linux-mips <linux-mips@linux-mips.org>,
"Fuxin Zhang" <zhangfx@lemote.com>,
wuzhangjin <wuzhangjin@gmail.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH V4 2/6] MIPS: Move Loongson GPIO driver to drivers/gpio
Date: Wed, 19 Nov 2014 22:25:59 +0800 [thread overview]
Message-ID: <tencent_15D766A360D879F4553C1872@qq.com> (raw)
In-Reply-To: <20141119101157.GB7213@linux-mips.org>
Hi, Ralf and Alexandre,
So, I need three patches: clean up, move to drivers/gpio, and improve it to support Loonson-3A/3B?
Huacai
------------------ Original ------------------
From: "Ralf Baechle"<ralf@linux-mips.org>;
Date: Wed, Nov 19, 2014 06:11 PM
To: "Alexandre Courbot"<gnurou@gmail.com>;
Cc: "Huacai Chen"<chenhc@lemote.com>; "John Crispin"<john@phrozen.org>; "Steven J. Hill"<Steven.Hill@imgtec.com>; "linux-mips"<linux-mips@linux-mips.org>; "Fuxin Zhang"<zhangfx@lemote.com>; "wuzhangjin"<wuzhangjin@gmail.com>; "linux-gpio@vger.kernel.org"<linux-gpio@vger.kernel.org>;
Subject: Re: [PATCH V4 2/6] MIPS: Move Loongson GPIO driver to drivers/gpio
On Wed, Nov 19, 2014 at 05:21:56PM +0900, Alexandre Courbot wrote:
> > On Fri, Nov 14, 2014 at 12:12 AM, Huacai Chen <chenhc@lemote.com> wrote:
> >> Move Loongson-2's GPIO driver to drivers/gpio and add Kconfig options.
> >
> > Acked-by: Alexandre Courbot <acourbot@nvidia.com>
> >
> > Guess this should go through the GPIO tree once the platform
> > maintainers have acked this?
>
> Ouch. After looking at this driver's implementation I think I have to
> take my Ack back. This driver comes with custom definitions of
> gpio_get_value() and other functions, which we will want to get rid of
> before moving this into drivers/gpio. Can you port this to a proper
> gpiolib driver before doing the move?
As the arch maintainer I'm happy to say farewell to driver code in arch/mips.
Also, can we split the whole procedure into two patches, one for the cleanup
and one for the move? I don't care in which order.
Ralf
next prev parent reply other threads:[~2014-11-19 14:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 15:12 [PATCH V4 2/6] MIPS: Move Loongson GPIO driver to drivers/gpio Huacai Chen
2014-11-19 8:11 ` Alexandre Courbot
2014-11-19 8:21 ` Alexandre Courbot
2014-11-19 10:11 ` Ralf Baechle
2014-11-19 14:25 ` 陈华才 [this message]
2014-11-21 15:28 ` Alexandre Courbot
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=tencent_15D766A360D879F4553C1872@qq.com \
--to=chenhc@lemote.com \
--cc=Steven.Hill@imgtec.com \
--cc=gnurou@gmail.com \
--cc=john@phrozen.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=wuzhangjin@gmail.com \
--cc=zhangfx@lemote.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 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).