LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Chen-Yu Tsai <wens@csie.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
Marek Vasut <marex@denx.de>, Wolfram Sang <wsa@the-dreams.de>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-spi@vger.kernel.org, Mark Brown <broonie@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Barry Song <Baohua.Song@csr.com>,
Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: Re: [PATCH] spi: sirf: add reset controller dependency
Date: Tue, 24 Feb 2015 21:36:22 +0800 [thread overview]
Message-ID: <CAGb2v65tzFrPKJP0kRjyXAk6OZXHVEMmC2QkrokKev_P2bzLwA@mail.gmail.com> (raw)
In-Reply-To: <11771349.MCSxFTdomh@wuerfel>
On Tue, Feb 24, 2015 at 9:34 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Tuesday 24 February 2015 18:56:44 Chen-Yu Tsai wrote:
>> > --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
>> > +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
>> > @@ -1,11 +1,11 @@
>> > config STMMAC_ETH
>> > tristate "STMicroelectronics 10/100/1000 Ethernet driver"
>> > depends on HAS_IOMEM && HAS_DMA
>> > + depends on RESET_CONTROLLER
>> > select MII
>> > select PHYLIB
>> > select CRC32
>> > select PTP_1588_CLOCK
>> > - select RESET_CONTROLLER
>>
>> I was the one that introduced this. At the time a generic binding for the
>> stmmac core was requested, which supported an optional reset control. There
>> wasn't an *_optional stub available, so I went with this. See
>>
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/224684.html
>> b424080a9e08
>> With commit b424080a9e08 ("reset: Add optional resets and stubs") in, I
>> think using devm_reset_control_get() in the driver is the proper solution.
>> The hardware is found in quite a few platforms, and not all of them have
>> reset controllers.
>
> I suppose you mean devm_reset_control_get_option() instead of
> devm_reset_control_get()?
That's right.
ChenYu
> Yes, that sounds right.
>
> Arnd
next prev parent reply other threads:[~2015-02-24 13:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 15:29 Arnd Bergmann
2015-02-19 9:41 ` Mark Brown
2015-02-19 15:01 ` Arnd Bergmann
2015-02-21 9:44 ` Mark Brown
2015-02-23 22:01 ` Arnd Bergmann
2015-02-24 7:50 ` Mark Brown
2015-02-24 10:27 ` Arnd Bergmann
2015-02-24 10:56 ` Chen-Yu Tsai
2015-02-24 13:34 ` Arnd Bergmann
2015-02-24 13:36 ` Chen-Yu Tsai [this message]
2015-02-24 13:02 ` Arnd Bergmann
2015-02-24 14:27 ` Philipp Zabel
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=CAGb2v65tzFrPKJP0kRjyXAk6OZXHVEMmC2QkrokKev_P2bzLwA@mail.gmail.com \
--to=wens@csie.org \
--cc=Baohua.Song@csr.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=marex@denx.de \
--cc=maxime.ripard@free-electrons.com \
--cc=p.zabel@pengutronix.de \
--cc=wsa@the-dreams.de \
--subject='Re: [PATCH] spi: sirf: add reset controller dependency' \
/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
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).