kernel-hacking-2024-linux-s.../drivers/of
Nathan Fontenot 1cf3d8b3d2 powerpc+of: Add of node/property notification chain for adds and removes
This patch moves the notification chain for updates to the device tree
from the powerpc/pseries code to the base OF code. This makes this
functionality available to all architectures.

Additionally the notification chain is updated to allow notifications
for property add/remove/update. To make this work a pointer to a new
struct (of_prop_reconfig) is passed to the routines in the notification chain.
The of_prop_reconfig property contains a pointer to the node containing the
property and a pointer to the property itself. In the case of property
updates, the property pointer refers to the new property.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-11-15 12:56:41 +11:00
..
address.c of/address: Handle #address-cells > 2 specially 2012-09-07 11:31:23 -05:00
base.c powerpc+of: Add of node/property notification chain for adds and removes 2012-11-15 12:56:41 +11:00
device.c drivercore: Output common devicetree information in uevent 2012-02-01 14:26:30 -07:00
fdt.c of/fdt.c: asm/setup.h included twice 2012-02-27 10:09:25 -06:00
irq.c DT: export of_irq_to_resource_table() 2012-09-06 11:01:53 -05:00
Kconfig GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
Makefile GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
of_i2c.c of: i2c: add support for wakeup-source property 2012-09-07 15:30:14 -05:00
of_mdio.c netdev/phy/of: Handle IEEE802.3 clause 45 Ethernet PHYs in of_mdiobus_register() 2012-06-27 21:23:24 -07:00
of_mtd.c of: mtd: nuke useless const qualifier 2012-07-10 10:32:06 -05:00
of_net.c drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required 2011-10-31 19:31:56 -04:00
of_pci.c of: of_pci.c needs export.h since it uses EXPORT_SYMBOLS 2011-10-31 19:31:14 -04:00
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
pdt.c of/pdt: fix section mismatch warning 2011-12-27 16:37:30 -06:00
platform.c of: Allow busses with #size-cells=0 2012-08-03 08:01:46 -05:00
selftest.c of: Add of_property_match_string() to find index into a string list 2012-01-28 10:29:20 -07:00