Re: An extremely simplified pinctrl bindings proposal

From: Linus Walleij
Date: Mon Feb 06 2012 - 14:26:51 EST


On Mon, Feb 6, 2012 at 8:05 PM, Mitch Bradley <wmb@xxxxxxxxxxxxx> wrote:

> I like the general approach of simplifying the pinctrl thing, as the
> previous approach did not appear to be converging.

pinctrl as such is upstream, widely ACKed and quite converged I'd say.

But the Device Tree bindings and general path to get data out of the drivers
and board files are not (yet) converging...

> Both Open Firmware and ACPI have addressed this general problem.  In
> addition to a numeric identifier for the register, you need to specify the
> access semantics.  It's difficult to finitely enumerate all possible cases,
> but you can get to 99.9% with a modest number of access models, and then add
> new models as needed.

This is interesting. So are you referring to a piece of Open Firmware
that is not in the Device Tree? Since this is all about device tree that
comes from OF, we might be reinventing the wheel.
Can you give some pointers?

Indeed it seems related to ACPI or some BIOS stuff on
non-embedded systems.

Yours,
Linus Walleij
--
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/