[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130826104840.GF31554@xora-yoga.xora.org.uk>
Date: Mon, 26 Aug 2013 11:48:40 +0100
From: Graeme Gregory <graeme.gregory@...aro.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
Darren Hart <dvhart@...ux.intel.com>,
Matthew Garrett <mjg59@...f.ucam.org>,
"Rafael J. Wysocki" <rjw@...k.pl>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: ACPI vs Device Tree - moving forward
On Mon, Aug 26, 2013 at 11:32:44AM +0200, Linus Walleij wrote:
> On Sat, Aug 24, 2013 at 2:13 AM, Guenter Roeck <linux@...ck-us.net> wrote:
>
> > Did the group conclude that the idea of FDT augmenting ACPI is not feasible ?
>
> I don't think anyone really knows. For example: how to specify a few
> config options through a FDT augmented ACPI system is trivial. Passing
> system-wide resources such as clocks, regulators, pin control handles,
> GPIOs, interrupts and DMA channels is a criss-cross operation and
> nobody knows if that will work because nobody tried to hash out
> the details of.
>
This bit the ACPI team at Linaro is currently trying to hash out.
> > If not, the key question for me is how to implement it, and how to handle
> > all its little problems.
>
> It seems like we are in the "teenagers talking about sex" situation,
> everybody is talking about it but nobody is really doing it.
> Which makes it all pretty theoretical.
>
> > If yes, the key question for me is how to handle all the drivers which
> > assume fdt-style properties, and how to express all that information in ACPI
> > in a way which does not require a substantial driver rewrite (and, as you point
> > out, how that data would be described in ACPI consistently across multiple
> > vendors).
>
> For GPIO we have this:
>
> drivers/gpio/gpiolib-of.c
> drivers/gpio/gpiolib-acpi.c
>
> So one thing is clear: for this resource we're going to have two
> implementations.
>
My personal feeling is we will need two of everything at the ACPI/FDT level,
but we can share commonality between the two subsystems in a more generic
level. One thing we have been looking at it allowing some devices in ACPI
and some in FDT type initialisations.
Within the Linaro ACPI team we are currently prototyping to try and settle
some of the questions raised.
I do not think that trying to get OEMs to put FDT fragments inside ACPI will
work, although that solution would certainly "solve" a lot of driver
implementation issues.
Graeme
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists