From: Rich Felker <dalias@libc.org>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sh@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Thomas Gleixner <tglx@linutronix.de>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: [PATCH v8 2/2] clocksource: add J-Core timer/clocksource driver
Date: Thu, 13 Oct 2016 15:48:47 -0400 [thread overview]
Message-ID: <20161013194847.GX19318@brightrain.aerifal.cx> (raw)
In-Reply-To: <20161013192542.GW19318@brightrain.aerifal.cx>
On Thu, Oct 13, 2016 at 03:25:42PM -0400, Rich Felker wrote:
> On Wed, Oct 12, 2016 at 11:31:26PM +0200, Daniel Lezcano wrote:
> > > > --> System Type
> > > >
> > > > That is what you are looking for, a SUPERH config option selecting all the
> > > > common options and then a JCORE config option adding the different missing
> > > > bits, namely the CLKSRC_JCORE_PIT.
> > >
> > > We do have something like "system type" in arch/sh, and it's what I'm
> > > trying to deprecate since it's the switch to select between all the
> > > hard-coded board files, _or_ device tree.
> > >
> > > Since part of the goal of my DT overhaul is to be able (but not
> > > forced) to produce kernels that run on a wide range of hardware,
> > > rather than having a "system type (select one)" option, what about
> > > individual boolean options like:
> > >
> > > config JCORE_SOC
> > > bool "Support for J-Core SoCs"
> > > select CLKSRC_JCORE_PIT
> > > select JCORE_AIC
> > > ...
> >
> > I'm perfectly fine with this.
>
> Does this adequately ensure that dependencies for the clocksource and
> irq driver are met? If not, what else do I need to do?
I've checked and it seems the dependencies are always met for arch/sh,
at least with device tree enabled (on which JCORE_SOC will depend), so
it shouldn't matter.
Rich
next prev parent reply other threads:[~2016-10-13 19:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-09 5:34 [PATCH v8 0/2] J-Core timer support Rich Felker
2016-10-09 5:34 ` [PATCH v8 2/2] clocksource: add J-Core timer/clocksource driver Rich Felker
2016-10-11 18:18 ` Daniel Lezcano
2016-10-11 20:28 ` Rich Felker
2016-10-12 9:27 ` Daniel Lezcano
2016-10-12 17:02 ` Rich Felker
2016-10-12 21:31 ` Daniel Lezcano
2016-10-13 5:04 ` Rich Felker
2016-10-13 19:25 ` Rich Felker
2016-10-13 19:48 ` Rich Felker [this message]
2016-10-09 5:34 ` [PATCH v8 1/2] of: add J-Core timer bindings Rich Felker
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=20161013194847.GX19318@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
/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®