[PATCH 1/3] ARM: pmu: add OF probing support

Olof Johansson olof at lixom.net
Thu Jun 2 04:37:40 EST 2011


On Wed, Jun 1, 2011 at 9:37 AM, Rob Herring <robherring2 at gmail.com> wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> Add OF match table to enable OF style driver binding. The dts entry is like
> this:
>
> pmu {
>        compatible = "arm,cortex-a9-pmu";
>        interrupts = <100 101>;
> };
>
> The use of pdev->id as an index breaks with OF device binding, so set the type
> based on the OF compatible string.

Even though they're simple, new bindings like these need to be
documented. Current location for that is
Documentation/devicetree/bindings/.

Can you start an ARM directory there and add corresponding docs for the this?


Thanks!

-Olof


More information about the devicetree-discuss mailing list