From: simon.guinot@sequanux.org (Simon Guinot)
To: linux-arm-kernel@lists.infradead.org
Subject: DT version of kirkwood_ge0x_init()
Date: Tue, 4 Jun 2013 14:18:15 +0200 [thread overview]
Message-ID: <20130604121815.GK7626@kw.sim.vm.gnt> (raw)
In-Reply-To: <20130604120500.GZ3803@titan.lakedaemon.net>
On Tue, Jun 04, 2013 at 08:05:00AM -0400, Jason Cooper wrote:
> On Tue, Jun 04, 2013 at 01:59:27PM +0200, Simon Guinot wrote:
> > On Tue, Jun 04, 2013 at 06:43:02AM -0400, Jason Cooper wrote:
> > > On Tue, Jun 04, 2013 at 12:34:42PM +0200, Sebastian Hesselbarth wrote:
> > > > On 06/04/13 12:18, Gerlando Falauto wrote:
> > > > >I noticed how most of the DT-aware board-setup files only have a single
> > > > ><board>_init() function, calling kirkwood_ge00_init() with a struct
> > > > >mv643xx_eth_platform_data as a single argument.
> > > > >
> > > > >I was wondering -- is there a reason why we cannot remove all this
> > > > >board-specific code and move all this to the DT?
> > > >
> > > > Gerlando,
> > > >
> > > > DT for mv643xx_eth is on the way (https://lkml.org/lkml/2013/5/29/527).
> > > > We wait for the driver to surface to relax branch dependencies and then
> > > > move all DT Orion SoCs to it.
> > > >
> > > > > I would really love to have all our boards under a single
> > > > > CONFIG_<FAMILY>_DT and a single compatible string, with all the
> > > > > differences within the DTs itself -- no more #ifdef CONFIG_<BOARD>,
> > > > > no more of_machine_is_compatible("boardXXX").
> > > >
> > > > All those will happen if there is DT support for mv643xx_eth which
> > > > is the only driver left without DT and board dependencies. But there
> > > > will be no CONFIG_LACIE_DT or whatever, but just CONFIG_KIRKWOOD_DT
> > > > and board dependent stuff described in the corresponding dts.
> > >
> > > Gerlando,
> > >
> > > Yes, the mess you describe is temporary. Those board files used to have
> > > a lot more code in them, legacy init of partitions, MPP, LEDs, etc. As
> > > we have converted drivers, they have gotten smaller and smaller.
> > >
> > > Now, with Sebastian's hard work, we'll finally be able to remove them
> > > and kirkwood will be completely DT. We're very excited about this. :)
> > >
> > > Next, we'll move the Marvell DT boards over to mach-mvebu/ and only
> > > legacy boards in -kirkwood/, -orion5x/, -dove/, and -mv78xx0/ will
> > > remain. After a few releases we will deprecate any legacy boards which
> > > haven't been converted to DT.
> >
> > Hi Jason,
> >
> > While I have obviously planed to convert all the LaCie boards to DT,
> > I think that removing the legacy support so quickly is a little bit
> > harsh.
>
> Yeah, my wording might not have been the best. See below.
>
> > IMHO, it could be nice to wait the end-of-life for all this products
> > before removing their support.
>
> I'd prefer to convert them to DT, then keep them as long as folks are
> interested in them. If no one cares about a board, and no one wants to
> convert it to DT or test the conversion, why keep it around?
>
> Let me clarify, by 'deprecate them' I meant *begin* the process of
> deprecating them. eg marking them as deprecated for around three
> releases or so.
OK. Thanks for the clarifications.
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130604/0305b17c/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Simon Guinot <simon.guinot@sequanux.org>
To: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>,
"Longchamp, Valentin" <Valentin.Longchamp@keymile.com>,
devicetree-discuss@lists.ozlabs.org, "Brunck,
Holger" <Holger.Brunck@keymile.com>,
Gerlando Falauto <gerlando.falauto@keymile.com>,
Simon Guinot <simon@sequanux.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: DT version of kirkwood_ge0x_init()
Date: Tue, 4 Jun 2013 14:18:15 +0200 [thread overview]
Message-ID: <20130604121815.GK7626@kw.sim.vm.gnt> (raw)
In-Reply-To: <20130604120500.GZ3803@titan.lakedaemon.net>
[-- Attachment #1.1: Type: text/plain, Size: 3023 bytes --]
On Tue, Jun 04, 2013 at 08:05:00AM -0400, Jason Cooper wrote:
> On Tue, Jun 04, 2013 at 01:59:27PM +0200, Simon Guinot wrote:
> > On Tue, Jun 04, 2013 at 06:43:02AM -0400, Jason Cooper wrote:
> > > On Tue, Jun 04, 2013 at 12:34:42PM +0200, Sebastian Hesselbarth wrote:
> > > > On 06/04/13 12:18, Gerlando Falauto wrote:
> > > > >I noticed how most of the DT-aware board-setup files only have a single
> > > > ><board>_init() function, calling kirkwood_ge00_init() with a struct
> > > > >mv643xx_eth_platform_data as a single argument.
> > > > >
> > > > >I was wondering -- is there a reason why we cannot remove all this
> > > > >board-specific code and move all this to the DT?
> > > >
> > > > Gerlando,
> > > >
> > > > DT for mv643xx_eth is on the way (https://lkml.org/lkml/2013/5/29/527).
> > > > We wait for the driver to surface to relax branch dependencies and then
> > > > move all DT Orion SoCs to it.
> > > >
> > > > > I would really love to have all our boards under a single
> > > > > CONFIG_<FAMILY>_DT and a single compatible string, with all the
> > > > > differences within the DTs itself -- no more #ifdef CONFIG_<BOARD>,
> > > > > no more of_machine_is_compatible("boardXXX").
> > > >
> > > > All those will happen if there is DT support for mv643xx_eth which
> > > > is the only driver left without DT and board dependencies. But there
> > > > will be no CONFIG_LACIE_DT or whatever, but just CONFIG_KIRKWOOD_DT
> > > > and board dependent stuff described in the corresponding dts.
> > >
> > > Gerlando,
> > >
> > > Yes, the mess you describe is temporary. Those board files used to have
> > > a lot more code in them, legacy init of partitions, MPP, LEDs, etc. As
> > > we have converted drivers, they have gotten smaller and smaller.
> > >
> > > Now, with Sebastian's hard work, we'll finally be able to remove them
> > > and kirkwood will be completely DT. We're very excited about this. :)
> > >
> > > Next, we'll move the Marvell DT boards over to mach-mvebu/ and only
> > > legacy boards in -kirkwood/, -orion5x/, -dove/, and -mv78xx0/ will
> > > remain. After a few releases we will deprecate any legacy boards which
> > > haven't been converted to DT.
> >
> > Hi Jason,
> >
> > While I have obviously planed to convert all the LaCie boards to DT,
> > I think that removing the legacy support so quickly is a little bit
> > harsh.
>
> Yeah, my wording might not have been the best. See below.
>
> > IMHO, it could be nice to wait the end-of-life for all this products
> > before removing their support.
>
> I'd prefer to convert them to DT, then keep them as long as folks are
> interested in them. If no one cares about a board, and no one wants to
> convert it to DT or test the conversion, why keep it around?
>
> Let me clarify, by 'deprecate them' I meant *begin* the process of
> deprecating them. eg marking them as deprecated for around three
> releases or so.
OK. Thanks for the clarifications.
Simon
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2013-06-04 12:18 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 10:18 DT version of kirkwood_ge0x_init() Gerlando Falauto
2013-06-04 10:18 ` Gerlando Falauto
2013-06-04 10:34 ` Sebastian Hesselbarth
2013-06-04 10:34 ` Sebastian Hesselbarth
2013-06-04 10:43 ` Jason Cooper
2013-06-04 10:43 ` Jason Cooper
2013-06-04 11:59 ` Simon Guinot
2013-06-04 11:59 ` Simon Guinot
2013-06-04 12:05 ` Jason Cooper
2013-06-04 12:05 ` Jason Cooper
2013-06-04 12:18 ` Simon Guinot [this message]
2013-06-04 12:18 ` Simon Guinot
2013-06-04 13:10 ` Jason Cooper
2013-06-04 13:10 ` Jason Cooper
2013-06-04 20:53 ` Gerlando Falauto
2013-06-04 20:53 ` Gerlando Falauto
2013-06-05 9:04 ` Sebastian Hesselbarth
2013-06-05 9:04 ` Sebastian Hesselbarth
2013-06-05 9:37 ` Gerlando Falauto
2013-06-05 9:37 ` Gerlando Falauto
2013-06-05 9:45 ` Gregory CLEMENT
2013-06-05 9:45 ` Gregory CLEMENT
2013-06-05 9:49 ` Sebastian Hesselbarth
2013-06-05 9:49 ` Sebastian Hesselbarth
2013-06-05 9:55 ` Gerlando Falauto
2013-06-05 9:55 ` Gerlando Falauto
2013-06-05 13:23 ` Jason Cooper
2013-06-05 13:23 ` Jason Cooper
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=20130604121815.GK7626@kw.sim.vm.gnt \
--to=simon.guinot@sequanux.org \
--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.