From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI
Date: Sat, 9 May 2015 13:44:28 +0200 [thread overview]
Message-ID: <20150509114428.GV11057@lukather> (raw)
In-Reply-To: <554A7DE5.6040406@gmail.com>
On Wed, May 06, 2015 at 10:47:33PM +0200, Jens Kuske wrote:
> >> + * You should have received a copy of the GNU General Public
> >> + * License along with this file; if not, write to the Free
> >> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
> >> + * MA 02110-1301 USA
> >
> > Could you remove that last paragraph?
> > It generates a checkpatch warning.
>
> Sure, will be removed. Just copied it from some other sunxi dtsi.
Yeah, I know, I'm even the one that introduced this in the first place
:)
I sent a patch earlier this week to remove it from the other DT.
> >> + ahb12_rst: reset at 01c202c0 {
> >> + #reset-cells = <1>;
> >> + compatible = "allwinner,sun6i-a31-clock-reset";
> >> + reg = <0x01c202c0 0xc>;
> >> + };
> >
> > This reset controller also resets the timers, it should be initialised
> > much earlier.
> >
> > What about having an allwinner,sun8i-h3-bus-reset, and adding it to
> > the list of compatibles to initialise earlier in
> > drivers/reset/reset-sunxi.c?
> >
> > Of course, it would cover the other reset controllers that you have
> > below.
> >
>
> You mean using a single bus_rst instead of the three?
Yes.
> Or, why not using allwinner,sun6i-a31-ahb1-reset for ahb12_rst
Strictly speaking, they do not control the same set of devices. I'd
prefer to have a different compatible in case we need to setup a
particular behaviour on a given SoC (for example, force out of reset a
particular device, even if no driver is actually using it), without
impacting the other.
> and adding a .init_time = sun6i_timer_init to the sun8i machine.
But we will need to do that yes.
> I'm a bit confused here now, because for A23, which is almost
> identical, it got removed after your comment:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/265064.html
Hmmmm, I think I somehow overlooked the fact that the timer was there,
even though Chen-Yu said it. My bad :/
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150509/9181af3e/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Jens Kuske <jenskuske-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "Emilio López" <emilio-0Z03zUJReD5OxF6Tv1QG9Q@public.gmane.org>,
"Mike Turquette"
<mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"Linus Walleij"
<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"Vinod Koul" <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Chen-Yu Tsai" <wens-jdAy2FN1RRM@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI
Date: Sat, 9 May 2015 13:44:28 +0200 [thread overview]
Message-ID: <20150509114428.GV11057@lukather> (raw)
In-Reply-To: <554A7DE5.6040406-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2071 bytes --]
On Wed, May 06, 2015 at 10:47:33PM +0200, Jens Kuske wrote:
> >> + * You should have received a copy of the GNU General Public
> >> + * License along with this file; if not, write to the Free
> >> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
> >> + * MA 02110-1301 USA
> >
> > Could you remove that last paragraph?
> > It generates a checkpatch warning.
>
> Sure, will be removed. Just copied it from some other sunxi dtsi.
Yeah, I know, I'm even the one that introduced this in the first place
:)
I sent a patch earlier this week to remove it from the other DT.
> >> + ahb12_rst: reset@01c202c0 {
> >> + #reset-cells = <1>;
> >> + compatible = "allwinner,sun6i-a31-clock-reset";
> >> + reg = <0x01c202c0 0xc>;
> >> + };
> >
> > This reset controller also resets the timers, it should be initialised
> > much earlier.
> >
> > What about having an allwinner,sun8i-h3-bus-reset, and adding it to
> > the list of compatibles to initialise earlier in
> > drivers/reset/reset-sunxi.c?
> >
> > Of course, it would cover the other reset controllers that you have
> > below.
> >
>
> You mean using a single bus_rst instead of the three?
Yes.
> Or, why not using allwinner,sun6i-a31-ahb1-reset for ahb12_rst
Strictly speaking, they do not control the same set of devices. I'd
prefer to have a different compatible in case we need to setup a
particular behaviour on a given SoC (for example, force out of reset a
particular device, even if no driver is actually using it), without
impacting the other.
> and adding a .init_time = sun6i_timer_init to the sun8i machine.
But we will need to do that yes.
> I'm a bit confused here now, because for A23, which is almost
> identical, it got removed after your comment:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/265064.html
Hmmmm, I think I somehow overlooked the fact that the timer was there,
even though Chen-Yu said it. My bad :/
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Jens Kuske <jenskuske@gmail.com>
Cc: "Emilio López" <emilio@elopez.com.ar>,
"Mike Turquette" <mturquette@linaro.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Vinod Koul" <vinod.koul@intel.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Chen-Yu Tsai" <wens@csie.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com
Subject: Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI
Date: Sat, 9 May 2015 13:44:28 +0200 [thread overview]
Message-ID: <20150509114428.GV11057@lukather> (raw)
In-Reply-To: <554A7DE5.6040406@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2134 bytes --]
On Wed, May 06, 2015 at 10:47:33PM +0200, Jens Kuske wrote:
> >> + * You should have received a copy of the GNU General Public
> >> + * License along with this file; if not, write to the Free
> >> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
> >> + * MA 02110-1301 USA
> >
> > Could you remove that last paragraph?
> > It generates a checkpatch warning.
>
> Sure, will be removed. Just copied it from some other sunxi dtsi.
Yeah, I know, I'm even the one that introduced this in the first place
:)
I sent a patch earlier this week to remove it from the other DT.
> >> + ahb12_rst: reset@01c202c0 {
> >> + #reset-cells = <1>;
> >> + compatible = "allwinner,sun6i-a31-clock-reset";
> >> + reg = <0x01c202c0 0xc>;
> >> + };
> >
> > This reset controller also resets the timers, it should be initialised
> > much earlier.
> >
> > What about having an allwinner,sun8i-h3-bus-reset, and adding it to
> > the list of compatibles to initialise earlier in
> > drivers/reset/reset-sunxi.c?
> >
> > Of course, it would cover the other reset controllers that you have
> > below.
> >
>
> You mean using a single bus_rst instead of the three?
Yes.
> Or, why not using allwinner,sun6i-a31-ahb1-reset for ahb12_rst
Strictly speaking, they do not control the same set of devices. I'd
prefer to have a different compatible in case we need to setup a
particular behaviour on a given SoC (for example, force out of reset a
particular device, even if no driver is actually using it), without
impacting the other.
> and adding a .init_time = sun6i_timer_init to the sun8i machine.
But we will need to do that yes.
> I'm a bit confused here now, because for A23, which is almost
> identical, it got removed after your comment:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/265064.html
Hmmmm, I think I somehow overlooked the fact that the timer was there,
even though Chen-Yu said it. My bad :/
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-05-09 11:44 UTC|newest]
Thread overview: 139+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 9:31 [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` [PATCH 1/6] " Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 10:04 ` Maxime Ripard
2015-05-06 10:04 ` Maxime Ripard
2015-05-06 10:23 ` Jens Kuske
2015-05-06 10:23 ` Jens Kuske
2015-05-06 10:23 ` Jens Kuske
2015-05-06 12:22 ` Maxime Ripard
2015-05-06 12:22 ` Maxime Ripard
2015-05-06 12:22 ` Maxime Ripard
2015-05-06 9:31 ` [PATCH 2/6] clk: sunxi: Add H3 clocks support Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:47 ` Chen-Yu Tsai
2015-05-06 9:47 ` Chen-Yu Tsai
2015-05-06 9:47 ` Chen-Yu Tsai
2015-05-06 10:18 ` Jens Kuske
2015-05-06 10:18 ` Jens Kuske
2015-05-06 10:18 ` Jens Kuske
2015-05-09 11:29 ` Maxime Ripard
2015-05-09 11:29 ` Maxime Ripard
2015-05-09 11:29 ` Maxime Ripard
2015-05-09 11:27 ` Maxime Ripard
2015-05-09 11:27 ` Maxime Ripard
2015-05-09 11:27 ` Maxime Ripard
2015-05-10 10:54 ` Jens Kuske
2015-05-10 10:54 ` Jens Kuske
2015-05-10 10:54 ` Jens Kuske
2015-05-12 14:44 ` Maxime Ripard
2015-05-12 14:44 ` Maxime Ripard
2015-05-12 14:44 ` Maxime Ripard
2015-05-14 5:14 ` Chen-Yu Tsai
2015-05-14 5:14 ` Chen-Yu Tsai
2015-05-14 5:14 ` Chen-Yu Tsai
2015-05-15 12:49 ` Maxime Ripard
2015-05-15 12:49 ` Maxime Ripard
2015-05-15 12:49 ` Maxime Ripard
2015-05-06 9:31 ` [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 10:11 ` Maxime Ripard
2015-05-06 10:11 ` Maxime Ripard
2015-05-06 10:34 ` Jens Kuske
2015-05-06 10:34 ` Jens Kuske
2015-05-06 10:34 ` Jens Kuske
2015-05-06 12:23 ` Maxime Ripard
2015-05-06 12:23 ` Maxime Ripard
2015-05-06 12:23 ` Maxime Ripard
2015-05-07 8:10 ` Paul Bolle
2015-05-07 8:10 ` Paul Bolle
2015-05-07 8:10 ` Paul Bolle
2015-05-09 9:17 ` Jens Kuske
2015-05-09 9:17 ` Jens Kuske
2015-05-09 9:17 ` Jens Kuske
2015-05-09 12:19 ` Maxime Ripard
2015-05-09 12:19 ` Maxime Ripard
2015-05-09 12:19 ` Maxime Ripard
2015-05-06 9:31 ` [PATCH 4/6] dmaengine: sun6i: Add support for Allwinner H3 (sun8i) variant Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 10:13 ` Maxime Ripard
2015-05-06 10:13 ` Maxime Ripard
2015-05-06 10:13 ` Maxime Ripard
2015-05-08 3:44 ` Vinod Koul
2015-05-08 3:44 ` Vinod Koul
2015-05-08 3:44 ` Vinod Koul
2015-05-08 7:19 ` Maxime Ripard
2015-05-08 7:19 ` Maxime Ripard
2015-05-08 7:19 ` Maxime Ripard
2015-05-08 9:26 ` Vinod Koul
2015-05-08 9:26 ` Vinod Koul
2015-05-08 9:26 ` Vinod Koul
2015-05-06 9:31 ` [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 12:19 ` Maxime Ripard
2015-05-06 12:19 ` Maxime Ripard
2015-05-06 12:19 ` Maxime Ripard
2015-05-06 20:47 ` Jens Kuske
2015-05-06 20:47 ` Jens Kuske
2015-05-06 20:47 ` Jens Kuske
2015-05-09 11:44 ` Maxime Ripard [this message]
2015-05-09 11:44 ` Maxime Ripard
2015-05-09 11:44 ` Maxime Ripard
2015-05-11 8:11 ` Chen-Yu Tsai
2015-05-11 8:11 ` Chen-Yu Tsai
2015-05-11 8:11 ` Chen-Yu Tsai
2015-05-06 9:31 ` [PATCH 6/6] ARM: dts: sun8i: Add Orange Pi Plus support Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-06 9:31 ` Jens Kuske
2015-05-09 15:58 ` [linux-sunxi] [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Hans de Goede
2015-05-09 15:58 ` Hans de Goede
2015-05-09 15:58 ` Hans de Goede
-- strict thread matches above, loose matches on Subject: below --
2015-10-21 16:20 [PATCH 4/6] reset: sunxi: Add compatible for Allwinner H3 bus resets Jens Kuske
2015-10-21 16:20 ` [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI Jens Kuske
2015-10-21 16:20 ` Jens Kuske
2015-10-21 16:20 ` Jens Kuske
2015-10-22 8:05 ` Maxime Ripard
2015-10-22 8:05 ` Maxime Ripard
2015-10-22 8:05 ` Maxime Ripard
2015-10-22 8:29 ` Jean-Francois Moine
2015-10-22 8:29 ` Jean-Francois Moine
2015-10-22 8:29 ` Jean-Francois Moine
2015-10-22 8:47 ` Maxime Ripard
2015-10-22 8:47 ` Maxime Ripard
2015-10-22 8:47 ` Maxime Ripard
2015-10-22 8:57 ` Jean-Francois Moine
2015-10-22 8:57 ` Jean-Francois Moine
2015-10-22 8:57 ` Jean-Francois Moine
2015-10-22 9:14 ` Maxime Ripard
2015-10-22 9:14 ` Maxime Ripard
2015-10-22 9:14 ` Maxime Ripard
2015-10-22 11:30 ` Jens Kuske
2015-10-22 11:30 ` Jens Kuske
2015-10-22 11:30 ` Jens Kuske
2015-10-23 18:09 ` Maxime Ripard
2015-10-23 18:09 ` Maxime Ripard
2015-10-23 18:09 ` Maxime Ripard
2015-10-22 17:30 ` Jean-Francois Moine
2015-10-22 17:30 ` Jean-Francois Moine
2015-10-22 17:30 ` Jean-Francois Moine
2015-10-23 18:14 ` Maxime Ripard
2015-10-23 18:14 ` Maxime Ripard
2015-10-23 18:14 ` Maxime Ripard
2015-10-23 19:20 ` Jean-Francois Moine
2015-10-23 19:20 ` Jean-Francois Moine
2015-10-23 19:20 ` Jean-Francois Moine
2015-10-24 7:13 ` Maxime Ripard
2015-10-24 7:13 ` Maxime Ripard
2015-10-24 7:13 ` Maxime Ripard
2015-10-24 8:47 ` Jean-Francois Moine
2015-10-24 8:47 ` Jean-Francois Moine
2015-10-24 8:47 ` Jean-Francois Moine
2015-10-26 21:06 ` Maxime Ripard
2015-10-26 21:06 ` Maxime Ripard
2015-10-26 21:06 ` Maxime Ripard
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=20150509114428.GV11057@lukather \
--to=maxime.ripard@free-electrons.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.