Thread (1 message) 1 message, 1 author, 2014-05-22

Re: [PATCH v2] ARM: realview: basic device tree implementation

From: Linus Walleij <hidden>
Date: 2014-05-22 13:30:39
Also in: linux-arm-kernel

On Thu, May 22, 2014 at 3:17 PM, Rob Herring [off-list ref] wrote:
On Thu, May 8, 2014 at 5:08 PM, Linus Walleij [off-list ref] wrote:
quoted
+       model = "ARM RealView PB1176 with device tree";
Isn't "with device tree" redundant?
Nuked it.
quoted
+static struct map_desc realview_dt_io_desc[] __initdata = {
+       {
+               /* FIXME: static map needed for LED driver */
Don't you have patches to fix this? I need them for Versatile
conversion as well.
Done away with. The legacy driver was moved to drivers/leds/leds-versatile.c
and I then contemplated adding DT support to it but it was a *bad*
idea.

Instead I have created drivers/leds/leds-syscon.c that can handle
any LEDs in a syscon. Will post in next iteration as soon as
I get the drivers/soc dependency in place.
quoted
+#if IS_ENABLED(CONFIG_CACHE_L2X0)
+       if (of_machine_is_compatible("arm,realview-eb"))
+               /*
+                * 1MB (128KB/way), 8-way associativity,
These should go into DT properties. Cache attributes are already
defined in ePAPR.
Yes, the dependencies to do this with DT is floating around somewhere
in the ARM tree or Russells tree I think, maybe I cannot do this until
the next kernel cycle.
quoted
+                * evmon/parity/share enabled
These can probably be unconditionally enabled except for parity which
could be a DT property.
I'll wait and see what I need to add really.
quoted
+       parent = soc_device_to_device(soc_dev);
We really need to standardize this soc device stuff so that platforms
always have a parent soc device or not.
Arnds position is that the entire platform/board should not be
a "soc device" and that seems correct since the board is no SoC.

So I will spin this off into a SoC driver and push under
drivers/soc and bind to the SoC node in the device tree.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help