linux/Documentation/devicetree/bindings
Mark Rutland e73c34c3d5 ARM: 6976/1: pmu: add OF probing support
This is based on an earlier patch from Rob Herring <rob.herring@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.

This modification sets the PMU hardware type based on data embedded in the
binding, allowing easy addition of new PMU types in future.

Support for new PMU types not provided by devicetree can be added later using
platform_device_id tables in a similar fashion.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-06-29 10:27:08 +01:00
..
arm ARM: 6976/1: pmu: add OF probing support 2011-06-29 10:27:08 +01:00
ata
crypto crypto: caam - de-CHIP-ify device tree compatibles 2011-03-27 10:45:18 +08:00
fb Fix common misspellings 2011-03-31 11:26:23 -03:00
gpio
hwmon hwmon: (ads1015) Make gain and datarate configurable 2011-03-21 17:59:37 +01:00
i2c x86: dtb: Add a device tree for CE4100 2011-02-23 22:27:52 +01:00
mmc Merge commit 'v2.6.38-rc8' into spi/next 2011-03-12 01:25:53 -07:00
mtd Fix common misspellings 2011-03-31 11:26:23 -03:00
net ptp: Added a clock that uses the eTSEC found on the MPC85xx. 2011-05-23 13:10:14 -07:00
pci
powerpc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
rtc rtc: cmos: Add OF bindings 2011-02-23 22:27:55 +01:00
serial tty: serial: altera_jtaguart: Add device tree support 2011-03-01 09:38:27 -07:00
serio
spi Merge commit 'v2.6.38-rc8' into spi/next 2011-03-12 01:25:53 -07:00
usb
x86 x86: dt: Correct local apic documentation in device tree bindings 2011-02-28 09:58:06 +01:00
eeprom.txt
marvell.txt
open-pic.txt powerpc: Document the Open PIC device tree binding 2011-03-21 11:00:52 +11:00
xilinx.txt