-
Notifications
You must be signed in to change notification settings - Fork 55.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'devicetree-for-4.21' of git://git.kernel.org/pub/scm/linux…
…/kernel/git/robh/linux Pull Devicetree updates from Rob Herring: "The biggest highlight here is the start of using json-schema for DT bindings. Being able to validate bindings has been discussed for years with little progress. - Initial support for DT bindings using json-schema language. This is the start of converting DT bindings from free-form text to a structured format. - Reworking of initrd address initialization. This moves to using the phys address instead of virt addr in the DT parsing code. This rework was motivated by CONFIG_DEV_BLK_INITRD causing unnecessary rebuilding of lots of files. - Fix stale phandle entries in phandle cache - DT overlay validation improvements. This exposed several memory leak bugs which have been fixed. - Use node name and device_type helper functions in DT code - Last remaining conversions to using %pOFn printk specifier instead of device_node.name directly - Create new common RTC binding doc and move all trivial RTC devices out of trivial-devices.txt. - New bindings for Freescale MAG3110 magnetometer, Cadence Sierra PHY, and Xen shared memory - Update dtc to upstream version v1.4.7-57-gf267e674d145" * tag 'devicetree-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (68 commits) of: __of_detach_node() - remove node from phandle cache of: of_node_get()/of_node_put() nodes held in phandle cache gpio-omap.txt: add reg and interrupts properties dt-bindings: mrvl,intc: fix a trivial typo dt-bindings: iio: magnetometer: add dt-bindings for freescale mag3110 dt-bindings: Convert trivial-devices.txt to json-schema dt-bindings: arm: mrvl: amend Browstone compatible string dt-bindings: arm: Convert Tegra board/soc bindings to json-schema dt-bindings: arm: Convert ZTE board/soc bindings to json-schema dt-bindings: arm: Add missing Xilinx boards dt-bindings: arm: Convert Xilinx board/soc bindings to json-schema dt-bindings: arm: Convert VIA board/soc bindings to json-schema dt-bindings: arm: Convert ST STi board/soc bindings to json-schema dt-bindings: arm: Convert SPEAr board/soc bindings to json-schema dt-bindings: arm: Convert CSR SiRF board/soc bindings to json-schema dt-bindings: arm: Convert QCom board/soc bindings to json-schema dt-bindings: arm: Convert TI nspire board/soc bindings to json-schema dt-bindings: arm: Convert TI davinci board/soc bindings to json-schema dt-bindings: arm: Convert Calxeda board/soc bindings to json-schema dt-bindings: arm: Convert Altera board/soc bindings to json-schema ...
- Loading branch information
Showing
112 changed files
with
3,461 additions
and
1,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
*.bin | ||
*.bz2 | ||
*.c.[012]*.* | ||
*.dt.yaml | ||
*.dtb | ||
*.dtb.S | ||
*.dwo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.example.dts | ||
processed-schema.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
DT_DOC_CHECKER ?= dt-doc-validate | ||
DT_EXTRACT_EX ?= dt-extract-example | ||
DT_MK_SCHEMA ?= dt-mk-schema | ||
DT_MK_SCHEMA_FLAGS := $(if $(DT_SCHEMA_FILES), -u) | ||
|
||
quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<) | ||
cmd_chk_binding = $(DT_DOC_CHECKER) $< ; \ | ||
$(DT_EXTRACT_EX) $< > $@ | ||
|
||
$(obj)/%.example.dts: $(src)/%.yaml FORCE | ||
$(call if_changed,chk_binding) | ||
|
||
DT_TMP_SCHEMA := processed-schema.yaml | ||
extra-y += $(DT_TMP_SCHEMA) | ||
|
||
quiet_cmd_mk_schema = SCHEMA $@ | ||
cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(filter-out FORCE, $^) | ||
|
||
DT_DOCS = $(shell cd $(srctree)/$(src) && find * -name '*.yaml') | ||
DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS)) | ||
|
||
extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES)) | ||
extra-y += $(patsubst $(src)/%.yaml,%.example.dtb, $(DT_SCHEMA_FILES)) | ||
|
||
$(obj)/$(DT_TMP_SCHEMA): $(DT_SCHEMA_FILES) FORCE | ||
$(call if_changed,mk_schema) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/arm/altera.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Altera's SoCFPGA platform device tree bindings | ||
|
||
maintainers: | ||
- Dinh Nguyen <dinguyen@kernel.org> | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- altr,socfpga-cyclone5 | ||
- altr,socfpga-arria5 | ||
- altr,socfpga-arria10 | ||
- const: altr,socfpga | ||
... |
11 changes: 0 additions & 11 deletions
11
Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Altera SOCFPGA Clock Manager | ||
|
||
maintainers: | ||
- Dinh Nguyen <dinguyen@kernel.org> | ||
|
||
description: test | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: altr,clk-mgr | ||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
|
||
examples: | ||
- | | ||
clkmgr@ffd04000 { | ||
compatible = "altr,clk-mgr"; | ||
reg = <0xffd04000 0x1000>; | ||
}; | ||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/arm/calxeda.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Calxeda Platforms Device Tree Bindings | ||
|
||
maintainers: | ||
- Rob Herring <robh@kernel.org> | ||
description: |+ | ||
Bindings for boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC | ||
or Cortex-A15 based ECX-2000 SOCs | ||
properties: | ||
$nodename: | ||
const: '/' | ||
compatible: | ||
items: | ||
- enum: | ||
- calxeda,highbank | ||
- calxeda,ecx-2000 |
Oops, something went wrong.