Merge tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Oct 2022 20:13:51 +0000 (13:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Oct 2022 20:13:51 +0000 (13:13 -0700)
Pull devicetree updates from Rob Herring:
 "DT core:

   - Fix node refcounting in of_find_last_cache_level()

   - Constify device_node in of_device_compatible_match()

   - Fix 'dma-ranges' handling in bus controller nodes

   - Fix handling of initrd start > end

   - Improve error reporting in of_irq_init()

   - Taint kernel on DT unittest running

   - Use strscpy instead of strlcpy

   - Add a build target, dt_compatible_check, to check for compatible
     strings used in kernel sources against compatible strings in DT
     schemas.

   - Handle DT_SCHEMA_FILES changes when rebuilding

  DT bindings:

   - LED bindings for MT6370 PMIC

   - Convert Mediatek mtk-gce mailbox, MIPS CPU interrupt controller,
     mt7621 I2C, virtio,pci-iommu, nxp,tda998x, QCom fastrpc, qcom,pdc,
     and arm,versatile-sysreg to DT schema format

   - Add nvmem cells to u-boot,env schema

   - Add more LED_COLOR_ID definitions

   - Require 'opp-table' uses to be a node

   - Various schema fixes to match QEMU 'virt' DT usage

   - Tree wide dropping of redundant 'Device Tree Binding' in schema
     titles

   - More (unevaluated|additional)Properties fixes in schema child nodes

   - Drop various redundant minItems equal to maxItems"

* tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (62 commits)
  of: base: Shift refcount decrement in of_find_last_cache_level()
  dt-bindings: leds: Add MediaTek MT6370 flashlight
  dt-bindings: leds: mt6370: Add MediaTek MT6370 current sink type LED indicator
  dt-bindings: mailbox: Convert mtk-gce to DT schema
  of: base: make of_device_compatible_match() accept const device node
  of: Fix "dma-ranges" handling for bus controllers
  of: fdt: Remove unused struct fdt_scan_status
  dt-bindings: display: st,stm32-dsi: Handle data-lanes in DSI port node
  dt-bindings: timer: Add power-domains for TI timer-dm on K3
  dt: Add a check for undocumented compatible strings in kernel
  kbuild: take into account DT_SCHEMA_FILES changes while checking dtbs
  dt-bindings: interrupt-controller: migrate MIPS CPU interrupt controller text bindings to YAML
  dt-bindings: i2c: migrate mt7621 text bindings to YAML
  dt-bindings: power: gpcv2: correct patternProperties
  dt-bindings: virtio: Convert virtio,pci-iommu to DT schema
  dt-bindings: timer: arm,arch_timer: Allow dual compatible string
  dt-bindings: arm: cpus: Add kryo240 compatible
  dt-bindings: display: bridge: nxp,tda998x: Convert to json-schema
  dt-bindings: nvmem: u-boot,env: add basic NVMEM cells
  dt-bindings: remoteproc: qcom,adsp: enforce smd-edge schema
  ...

46 files changed:
1  2 
Documentation/devicetree/bindings/arm/amlogic.yaml
Documentation/devicetree/bindings/arm/atmel-at91.yaml
Documentation/devicetree/bindings/arm/fsl.yaml
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
Documentation/devicetree/bindings/arm/qcom.yaml
Documentation/devicetree/bindings/arm/renesas.yaml
Documentation/devicetree/bindings/arm/rockchip.yaml
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
Documentation/devicetree/bindings/display/msm/gpu.yaml
Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml
Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml
Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml
Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml
Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml
Documentation/devicetree/bindings/mfd/allwinner,sun8i-a23-prcm.yaml
Documentation/devicetree/bindings/mfd/khadas,mcu.yaml
Documentation/devicetree/bindings/mfd/syscon.yaml
Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml
Documentation/devicetree/bindings/net/snps,dwmac.yaml
Documentation/devicetree/bindings/net/sunplus,sp7021-emac.yaml
Documentation/devicetree/bindings/net/ti,cpsw-switch.yaml
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml
Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml
Documentation/devicetree/bindings/phy/cdns,dphy-rx.yaml
Documentation/devicetree/bindings/phy/cdns,dphy.yaml
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml
Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
Documentation/devicetree/bindings/sound/adi,max98396.yaml
Documentation/devicetree/bindings/sound/audio-graph.yaml
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
MAINTAINERS
Makefile
drivers/of/base.c
drivers/of/fdt.c
drivers/of/unittest.c
scripts/Makefile.lib

index 5750cc06e92313d575f551b43c098aef244abe87,7d7e20e904c56b1cb4198fc8068a19b8ed09b0d8..084960fd5a1fdd6c1162235369690c019ecfe1aa
@@@ -4,10 -4,10 +4,10 @@@
  $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml#
  $schema: http://devicetree.org/meta-schemas/core.yaml#
  
- title: Khadas on-board Microcontroller Device Tree Bindings
+ title: Khadas on-board Microcontroller
  
  maintainers:
 -  - Neil Armstrong <narmstrong@baylibre.com>
 +  - Neil Armstrong <neil.armstrong@linaro.org>
  
  description: |
    Khadas embeds a microcontroller on their VIM and Edge boards adding some
index 04f26196c4c18a3d878b6784153f5c8e98c520f5,0000000000000000000000000000000000000000..741c66ee06c3733575b5a07805e375d074775c28
mode 100644,000000..100644
--- /dev/null
@@@ -1,99 -1,0 +1,99 @@@
- title: Intel LGM SoC NAND Controller Device Tree Bindings
 +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 +%YAML 1.2
 +---
 +$id: http://devicetree.org/schemas/mtd/intel,lgm-ebunand.yaml#
 +$schema: http://devicetree.org/meta-schemas/core.yaml#
 +
++title: Intel LGM SoC NAND Controller
 +
 +allOf:
 +  - $ref: "nand-controller.yaml"
 +
 +maintainers:
 +  - Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
 +
 +properties:
 +  compatible:
 +    const: intel,lgm-ebunand
 +
 +  reg:
 +    maxItems: 6
 +
 +  reg-names:
 +    items:
 +      - const: ebunand
 +      - const: hsnand
 +      - const: nand_cs0
 +      - const: nand_cs1
 +      - const: addr_sel0
 +      - const: addr_sel1
 +
 +  clocks:
 +    maxItems: 1
 +
 +  dmas:
 +    maxItems: 2
 +
 +  dma-names:
 +    items:
 +      - const: tx
 +      - const: rx
 +
 +  "#address-cells":
 +    const: 1
 +
 +  "#size-cells":
 +    const: 0
 +
 +patternProperties:
 +  "^nand@[a-f0-9]+$":
 +    type: object
 +    properties:
 +      reg:
 +        minimum: 0
 +        maximum: 1
 +
 +      nand-ecc-mode: true
 +
 +      nand-ecc-algo:
 +        const: hw
 +
 +    additionalProperties: false
 +
 +required:
 +  - compatible
 +  - reg
 +  - reg-names
 +  - clocks
 +  - dmas
 +  - dma-names
 +  - "#address-cells"
 +  - "#size-cells"
 +
 +additionalProperties: false
 +
 +examples:
 +  - |
 +    nand-controller@e0f00000 {
 +      compatible = "intel,lgm-ebunand";
 +      reg = <0xe0f00000 0x100>,
 +            <0xe1000000 0x300>,
 +            <0xe1400000 0x8000>,
 +            <0xe1c00000 0x1000>,
 +            <0x17400000 0x4>,
 +            <0x17c00000 0x4>;
 +      reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1",
 +        "addr_sel0", "addr_sel1";
 +      clocks = <&cgu0 125>;
 +      dmas = <&dma0 8>, <&dma0 9>;
 +      dma-names = "tx", "rx";
 +      #address-cells = <1>;
 +      #size-cells = <0>;
 +
 +      nand@0 {
 +        reg = <0>;
 +        nand-ecc-mode = "hw";
 +      };
 +    };
 +
 +...
index 304757bf928177d84254170e24ebfbd2c15a709a,3ac2e361b9b38d7ce65a7df7a1c0f9708ca89122..6a71f694cb554ceaabcb411ec1d14e9668ba95e2
@@@ -4,10 -4,10 +4,10 @@@
  $id: "http://devicetree.org/schemas/net/vertexcom-mse102x.yaml#"
  $schema: "http://devicetree.org/meta-schemas/core.yaml#"
  
- title: The Vertexcom MSE102x (SPI) Device Tree Bindings
+ title: The Vertexcom MSE102x (SPI)
  
  maintainers:
 -  - Stefan Wahren <stefan.wahren@in-tech.com>
 +  - Stefan Wahren <stefan.wahren@chargebyte.com>
  
  description:
    Vertexcom's MSE102x are a family of HomePlug GreenPHY chips.
index d24ec47c038e9451d8bdc447731e3abaab160f1a,a76fba657de1942504ab6f8d1891e3310aa16626..6fdd46ad5a780fa3ce9628ddaf7181f5270824bb
@@@ -4,10 -4,10 +4,10 @@@
  $id: http://devicetree.org/schemas/phy/cdns,dphy-rx.yaml#
  $schema: http://devicetree.org/meta-schemas/core.yaml#
  
- title: Cadence DPHY Rx Device Tree Bindings
+ title: Cadence DPHY Rx
  
  maintainers:
 -  - Pratyush Yadav <p.yadav@ti.com>
 +  - Pratyush Yadav <pratyush@kernel.org>
  
  properties:
    compatible:
index 649e0b953df0064f23fb4ecd1b7781e6aa35dbb8,554b270112fd91a38ce4467ef035c8422a9f9377..6cd9b0f388a43a0b23f997de36a04f6b57a9869c
@@@ -4,10 -4,10 +4,10 @@@
  $id: http://devicetree.org/schemas/phy/cdns,dphy.yaml#
  $schema: http://devicetree.org/meta-schemas/core.yaml#
  
- title: Cadence DPHY Device Tree Bindings
+ title: Cadence DPHY
  
  maintainers:
 -  - Pratyush Yadav <p.yadav@ti.com>
 +  - Pratyush Yadav <pratyush@kernel.org>
  
  properties:
    compatible:
diff --cc MAINTAINERS
Simple merge
diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge