From: p.zabel@pengutronix.de (Philipp Zabel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967
Date: Mon, 14 Aug 2017 09:26:43 +0200 [thread overview]
Message-ID: <1502695603.2287.3.camel@pengutronix.de> (raw)
In-Reply-To: <0d8e5468-866a-eac8-d9ec-b23f47df8bf3@adaptrum.com>
On Fri, 2017-08-11 at 10:47 -0700, Alexandru Gagniuc wrote:
> Hi Philipp,
>
> On 08/11/2017 06:06 AM, Philipp Zabel wrote:
> [snip]
>
> > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> > index 52d5251660b9b..f7ba01a71daee 100644
> > --- a/drivers/reset/Kconfig
> > +++ b/drivers/reset/Kconfig
> > @@ -68,6 +68,16 @@ config RESET_PISTACHIO
> > ? help
> > ? ??This enables the reset driver for ImgTec Pistachio SoCs.
> >
> > +config RESET_SIMPLE
> > + bool "Simple Reset Controller Driver" if COMPILE_TEST
>
> Another question. Is there a reason this is depended on COMPILE_TEST
> ?
The idea is that if compile test is disabled, you are not presented
with the option, but it is set to the correct value via the default
mechanism. That way it is normally not possible to disable necessary
reset controller drivers for enabled architectures, but the driver can
still be built even on other architectures.
It's a workaround for selecting the driver from the arch, which
currently can't be done because of the encasing menuconfig.
regards
Philipp
next prev parent reply other threads:[~2017-08-14 7:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 13:06 [PATCH v2 0/5] Unify simple reset drivers Philipp Zabel
2017-08-11 13:06 ` [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967 Philipp Zabel
2017-08-11 15:39 ` Dinh Nguyen
2017-08-11 15:59 ` Philipp Zabel
2017-08-11 15:51 ` Chen-Yu Tsai
2017-08-11 15:57 ` Philipp Zabel
2017-08-11 16:04 ` Alexandru Gagniuc
2017-08-11 16:37 ` Philipp Zabel
2017-08-14 13:45 ` Eugeniy Paltsev
2017-08-11 17:47 ` Alexandru Gagniuc
2017-08-14 7:26 ` Philipp Zabel [this message]
2017-08-11 13:06 ` [PATCH v2 2/5] reset: socfpga: use the reset-simple driver Philipp Zabel
2017-08-11 16:28 ` Alexandru Gagniuc
2017-08-11 16:50 ` Philipp Zabel
2017-08-11 13:06 ` [PATCH v2 3/5] reset: stm32: " Philipp Zabel
2017-08-11 13:06 ` [PATCH v2 4/5] reset: zx2967: " Philipp Zabel
2017-08-11 13:06 ` [PATCH v2 5/5] reset: simple: read back to make sure changes are applied 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=1502695603.2287.3.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).