Re: [PATCH 13/14] ARM: ux500: enable AB8500 GPIO for HREF

From: Stephen Warren
Date: Wed Feb 06 2013 - 19:17:15 EST


On 02/05/2013 12:48 PM, Linus Walleij wrote:
> From: Lee Jones <lee.jones@xxxxxxxxxx>
>
> The AB8500 GPIO driver has been un-BROKEN and rewritten as a pinctrl
> driver. Now that it's back in use, let's ensure that it's available
> when booting HREF with Device Tree enabled.

> diff --git a/arch/arm/boot/dts/hrefprev60.dts b/arch/arm/boot/dts/hrefprev60.dts

> soc-u9500 {
> + prcmu@80157000 {
> + ab8500@5 {
> + ab8500-gpio {
> + compatible = "stericsson,ab8500-gpio";

The MFDs I've looked at (which admittedly might not be that many) all
have the top-level chip described in device tree, but not all the
component sub-devices, since they're all a static part of the top-level
chip. Instead, the top-level MFD instantiates all the sub-devices
itself. I'm curious why this MFD device works differently - do many work
like this?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/