Pull DeviceTree updates from Rob Herring:
"A bigger diffstat than usual with the kbuild changes and a tree wide
fix in the binding documentation.
Summary:
- kbuild cleanups and improvements for dtbs
- Code clean-up of overlay code and fixing for some long standing
memory leak and race condition in applying overlays
- Improvements to DT memory usage making sysfs/kobjects optional and
skipping unflattening of disabled nodes. This is part of kernel
tinification efforts.
- Final piece of removing storing the full path for every DT node.
The prerequisite conversion of printk's to use device_node format
specifier happened in 4.14.
- Sync with current upstream dtc. This brings additional checks to
dtb compiling.
- Binding doc tree wide removal of leading 0s from examples
- RTC binding documentation adding missing devices and some
consolidation of duplicated bindings
- Vendor prefix documentation for nutsboard, Silicon Storage
Technology, shimafuji, Tecon Microprocessor Technologies, DH
electronics GmbH, Opal Kelly, and Next Thing"
* tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (55 commits)
dt-bindings: usb: add #phy-cells to usb-nop-xceiv
dt-bindings: Remove leading zeros from bindings notation
kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib
MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
kbuild: clean up *.dtb and *.dtb.S patterns from top-level Makefile
.gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
.gitignore: sort normal pattern rules alphabetically
dt-bindings: add vendor prefix for Next Thing Co.
scripts/dtc: Update to upstream version
v1.4.5-6-gc1e55a5513e9
of: dynamic: fix memory leak related to properties of __of_node_dup
of: overlay: make pr_err() string unique
of: overlay: pr_err from return NOTIFY_OK to overlay apply/remove
of: overlay: remove unneeded check for NULL kbasename()
of: overlay: remove a dependency on device node full_name
of: overlay: simplify applying symbols from an overlay
of: overlay: avoid race condition between applying multiple overlays
of: overlay: loosen overly strict phandle clash check
of: overlay: expand check of whether overlay changeset can be removed
of: overlay: detect cases where device tree may become corrupt
of: overlay: minor restructuring
...
onion Onion Corporation
onnn ON Semiconductor Corp.
ontat On Tat Industrial Company
+ opalkelly Opal Kelly Incorporated
opencores OpenCores.org
+openrisc OpenRISC.io
option Option NV
ORCL Oracle Corporation
ortustech Ortus Technology Co., Ltd.
- dts-dirs += actions
- dts-dirs += al
- dts-dirs += allwinner
- dts-dirs += altera
- dts-dirs += amd
- dts-dirs += amlogic
- dts-dirs += apm
- dts-dirs += arm
- dts-dirs += broadcom
- dts-dirs += cavium
- dts-dirs += exynos
- dts-dirs += freescale
- dts-dirs += hisilicon
- dts-dirs += marvell
- dts-dirs += mediatek
- dts-dirs += nvidia
- dts-dirs += qcom
- dts-dirs += realtek
- dts-dirs += renesas
- dts-dirs += rockchip
- dts-dirs += socionext
- dts-dirs += sprd
- dts-dirs += xilinx
- dts-dirs += lg
- dts-dirs += zte
-
- subdir-y := $(dts-dirs)
-
- dtstree := $(srctree)/$(src)
-
- dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
-
- always := $(dtb-y)
+# SPDX-License-Identifier: GPL-2.0
+ subdir-y += actions
+ subdir-y += al
+ subdir-y += allwinner
+ subdir-y += altera
+ subdir-y += amd
+ subdir-y += amlogic
+ subdir-y += apm
+ subdir-y += arm
+ subdir-y += broadcom
+ subdir-y += cavium
+ subdir-y += exynos
+ subdir-y += freescale
+ subdir-y += hisilicon
+ subdir-y += marvell
+ subdir-y += mediatek
+ subdir-y += nvidia
+ subdir-y += qcom
+ subdir-y += realtek
+ subdir-y += renesas
+ subdir-y += rockchip
+ subdir-y += socionext
+ subdir-y += sprd
+ subdir-y += xilinx
+ subdir-y += lg
+ subdir-y += zte
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb
dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb
- dts-dirs += northstar2
- dts-dirs += stingray
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
+ subdir-y += northstar2
+ subdir-y += stingray
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742k.dtb
dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742t.dtb
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_THUNDER) += thunder-88xx.dtb
dtb-$(CONFIG_ARCH_THUNDER2) += thunder2-99xx.dtb
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb
dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
+# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \
sp9860g-1h10.dtb
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb
- dts-dirs += brcm
- dts-dirs += cavium-octeon
- dts-dirs += img
- dts-dirs += ingenic
- dts-dirs += lantiq
- dts-dirs += mti
- dts-dirs += netlogic
- dts-dirs += ni
- dts-dirs += pic32
- dts-dirs += qca
- dts-dirs += ralink
- dts-dirs += xilfpga
+# SPDX-License-Identifier: GPL-2.0
+ subdir-y += brcm
+ subdir-y += cavium-octeon
+ subdir-y += img
+ subdir-y += ingenic
+ subdir-y += lantiq
+ subdir-y += mti
+ subdir-y += netlogic
+ subdir-y += ni
+ subdir-y += pic32
+ subdir-y += qca
+ subdir-y += ralink
+ subdir-y += xilfpga
- obj-y := $(addsuffix /, $(dts-dirs))
-
- dtstree := $(srctree)/$(src)
- dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
-
- always := $(dtb-y)
- subdir-y := $(dts-dirs)
- clean-files := *.dtb *.dtb.S
+ obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix /, $(subdir-y))
+# SPDX-License-Identifier: GPL-2.0
obj-y = base.o device.o platform.o property.o
+ obj-$(CONFIG_OF_KOBJ) += kobj.o
obj-$(CONFIG_OF_DYNAMIC) += dynamic.o
obj-$(CONFIG_OF_FLATTREE) += fdt.o
obj-$(CONFIG_OF_EARLY_FLATTREE) += fdt_address.o