Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Pull devicetree fixes from Rob Herring:

- Several Renesas binding fixes to fix warnings

- Remove duplicate compatibles in 8250 binding

- Remove orphaned Sigma Designs Tango bindings

- Fix bcm2711-hdmi binding to use 'additionalProperties'

- Fix idt,32434-pic warning for missing 'interrupts' property

- Fix 'stored but not read' warnings in DT overlay code

* tag 'devicetree-fixes-for-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: net: renesas,etheravb: Fix optional second clock name
dt-bindings: display: renesas,du: Add missing power-domains property
dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
dt-bindings: PCI: rcar-pci-host: Document missing R-Car H1 support
of: overlay: Remove redundant assignment to ret
dt-bindings: serial: 8250: Remove duplicated compatible strings
dt-bindings: Remove unused Sigma Designs Tango bindings
dt-bindings: bcm2711-hdmi: Fix broken schema
dt-bindings: interrupt-controller: idt,32434-pic: Add missing interrupts property

+48 -94
+1 -1
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml
··· 109 109 - resets 110 110 - ddc 111 111 112 - unevaluatedProperties: false 112 + additionalProperties: false 113 113 114 114 examples: 115 115 - |
+3
Documentation/devicetree/bindings/display/renesas,du.yaml
··· 51 51 resets: true 52 52 reset-names: true 53 53 54 + power-domains: 55 + maxItems: 1 56 + 54 57 ports: 55 58 $ref: /schemas/graph.yaml#/properties/port 56 59 description: |
+4
Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml
··· 22 22 reg: 23 23 maxItems: 1 24 24 25 + interrupts: 26 + maxItems: 1 27 + 25 28 interrupt-controller: true 26 29 27 30 required: ··· 32 29 - compatible 33 30 - reg 34 31 - interrupt-controller 32 + - interrupts 35 33 36 34 additionalProperties: false 37 35
+28 -16
Documentation/devicetree/bindings/media/renesas,vin.yaml
··· 193 193 - interrupts 194 194 - clocks 195 195 - power-domains 196 - - resets 197 196 198 - if: 199 - properties: 200 - compatible: 201 - contains: 202 - enum: 203 - - renesas,vin-r8a7778 204 - - renesas,vin-r8a7779 205 - - renesas,rcar-gen2-vin 206 - then: 207 - required: 208 - - port 209 - else: 210 - required: 211 - - renesas,id 212 - - ports 197 + allOf: 198 + - if: 199 + not: 200 + properties: 201 + compatible: 202 + contains: 203 + enum: 204 + - renesas,vin-r8a7778 205 + - renesas,vin-r8a7779 206 + then: 207 + required: 208 + - resets 209 + 210 + - if: 211 + properties: 212 + compatible: 213 + contains: 214 + enum: 215 + - renesas,vin-r8a7778 216 + - renesas,vin-r8a7779 217 + - renesas,rcar-gen2-vin 218 + then: 219 + required: 220 + - port 221 + else: 222 + required: 223 + - renesas,id 224 + - ports 213 225 214 226 additionalProperties: false 215 227
-38
Documentation/devicetree/bindings/mtd/tango-nand.txt
··· 1 - Sigma Designs Tango4 NAND Flash Controller (NFC) 2 - 3 - Required properties: 4 - 5 - - compatible: "sigma,smp8758-nand" 6 - - reg: address/size of nfc_reg, nfc_mem, and pbus_reg 7 - - dmas: reference to the DMA channel used by the controller 8 - - dma-names: "rxtx" 9 - - clocks: reference to the system clock 10 - - #address-cells: <1> 11 - - #size-cells: <0> 12 - 13 - Children nodes represent the available NAND chips. 14 - See Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings. 15 - 16 - Example: 17 - 18 - nandc: nand-controller@2c000 { 19 - compatible = "sigma,smp8758-nand"; 20 - reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>; 21 - dmas = <&dma0 3>; 22 - dma-names = "rxtx"; 23 - clocks = <&clkgen SYS_CLK>; 24 - #address-cells = <1>; 25 - #size-cells = <0>; 26 - 27 - nand@0 { 28 - reg = <0>; /* CS0 */ 29 - nand-ecc-strength = <14>; 30 - nand-ecc-step-size = <1024>; 31 - }; 32 - 33 - nand@1 { 34 - reg = <1>; /* CS1 */ 35 - nand-ecc-strength = <14>; 36 - nand-ecc-step-size = <1024>; 37 - }; 38 - };
+1 -1
Documentation/devicetree/bindings/net/renesas,etheravb.yaml
··· 51 51 52 52 clocks: 53 53 minItems: 1 54 - maxItems: 2 55 54 items: 56 55 - description: AVB functional clock 57 56 - description: Optional TXC reference clock 58 57 59 58 clock-names: 59 + minItems: 1 60 60 items: 61 61 - const: fck 62 62 - const: refclk
+11 -1
Documentation/devicetree/bindings/pci/rcar-pci-host.yaml
··· 17 17 properties: 18 18 compatible: 19 19 oneOf: 20 + - const: renesas,pcie-r8a7779 # R-Car H1 20 21 - items: 21 22 - enum: 22 23 - renesas,pcie-r8a7742 # RZ/G1H ··· 75 74 - clocks 76 75 - clock-names 77 76 - power-domains 78 - - resets 77 + 78 + if: 79 + not: 80 + properties: 81 + compatible: 82 + contains: 83 + const: renesas,pcie-r8a7779 84 + then: 85 + required: 86 + - resets 79 87 80 88 unevaluatedProperties: false 81 89
-29
Documentation/devicetree/bindings/pci/tango-pcie.txt
··· 1 - Sigma Designs Tango PCIe controller 2 - 3 - Required properties: 4 - 5 - - compatible: "sigma,smp8759-pcie" 6 - - reg: address/size of PCI configuration space, address/size of register area 7 - - bus-range: defined by size of PCI configuration space 8 - - device_type: "pci" 9 - - #size-cells: <2> 10 - - #address-cells: <3> 11 - - msi-controller 12 - - ranges: translation from system to bus addresses 13 - - interrupts: spec for misc interrupts, spec for MSI 14 - 15 - Example: 16 - 17 - pcie@2e000 { 18 - compatible = "sigma,smp8759-pcie"; 19 - reg = <0x50000000 0x400000>, <0x2e000 0x100>; 20 - bus-range = <0 3>; 21 - device_type = "pci"; 22 - #size-cells = <2>; 23 - #address-cells = <3>; 24 - msi-controller; 25 - ranges = <0x02000000 0x0 0x00400000 0x50400000 0x0 0x3c00000>; 26 - interrupts = 27 - <54 IRQ_TYPE_LEVEL_HIGH>, /* misc interrupts */ 28 - <55 IRQ_TYPE_LEVEL_HIGH>; /* MSI */ 29 - };
-5
Documentation/devicetree/bindings/serial/8250.yaml
··· 100 100 - mediatek,mt7623-btif 101 101 - const: mediatek,mtk-btif 102 102 - items: 103 - - enum: 104 - - mediatek,mt7622-btif 105 - - mediatek,mt7623-btif 106 - - const: mediatek,mtk-btif 107 - - items: 108 103 - const: mrvl,mmp-uart 109 104 - const: intel,xscale-uart 110 105 - items:
-3
drivers/of/overlay.c
··· 1024 1024 struct device_node *overlay_root = NULL; 1025 1025 1026 1026 *ovcs_id = 0; 1027 - ret = 0; 1028 1027 1029 1028 if (overlay_fdt_size < sizeof(struct fdt_header) || 1030 1029 fdt_check_header(overlay_fdt)) { ··· 1193 1194 { 1194 1195 struct overlay_changeset *ovcs; 1195 1196 int ret, ret_apply, ret_tmp; 1196 - 1197 - ret = 0; 1198 1197 1199 1198 if (devicetree_corrupt()) { 1200 1199 pr_err("suspect devicetree state, refuse to remove overlay\n");