projects/linux·commit 0080665f

Merge tag 'devicetree-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

0080665f · Linus Torvalds <[email protected]> · 2021-04-28 15:50:24 -07:00

Pull devicetree updates from Rob Herring:

 - Refactor powerpc and arm64 kexec DT handling to common code. This
   enables IMA on arm64.

 - Add kbuild support for applying DT overlays at build time. The first
   user are the DT unittests.

 - Fix kerneldoc formatting and W=1 warnings in drivers/of/

 - Fix handling 64-bit flag on PCI resources

 - Bump dtschema version required to v2021.2.1

 - Enable undocumented compatible checks for dtbs_check. This allows
   tracking of missing binding schemas.

 - DT docs improvements. Regroup the DT docs and add the example schema
   and DT kernel ABI docs to the doc build.

 - Convert Broadcom Bluetooth and video-mux bindings to schema

 - Add QCom sm8250 Venus video codec binding schema

 - Add vendor prefixes for AESOP, YIC System Co., Ltd, and Siliconfile
   Technologies Inc.

 - Cleanup of DT schema type references on common properties and
   standard unit properties

* tag 'devicetree-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (64 commits)
  powerpc: If kexec_build_elf_info() fails return immediately from elf64_load()
  powerpc: Free fdt on error in elf64_load()
  of: overlay: Fix kerneldoc warning in of_overlay_remove()
  of: linux/of.h: fix kernel-doc warnings
  of/pci: Add IORESOURCE_MEM_64 to resource flags for 64-bit memory addresses
  dt-bindings: bcm4329-fmac: add optional brcm,ccode-map
  docs: dt: update writing-schema.rst references
  dt-bindings: media: venus: Add sm8250 dt schema
  of: base: Fix spelling issue with function param 'prop'
  docs: dt: Add DT API documentation
  of: Add missing 'Return' section in kerneldoc comments
  of: Fix kerneldoc output formatting
  docs: dt: Group DT docs into relevant sub-sections
  docs: dt: Make 'Devicetree' wording more consistent
  docs: dt: writing-schema: Include the example schema in the doc build
  docs: dt: writing-schema: Remove spurious indentation
  dt-bindings: Fix reference in submitting-patches.rst to the DT ABI doc
  dt-bindings: ddr: Add optional manufacturer and revision ID to LPDDR3
  dt-bindings: media: video-interfaces: Drop the example
  devicetree: bindings: clock: Minor typo fix in the file armada3700-tbg-clock.txt
  ...
Commit
0080665fbd0e6a771aee366bb2aa208626e43def
Parents
5a69e9bc · 031cc263

Merge commit. Changes below are compared with the first parent: 5a69e9bc.

Changes

102 files changed · +1671 −1457

FileStatusAddDelContent
Documentation/devicetree/bindings/Makefilemodified+4−1View file
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yamlmodified+1−4View file
Documentation/devicetree/bindings/arm/cpus.yamlmodified+0−2View file
Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yamlmodified+1−1View file
Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txtmodified+1−1View file
Documentation/devicetree/bindings/clock/milbeaut-clock.yamlmodified+7−5View file
Documentation/devicetree/bindings/ddr/lpddr3.txtmodified+5−0View file
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yamlmodified+0−1View file
Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yamlmodified+0−6View file
Documentation/devicetree/bindings/display/msm/dpu.txtmodified+2−2View file
Documentation/devicetree/bindings/display/panel/panel-dpi.yamlmodified+1−1View file
Documentation/devicetree/bindings/dma/qcom,gpi.yamlmodified+1−1View file
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yamlmodified+1−2View file
Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yamlmodified+1−1View file
Documentation/devicetree/bindings/i3c/i3c.yamlmodified+4−3View file
Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yamlmodified+0−5View file
Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yamlmodified+1−1View file
Documentation/devicetree/bindings/iio/light/capella,cm3605.yamlmodified+0−1View file
Documentation/devicetree/bindings/iio/light/upisemi,us5182.yamlmodified+2−2View file
Documentation/devicetree/bindings/index.rstmodified+2−5View file
Documentation/devicetree/bindings/input/input.yamlmodified+0−1View file
Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yamlmodified+1−1View file
Documentation/devicetree/bindings/leds/leds-lgm.yamlmodified+22−4View file
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yamladded+167−0View file
Documentation/devicetree/bindings/media/video-interfaces.yamlmodified+0−127View file
Documentation/devicetree/bindings/media/video-mux.txtdeleted+0−60View before deletion
Documentation/devicetree/bindings/media/video-mux.yamladded+106−0View file
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yamlmodified+1−1View file
Documentation/devicetree/bindings/net/can/fsl,flexcan.yamlmodified+0−1View file
Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yamladded+109−0View file
Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txtdeleted+0−38View before deletion
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yamlmodified+1−3View file
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yamlmodified+1−1View file
Documentation/devicetree/bindings/power/supply/bq256xx.yamlmodified+0−1View file
Documentation/devicetree/bindings/power/supply/cw2015_battery.yamlmodified+1−1View file
Documentation/devicetree/bindings/power/supply/ltc4162-l.yamlmodified+0−2View file
Documentation/devicetree/bindings/power/supply/power-supply.yamlmodified+0−22View file
Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yamlmodified+0−1View file
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yamlmodified+1−1View file
Documentation/devicetree/bindings/serial/serial.yamlmodified+1−1View file
Documentation/devicetree/bindings/sound/ak4642.yamlmodified+0−2View file
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yamlmodified+1−1View file
Documentation/devicetree/bindings/sound/renesas,rsnd.yamlmodified+0−1View file
Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yamlmodified+2−2View file
Documentation/devicetree/bindings/spi/spi-controller.yamlmodified+11−10View file
Documentation/devicetree/bindings/spi/spi-mux.yamlmodified+2−6View file
Documentation/devicetree/bindings/spi/st,stm32-spi.yamlmodified+0−6View file
Documentation/devicetree/bindings/submitting-patches.rstmodified+3−3View file
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yamlmodified+0−2View file
Documentation/devicetree/bindings/trivial-devices.yamlmodified+3−0View file
Documentation/devicetree/bindings/usb/usb.yamlmodified+0−1View file
Documentation/devicetree/bindings/vendor-prefixes.yamlmodified+6−0View file
Documentation/devicetree/writing-schema.rst → Documentation/devicetree/bindings/writing-schema.rstrenamed+14−3View file
Documentation/devicetree/changesets.rstmodified+4−4View file
Documentation/devicetree/dynamic-resolution-notes.rstmodified+4−4View file
Documentation/devicetree/index.rstmodified+16−3View file
Documentation/devicetree/kernel-api.rstadded+57−0View file
Documentation/devicetree/of_unittest.rstmodified+3−3View file
Documentation/devicetree/overlay-notes.rstmodified+4−4View file
Documentation/devicetree/usage-model.rstmodified+4−4View file
arch/arm64/Kconfigmodified+1−0View file
arch/arm64/include/asm/kexec.hmodified+0−4View file
arch/arm64/kernel/machine_kexec_file.cmodified+15−181View file
arch/powerpc/Kconfigmodified+1−1View file
arch/powerpc/include/asm/ima.hdeleted+0−30View before deletion
arch/powerpc/include/asm/kexec.hmodified+2−14View file
arch/powerpc/kexec/Makefilemodified+0−7View file
arch/powerpc/kexec/elf_64.cmodified+17−15View file
arch/powerpc/kexec/file_load.cmodified+1−182View file
arch/powerpc/kexec/file_load_64.cmodified+18−29View file
arch/powerpc/kexec/ima.cdeleted+0−219View before deletion
arch/x86/include/asm/kexec.hmodified+0−5View file
arch/x86/kernel/crash.cmodified+7−7View file
arch/x86/kernel/kexec-bzimage64.cmodified+1−1View file
arch/x86/kernel/machine_kexec_64.cmodified+2−2View file
drivers/of/Makefilemodified+6−0View file
drivers/of/address.cmodified+7−1View file
drivers/of/base.cmodified+168−160View file
drivers/of/device.cmodified+6−1View file
drivers/of/dynamic.cmodified+15−8View file
drivers/of/fdt.cmodified+20−20View file
drivers/of/irq.cmodified+7−7View file
drivers/of/kexec.cadded+458−0View file
drivers/of/of_net.cmodified+3−0View file
drivers/of/of_reserved_mem.cmodified+3−3View file
drivers/of/overlay.cmodified+10−9View file
drivers/of/platform.cmodified+6−6View file
drivers/of/property.cmodified+44−28View file
drivers/of/unittest-data/Makefilemodified+48−0View file
drivers/of/unittest-data/overlay_base.dtsmodified+1−89View file
drivers/of/unittest-data/overlay_common.dtsiadded+91−0View file
drivers/of/unittest-data/static_base_1.dtsadded+4−0View file
drivers/of/unittest-data/static_base_2.dtsadded+4−0View file
drivers/of/unittest-data/testcases.dtsmodified+12−11View file
drivers/of/unittest-data/testcases_common.dtsiadded+19−0View file
drivers/of/unittest-data/tests-interrupts.dtsimodified+5−6View file
include/linux/kexec.hmodified+8−0View file
include/linux/of.hmodified+50−24View file
scripts/Makefile.libmodified+28−6View file
scripts/checkpatch.plmodified+1−1View file
security/integrity/ima/ima.hmodified+0−4View file
security/integrity/ima/ima_kexec.cmodified+3−6View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/Makefile

View file
diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile
index 780e561..bc24ee3 100644
--- a/Documentation/devicetree/bindings/Makefile
+++ b/Documentation/devicetree/bindings/Makefile
@@ -5,7 +5,7 @@ DT_MK_SCHEMA ?= dt-mk-schema
DT_SCHEMA_LINT = $(shell which yamllint)
-DT_SCHEMA_MIN_VERSION = 2020.8.1
+DT_SCHEMA_MIN_VERSION = 2021.2.1
PHONY += check_dtschema_version
check_dtschema_version:
@@ -55,6 +55,9 @@ override DTC_FLAGS := \
-Wno-graph_child_address \
-Wno-interrupt_provider
+# Disable undocumented compatible checks until warning free
+override DT_CHECKER_FLAGS ?=
+
$(obj)/processed-schema-examples.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
$(call if_changed_rule,chkdt)

Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml

View file
diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
index e3664ea..b369b37 100644
--- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
@@ -26,10 +26,7 @@ properties:
- const: simple-mfd
mboxes:
- $ref: '/schemas/types.yaml#/definitions/phandle'
- description: |
- Phandle to the firmware device's Mailbox.
- (See: ../mailbox/mailbox.txt for more information)
+ maxItems: 1
clocks:
type: object

Documentation/devicetree/bindings/arm/cpus.yaml

View file
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index c299423..f3c7249 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -258,13 +258,11 @@ properties:
where voltage is in V, frequency is in MHz.
power-domains:
- $ref: '/schemas/types.yaml#/definitions/phandle-array'
description:
List of phandles and PM domain specifiers, as defined by bindings of the
PM domain provider (see also ../power_domain.txt).
power-domain-names:
- $ref: '/schemas/types.yaml#/definitions/string-array'
description:
A list of power domain name strings sorted in the same order as the
power-domains property.

Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yaml

View file
diff --git a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yaml b/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yaml
index e9c4cf8..e5d9d45 100644
--- a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yaml
+++ b/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll1-clk.yaml
@@ -44,7 +44,7 @@ examples:
- |
clk@1c20000 {
#clock-cells = <0>;
- compatible = "allwinner,sun4i-a10-pll1";
+ compatible = "allwinner,sun4i-a10-pll1-clk";
reg = <0x01c20000 0x4>;
clocks = <&osc24M>;
clock-output-names = "osc24M";

Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt

View file
diff --git a/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt b/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt
index 0ba1d83..ed1df32 100644
--- a/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt
+++ b/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt
@@ -1,6 +1,6 @@
* Time Base Generator Clock bindings for Marvell Armada 37xx SoCs
-Marvell Armada 37xx SoCs provde Time Base Generator clocks which are
+Marvell Armada 37xx SoCs provide Time Base Generator clocks which are
used as parent clocks for the peripheral clocks.
The TBG clock consumer should specify the desired clock by having the

Documentation/devicetree/bindings/clock/milbeaut-clock.yaml

View file
diff --git a/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml b/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml
index 0e8b077..6d39344 100644
--- a/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml
@@ -18,10 +18,12 @@ description: |
properties:
compatible:
- oneOf:
- - items:
- - enum:
- - socionext,milbeaut-m10v-ccu
+ enum:
+ - socionext,milbeaut-m10v-ccu
+
+ reg:
+ maxItems: 1
+
clocks:
maxItems: 1
description: external clock
@@ -41,7 +43,7 @@ examples:
# Clock controller node:
- |
m10v-clk-ctrl@1d021000 {
- compatible = "socionext,milbeaut-m10v-clk-ccu";
+ compatible = "socionext,milbeaut-m10v-ccu";
reg = <0x1d021000 0x4000>;
#clock-cells = <1>;
clocks = <&clki40mhz>;

Documentation/devicetree/bindings/ddr/lpddr3.txt

View file
diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt
index a0eda35..b221e65 100644
--- a/Documentation/devicetree/bindings/ddr/lpddr3.txt
+++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt
@@ -12,6 +12,9 @@ Required properties:
Optional properties:
+- manufacturer-id : <u32> Manufacturer ID value read from Mode Register 5
+- revision-id : <u32 u32> Revision IDs read from Mode Registers 6 and 7
+
The following optional properties represent the minimum value of some AC
timing parameters of the DDR device in terms of number of clock cycles.
These values shall be obtained from the device data-sheet.
@@ -49,6 +52,8 @@ samsung_K3QF2F20DB: lpddr3 {
compatible = "samsung,K3QF2F20DB", "jedec,lpddr3";
density = <16384>;
io-width = <32>;
+ manufacturer-id = <1>;
+ revision-id = <123 234>;
#address-cells = <1>;
#size-cells = <0>;

Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml

View file
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
index c13faf3..3a7d5d7 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
@@ -73,7 +73,6 @@ properties:
clock-output-names:
description:
Name of the LCD pixel clock created.
- $ref: /schemas/types.yaml#/definitions/string-array
maxItems: 1
dmas:

Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml

View file
diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml
index 55c6091..3260857 100644
--- a/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml
+++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml
@@ -77,12 +77,6 @@ examples:
clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
- pitouchscreen: panel@0 {
- compatible = "raspberrypi,touchscreen";
- reg = <0>;
-
- /* ... */
- };
};
...

Documentation/devicetree/bindings/display/msm/dpu.txt

View file
diff --git a/Documentation/devicetree/bindings/display/msm/dpu.txt b/Documentation/devicetree/bindings/display/msm/dpu.txt
index 551ae26..586e6ea 100644
--- a/Documentation/devicetree/bindings/display/msm/dpu.txt
+++ b/Documentation/devicetree/bindings/display/msm/dpu.txt
@@ -2,14 +2,14 @@ Qualcomm Technologies, Inc. DPU KMS
Description:
-Device tree bindings for MSM Mobile Display Subsytem(MDSS) that encapsulates
+Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates
sub-blocks like DPU display controller, DSI and DP interfaces etc.
The DPU display controller is found in SDM845 SoC.
MDSS:
Required properties:
- compatible: "qcom,sdm845-mdss", "qcom,sc7180-mdss"
-- reg: physical base address and length of contoller's registers.
+- reg: physical base address and length of controller's registers.
- reg-names: register region names. The following region is required:
* "mdss"
- power-domains: a power domain consumer specifier according to

Documentation/devicetree/bindings/display/panel/panel-dpi.yaml

View file
diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
index 0cd74c8..dae0676 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
@@ -40,7 +40,7 @@ additionalProperties: false
examples:
- |
panel {
- compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
+ compatible = "startek,startek-kd050c", "panel-dpi";
label = "osddisplay";
power-supply = <&vcc_supply>;
backlight = <&backlight>;

Documentation/devicetree/bindings/dma/qcom,gpi.yaml

View file
diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
index f8142ad..2e66840 100644
--- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
@@ -64,7 +64,7 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/dma/qcom-gpi.h>
gpi_dma0: dma-controller@800000 {
- compatible = "qcom,gpi-dma";
+ compatible = "qcom,sdm845-gpi-dma";
#dma-cells = <3>;
reg = <0x00800000 0x60000>;
iommus = <&apps_smmu 0x0016 0x0>;

Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml

View file
diff --git a/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml b/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
index 1a54db0..bcafa49 100644
--- a/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
@@ -43,8 +43,7 @@ properties:
gpio-ranges: true
- gpio-ranges-group-names:
- $ref: /schemas/types.yaml#/definitions/string-array
+ gpio-ranges-group-names: true
socionext,interrupt-ranges:
description: |

Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml

View file
diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
index ffb2ed0..715dcfa 100644
--- a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
+++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
@@ -4,7 +4,7 @@
$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
-title: ilinx IIC controller Device Tree Bindings
+title: Xilinx IIC controller Device Tree Bindings
maintainers:

Documentation/devicetree/bindings/i3c/i3c.yaml

View file
diff --git a/Documentation/devicetree/bindings/i3c/i3c.yaml b/Documentation/devicetree/bindings/i3c/i3c.yaml
index 52042aa..1f82fc9 100644
--- a/Documentation/devicetree/bindings/i3c/i3c.yaml
+++ b/Documentation/devicetree/bindings/i3c/i3c.yaml
@@ -157,9 +157,10 @@ examples:
i2c-scl-hz = <100000>;
/* I2C device. */
- nunchuk: nunchuk@52 {
- compatible = "nintendo,nunchuk";
- reg = <0x52 0x0 0x10>;
+ eeprom@57 {
+ compatible = "atmel,24c01";
+ reg = <0x57 0x0 0x10>;
+ pagesize = <0x8>;
};
/* I3C device with a static I2C address. */

Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml

View file
diff --git a/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml b/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml
index c562d25..547697e 100644
--- a/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml
@@ -53,11 +53,6 @@ examples:
#address-cells = <1>;
#size-cells = <1>;
- ts_adc_syscon: ts_adc_syscon@180a6000 {
- compatible = "brcm,iproc-ts-adc-syscon","syscon";
- reg = <0x180a6000 0xc30>;
- };
-
adc {
compatible = "brcm,iproc-static-adc";
adc-syscon = <&ts_adc_syscon>;

Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml

View file
diff --git a/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml b/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml
index d97ee77..3f57a1b 100644
--- a/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml
+++ b/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.yaml
@@ -83,7 +83,7 @@ examples:
#size-cells = <0>;
gyroscope@0 {
- compatible = "nxp,fxas2102c";
+ compatible = "nxp,fxas21002c";
reg = <0x0>;
spi-max-frequency = <2000000>;

Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml

View file
diff --git a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml
index 2797293..c63b79c 100644
--- a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml
+++ b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml
@@ -48,7 +48,6 @@ properties:
vdd-supply: true
capella,aset-resistance-ohms:
- $ref: /schemas/types.yaml#/definitions/uint32
enum: [50000, 100000, 300000, 600000]
description: >
Sensitivity calibration resistance. Note that calibration curves

Documentation/devicetree/bindings/iio/light/upisemi,us5182.yaml

View file
diff --git a/Documentation/devicetree/bindings/iio/light/upisemi,us5182.yaml b/Documentation/devicetree/bindings/iio/light/upisemi,us5182.yaml
index de5882c..dd78abe 100644
--- a/Documentation/devicetree/bindings/iio/light/upisemi,us5182.yaml
+++ b/Documentation/devicetree/bindings/iio/light/upisemi,us5182.yaml
@@ -11,12 +11,12 @@ maintainers:
properties:
compatible:
- const: upisemi,asd5182
+ const: upisemi,usd5182
reg:
maxItems: 1
- upsemi,glass-coef:
+ upisemi,glass-coef:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
glass attenuation factor - compensation factor of resolution 1000

Documentation/devicetree/bindings/index.rst

View file
diff --git a/Documentation/devicetree/bindings/index.rst b/Documentation/devicetree/bindings/index.rst
index 3837b17..d9002a3 100644
--- a/Documentation/devicetree/bindings/index.rst
+++ b/Documentation/devicetree/bindings/index.rst
@@ -1,12 +1,9 @@
.. SPDX-License-Identifier: GPL-2.0
-===========
-Device Tree
-===========
-
.. toctree::
:maxdepth: 1
ABI
- submitting-patches
writing-bindings
+ writing-schema
+ submitting-patches

Documentation/devicetree/bindings/input/input.yaml

View file
diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml
index ab407f2..3fc3747 100644
--- a/Documentation/devicetree/bindings/input/input.yaml
+++ b/Documentation/devicetree/bindings/input/input.yaml
@@ -32,6 +32,5 @@ properties:
Duration in seconds which the key should be kept pressed for device to
power off automatically. Device with key pressed shutdown feature can
specify this property.
- $ref: /schemas/types.yaml#/definitions/uint32
additionalProperties: true

Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml

View file
diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
index d1d52d1..d6bc1a6 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
@@ -47,7 +47,7 @@ examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
htintc: interrupt-controller@1fb000080 {
- compatible = "loongson,htintc-1.0";
+ compatible = "loongson,htpic-1.0";
reg = <0xfb000080 0x40>;
interrupt-controller;
#interrupt-cells = <1>;

Documentation/devicetree/bindings/leds/leds-lgm.yaml

View file
diff --git a/Documentation/devicetree/bindings/leds/leds-lgm.yaml b/Documentation/devicetree/bindings/leds/leds-lgm.yaml
index 32bbf14..f8d7963 100644
--- a/Documentation/devicetree/bindings/leds/leds-lgm.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lgm.yaml
@@ -14,6 +14,17 @@ properties:
compatible:
const: intel,lgm-ssoled
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 2
+
+ clock-names:
+ items:
+ - const: sso
+ - const: fpid
+
gpio-controller: true
'#gpio-cells':
@@ -36,8 +47,15 @@ properties:
additionalProperties: false
+ properties:
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
patternProperties:
- "^led@[0-23]$":
+ "^led@[0-2]$":
type: object
properties:
@@ -81,7 +99,7 @@ examples:
#include <dt-bindings/leds/common.h>
ssogpio: ssogpio@e0d40000 {
- compatible = "intel,sso-led";
+ compatible = "intel,lgm-ssoled";
reg = <0xE0D40000 0x2E4>;
gpio-controller;
#gpio-cells = <2>;
@@ -103,8 +121,8 @@ examples:
led-gpio = <&ssogpio 0 0>;
};
- led@23 {
- reg = <23>;
+ led@2 {
+ reg = <2>;
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_GREEN>;
led-gpio = <&ssogpio 23 0>;

Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml

View file
diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
new file mode 100644
index 0000000..7b81bd7
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
@@ -0,0 +1,167 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/media/qcom,sm8250-venus.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Qualcomm Venus video encode and decode accelerators
+
+maintainers:
+ - Stanimir Varbanov <[email protected]>
+
+description: |
+ The Venus IP is a video encode and decode accelerator present
+ on Qualcomm platforms
+
+properties:
+ compatible:
+ const: qcom,sm8250-venus
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ power-domains:
+ minItems: 2
+ maxItems: 3
+
+ power-domain-names:
+ minItems: 2
+ maxItems: 3
+ items:
+ - const: venus
+ - const: vcodec0
+ - const: mx
+
+ clocks:
+ maxItems: 3
+
+ clock-names:
+ items:
+ - const: iface
+ - const: core
+ - const: vcodec0_core
+
+ iommus:
+ maxItems: 1
+
+ memory-region:
+ maxItems: 1
+
+ interconnects:
+ maxItems: 2
+
+ interconnect-names:
+ items:
+ - const: cpu-cfg
+ - const: video-mem
+
+ resets:
+ maxItems: 2
+
+ reset-names:
+ items:
+ - const: bus
+ - const: core
+
+ video-decoder:
+ type: object
+
+ properties:
+ compatible:
+ const: venus-decoder
+
+ required:
+ - compatible
+
+ additionalProperties: false
+
+ video-encoder:
+ type: object
+
+ properties:
+ compatible:
+ const: venus-encoder
+
+ required:
+ - compatible
+
+ additionalProperties: false
+
+ video-firmware:
+ type: object
+
+ description: |
+ Firmware subnode is needed when the platform does not
+ have TrustZone.
+
+ properties:
+ iommus:
+ maxItems: 1
+
+ required:
+ - iommus
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - power-domains
+ - power-domain-names
+ - clocks
+ - clock-names
+ - interconnects
+ - interconnect-names
+ - iommus
+ - memory-region
+ - resets
+ - reset-names
+ - video-decoder
+ - video-encoder
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/qcom,videocc-sm8250.h>
+ #include <dt-bindings/interconnect/qcom,sm8250.h>
+ #include <dt-bindings/clock/qcom,gcc-sm8250.h>
+ #include <dt-bindings/power/qcom-rpmpd.h>
+
+ venus: video-codec@aa00000 {
+ compatible = "qcom,sm8250-venus";
+ reg = <0x0aa00000 0xff000>;
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&videocc MVS0C_GDSC>,
+ <&videocc MVS0_GDSC>,
+ <&rpmhpd SM8250_MX>;
+ power-domain-names = "venus", "vcodec0", "mx";
+
+ clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
+ <&videocc VIDEO_CC_MVS0C_CLK>,
+ <&videocc VIDEO_CC_MVS0_CLK>;
+ clock-names = "iface", "core", "vcodec0_core";
+
+ interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
+ <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
+ interconnect-names = "cpu-cfg", "video-mem";
+
+ iommus = <&apps_smmu 0x2100 0x0400>;
+ memory-region = <&video_mem>;
+
+ resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
+ <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
+ reset-names = "bus", "core";
+
+ video-decoder {
+ compatible = "venus-decoder";
+ };
+
+ video-encoder {
+ compatible = "venus-encoder";
+ };
+ };

Documentation/devicetree/bindings/media/video-interfaces.yaml

View file
diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml
index 0a7a73f..4391dce 100644
--- a/Documentation/devicetree/bindings/media/video-interfaces.yaml
+++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml
@@ -215,130 +215,3 @@ properties:
CCP2, for instance.
additionalProperties: true
-

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/media/video-mux.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/media/video-mux.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/bq256xx.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/power-supply.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/serial/serial.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/sound/ak4642.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/sound/renesas,rsnd.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/spi/spi-controller.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/spi/spi-mux.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/spi/st,stm32-spi.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/submitting-patches.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/trivial-devices.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/usb/usb.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/vendor-prefixes.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/writing-schema.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/changesets.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/dynamic-resolution-notes.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/kernel-api.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/of_unittest.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/overlay-notes.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/usage-model.rst

View file

This diff is incomplete. Download the complete patch.

arch/arm64/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/kexec.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/kernel/machine_kexec_file.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/ima.h

View before deletion

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/kexec.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kexec/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kexec/elf_64.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kexec/file_load.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kexec/file_load_64.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kexec/ima.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/kexec.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/crash.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/kexec-bzimage64.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/machine_kexec_64.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/of/address.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/base.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/device.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/dynamic.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/fdt.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/irq.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/kexec.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/of_net.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/of_reserved_mem.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/overlay.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/platform.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/property.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/overlay_base.dts

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/overlay_common.dtsi

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/static_base_1.dts

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/static_base_2.dts

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/testcases.dts

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/testcases_common.dtsi

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/tests-interrupts.dtsi

View file

This diff is incomplete. Download the complete patch.

include/linux/kexec.h

View file

This diff is incomplete. Download the complete patch.

include/linux/of.h

View file

This diff is incomplete. Download the complete patch.

scripts/Makefile.lib

View file

This diff is incomplete. Download the complete patch.

scripts/checkpatch.pl

View file

This diff is incomplete. Download the complete patch.

security/integrity/ima/ima.h

View file

This diff is incomplete. Download the complete patch.

security/integrity/ima/ima_kexec.c

View file

This diff is incomplete. Download the complete patch.