linux/drivers/of
Sudeep Holla e5269794d2 of: base: add support to get machine model name
Currently platforms/drivers needing to get the machine model name are
replicating the same snippet of code. In some case, the OF reference
counting is either missing or incorrect.

This patch adds support to read the machine model name either using
the "model" or the "compatible" property in the device tree root node
to the core OF/DT code.

This can be used to remove all the duplicate code snippets doing exactly
same thing later.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2016-11-18 08:46:22 -06:00
..
unittest-data
address.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
base.c of: base: add support to get machine model name 2016-11-18 08:46:22 -06:00
device.c iommu: of: enforce const-ness of struct iommu_ops 2016-05-09 15:33:29 +02:00
dynamic.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
fdt_address.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
fdt.c of/serial: move earlycon early_param handling to serial 2016-09-28 17:43:15 +02:00
irq.c of/irq: Break out msi-map lookup (again) 2016-09-16 09:34:14 +01:00
Kconfig mtd: Kill the OF_MTD Kconfig option 2016-09-23 09:35:16 +02:00
Makefile MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
of_mdio.c of_mdio: Abstract a general interface for phy connect 2016-07-16 21:32:58 -07:00
of_net.c
of_numa.c of, numa: Return NUMA_NO_NODE from disable of_node_to_nid() if nid not possible. 2016-11-15 09:17:12 -06:00
of_pci_irq.c of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages. 2015-09-17 14:46:11 -05:00
of_pci.c of/irq: Break out msi-map lookup (again) 2016-09-16 09:34:14 +01:00
of_private.h of: fix memory leak related to safe_name() 2016-06-24 15:16:10 -05:00
of_reserved_mem.c DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
overlay.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
pdt.c
platform.c of/platform: clarify of_find_device_by_node refcounting 2016-11-15 09:17:19 -06:00
resolver.c of: Remove unused variable overlay_symbols 2016-11-15 09:17:18 -06:00
unittest.c of: unittest: use of_platform_default_populate() to populate default bus 2016-06-23 15:00:59 -05:00