Commit a01fe7ec authored by Linus Torvalds's avatar Linus Torvalds

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

Pull devicetree fixes from Rob Herring:

 - Fixes for unevaluatedProperties warnings.

   These were missed to due to a bug in dtschema which is now fixed. The
   changes involve either adding missing properties or removing spurious
   properties from examples.

 - Update several Qualcomm binding maintainer email addresses

 - Fix typo in imx8mp-media-blk-ctrl example

 - Fix fixed string pattern in qcom,smd

 - Correct the order of 'reg' entries in Xilinx PCI binding

* tag 'devicetree-fixes-for-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference
  dt-bindings: memory-controllers: ingenic: Split out child node properties
  dt-bindings: net/dsa: Add spi-peripheral-props.yaml references
  dt-bindings: PCI: apple: Add missing 'power-domains' property
  dt-bindings: Update Sibi Sankar's email address
  dt-bindings: clock: Update my email address
  dt-bindings: PCI: xilinx-cpm: Fix reg property order
  dt-bindings: net: Fix unevaluatedProperties warnings in examples
  dt-bindings: PCI: socionext,uniphier-pcie: Add missing child interrupt controller
  dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property
  dt-bindings: soc: imx8mp-media-blk-ctrl: Fix DT example
  dt-bindings: soc: qcom,smd: do not use pattern for simple rpm-requests string
parents 9af13088 987cf300
...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Multimedia Clock & Reset Controller Binding title: Qualcomm Multimedia Clock & Reset Controller Binding
maintainers: maintainers:
- Jeffrey Hugo <jhugo@codeaurora.org> - Jeffrey Hugo <quic_jhugo@quicinc.com>
- Taniya Das <tdas@codeaurora.org> - Taniya Das <tdas@codeaurora.org>
description: | description: |
......
...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider
maintainers: maintainers:
- Sibi Sankar <sibis@codeaurora.org> - Sibi Sankar <quic_sibis@quicinc.com>
description: description:
L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM.
......
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/ingenic,nemc-peripherals.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Ingenic SoCs NAND / External Memory Controller (NEMC) devicetree bindings
maintainers:
- Paul Cercueil <paul@crapouillou.net>
properties:
reg:
minItems: 1
maxItems: 255
ingenic,nemc-bus-width:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [8, 16]
description: Specifies the bus width in bits.
ingenic,nemc-tAS:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address setup time in nanoseconds.
ingenic,nemc-tAH:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address hold time in nanoseconds.
ingenic,nemc-tBP:
$ref: /schemas/types.yaml#/definitions/uint32
description: Burst pitch time in nanoseconds.
ingenic,nemc-tAW:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address wait time in nanoseconds.
ingenic,nemc-tSTRV:
$ref: /schemas/types.yaml#/definitions/uint32
description: Static memory recovery time in nanoseconds.
required:
- reg
additionalProperties: true
...
...@@ -39,38 +39,6 @@ properties: ...@@ -39,38 +39,6 @@ properties:
patternProperties: patternProperties:
".*@[0-9]+$": ".*@[0-9]+$":
type: object type: object
properties:
reg:
minItems: 1
maxItems: 255
ingenic,nemc-bus-width:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [8, 16]
description: Specifies the bus width in bits.
ingenic,nemc-tAS:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address setup time in nanoseconds.
ingenic,nemc-tAH:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address hold time in nanoseconds.
ingenic,nemc-tBP:
$ref: /schemas/types.yaml#/definitions/uint32
description: Burst pitch time in nanoseconds.
ingenic,nemc-tAW:
$ref: /schemas/types.yaml#/definitions/uint32
description: Address wait time in nanoseconds.
ingenic,nemc-tSTRV:
$ref: /schemas/types.yaml#/definitions/uint32
description: Static memory recovery time in nanoseconds.
required:
- reg
required: required:
- compatible - compatible
......
...@@ -11,6 +11,7 @@ maintainers: ...@@ -11,6 +11,7 @@ maintainers:
allOf: allOf:
- $ref: nand-controller.yaml# - $ref: nand-controller.yaml#
- $ref: /schemas/memory-controllers/ingenic,nemc-peripherals.yaml#
properties: properties:
compatible: compatible:
......
...@@ -11,6 +11,7 @@ maintainers: ...@@ -11,6 +11,7 @@ maintainers:
allOf: allOf:
- $ref: "nand-chip.yaml#" - $ref: "nand-chip.yaml#"
- $ref: /schemas/spi/spi-peripheral-props.yaml#
properties: properties:
compatible: compatible:
......
...@@ -191,7 +191,6 @@ examples: ...@@ -191,7 +191,6 @@ examples:
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#stream-id-cells = <1>;
iommus = <&smmu 0x875>; iommus = <&smmu 0x875>;
power-domains = <&zynqmp_firmware PD_ETH_1>; power-domains = <&zynqmp_firmware PD_ETH_1>;
resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
......
...@@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom BCM53xx Ethernet switches title: Broadcom BCM53xx Ethernet switches
allOf:
- $ref: dsa.yaml#
maintainers: maintainers:
- Florian Fainelli <f.fainelli@gmail.com> - Florian Fainelli <f.fainelli@gmail.com>
...@@ -68,53 +65,71 @@ required: ...@@ -68,53 +65,71 @@ required:
- compatible - compatible
- reg - reg
# BCM585xx/586xx/88312 SoCs allOf:
if: - $ref: dsa.yaml#
properties: - if:
compatible: properties:
contains: compatible:
enum: contains:
- brcm,bcm58522-srab enum:
- brcm,bcm58523-srab - brcm,bcm5325
- brcm,bcm58525-srab - brcm,bcm53115
- brcm,bcm58622-srab - brcm,bcm53125
- brcm,bcm58623-srab - brcm,bcm53128
- brcm,bcm58625-srab - brcm,bcm5365
- brcm,bcm88312-srab - brcm,bcm5395
then: - brcm,bcm5397
properties: - brcm,bcm5398
reg: then:
minItems: 3 $ref: /schemas/spi/spi-peripheral-props.yaml
maxItems: 3
reg-names: # BCM585xx/586xx/88312 SoCs
items: - if:
- const: srab properties:
- const: mux_config compatible:
- const: sgmii_config contains:
interrupts: enum:
minItems: 13 - brcm,bcm58522-srab
maxItems: 13 - brcm,bcm58523-srab
interrupt-names: - brcm,bcm58525-srab
items: - brcm,bcm58622-srab
- const: link_state_p0 - brcm,bcm58623-srab
- const: link_state_p1 - brcm,bcm58625-srab
- const: link_state_p2 - brcm,bcm88312-srab
- const: link_state_p3 then:
- const: link_state_p4 properties:
- const: link_state_p5 reg:
- const: link_state_p7 minItems: 3
- const: link_state_p8 maxItems: 3
- const: phy reg-names:
- const: ts items:
- const: imp_sleep_timer_p5 - const: srab
- const: imp_sleep_timer_p7 - const: mux_config
- const: imp_sleep_timer_p8 - const: sgmii_config
required: interrupts:
- interrupts minItems: 13
else: maxItems: 13
properties: interrupt-names:
reg: items:
maxItems: 1 - const: link_state_p0
- const: link_state_p1
- const: link_state_p2
- const: link_state_p3
- const: link_state_p4
- const: link_state_p5
- const: link_state_p7
- const: link_state_p8
- const: phy
- const: ts
- const: imp_sleep_timer_p5
- const: imp_sleep_timer_p7
- const: imp_sleep_timer_p8
required:
- interrupts
else:
properties:
reg:
maxItems: 1
unevaluatedProperties: false unevaluatedProperties: false
......
...@@ -12,6 +12,7 @@ maintainers: ...@@ -12,6 +12,7 @@ maintainers:
allOf: allOf:
- $ref: dsa.yaml# - $ref: dsa.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml#
properties: properties:
# See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional # See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
......
...@@ -14,6 +14,7 @@ description: ...@@ -14,6 +14,7 @@ description:
allOf: allOf:
- $ref: "dsa.yaml#" - $ref: "dsa.yaml#"
- $ref: /schemas/spi/spi-peripheral-props.yaml#
maintainers: maintainers:
- Vladimir Oltean <vladimir.oltean@nxp.com> - Vladimir Oltean <vladimir.oltean@nxp.com>
......
...@@ -108,6 +108,7 @@ if: ...@@ -108,6 +108,7 @@ if:
- reg - reg
then: then:
$ref: /schemas/spi/spi-peripheral-props.yaml#
not: not:
required: required:
- mdc-gpios - mdc-gpios
......
...@@ -27,6 +27,9 @@ properties: ...@@ -27,6 +27,9 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
clocks: true
clock-names: true
interrupts: interrupts:
minItems: 3 minItems: 3
maxItems: 4 maxItems: 4
......
...@@ -58,6 +58,9 @@ properties: ...@@ -58,6 +58,9 @@ properties:
- const: rmii_internal - const: rmii_internal
- const: mac_cg - const: mac_cg
power-domains:
maxItems: 1
mediatek,pericfg: mediatek,pericfg:
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
......
...@@ -51,7 +51,7 @@ properties: ...@@ -51,7 +51,7 @@ properties:
description: description:
Specify the consys reset for mt7986. Specify the consys reset for mt7986.
reset-name: reset-names:
const: consys const: consys
mediatek,infracfg: mediatek,infracfg:
......
...@@ -68,6 +68,9 @@ properties: ...@@ -68,6 +68,9 @@ properties:
iommu-map: true iommu-map: true
iommu-map-mask: true iommu-map-mask: true
power-domains:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -134,7 +137,7 @@ examples: ...@@ -134,7 +137,7 @@ examples:
ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>, ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>,
<0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>; <0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>;
power-domains = <&ps_apcie>, <&ps_apcie_gp>, <&ps_pcie_ref>; power-domains = <&ps_apcie_gp>;
pinctrl-0 = <&pcie_pins>; pinctrl-0 = <&pcie_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -51,6 +51,19 @@ properties: ...@@ -51,6 +51,19 @@ properties:
phy-names: phy-names:
const: pcie-phy const: pcie-phy
interrupt-controller:
type: object
additionalProperties: false
properties:
interrupt-controller: true
'#interrupt-cells':
const: 1
interrupts:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -62,6 +75,13 @@ unevaluatedProperties: false ...@@ -62,6 +75,13 @@ unevaluatedProperties: false
examples: examples:
- | - |
bus {
gic: interrupt-controller {
interrupt-controller;
#interrupt-cells = <3>;
};
};
pcie: pcie@66000000 { pcie: pcie@66000000 {
compatible = "socionext,uniphier-pcie"; compatible = "socionext,uniphier-pcie";
reg-names = "dbi", "link", "config"; reg-names = "dbi", "link", "config";
...@@ -80,6 +100,7 @@ examples: ...@@ -80,6 +100,7 @@ examples:
phys = <&pcie_phy>; phys = <&pcie_phy>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-names = "dma", "msi"; interrupt-names = "dma", "msi";
interrupt-parent = <&gic>;
interrupts = <0 224 4>, <0 225 4>; interrupts = <0 224 4>, <0 225 4>;
interrupt-map-mask = <0 0 0 7>; interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &pcie_intc 0>, interrupt-map = <0 0 0 1 &pcie_intc 0>,
...@@ -87,7 +108,7 @@ examples: ...@@ -87,7 +108,7 @@ examples:
<0 0 0 3 &pcie_intc 2>, <0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>; <0 0 0 4 &pcie_intc 3>;
pcie_intc: legacy-interrupt-controller { pcie_intc: interrupt-controller {
interrupt-controller; interrupt-controller;
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
......
...@@ -18,13 +18,13 @@ properties: ...@@ -18,13 +18,13 @@ properties:
reg: reg:
items: items:
- description: Configuration space region and bridge registers.
- description: CPM system level control and status registers. - description: CPM system level control and status registers.
- description: Configuration space region and bridge registers.
reg-names: reg-names:
items: items:
- const: cfg
- const: cpm_slcr - const: cpm_slcr
- const: cfg
interrupts: interrupts:
maxItems: 1 maxItems: 1
...@@ -86,9 +86,9 @@ examples: ...@@ -86,9 +86,9 @@ examples:
ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>, ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>,
<0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>; <0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>;
msi-map = <0x0 &its_gic 0x0 0x10000>; msi-map = <0x0 &its_gic 0x0 0x10000>;
reg = <0x6 0x00000000 0x0 0x10000000>, reg = <0x0 0xfca10000 0x0 0x1000>,
<0x0 0xfca10000 0x0 0x1000>; <0x6 0x00000000 0x0 0x10000000>;
reg-names = "cfg", "cpm_slcr"; reg-names = "cpm_slcr", "cfg";
pcie_intc_0: interrupt-controller { pcie_intc_0: interrupt-controller {
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm AOSS Reset Controller title: Qualcomm AOSS Reset Controller
maintainers: maintainers:
- Sibi Sankar <sibis@codeaurora.org> - Sibi Sankar <quic_sibis@quicinc.com>
description: description:
The bindings describe the reset-controller found on AOSS-CC (always on The bindings describe the reset-controller found on AOSS-CC (always on
......
...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm PDC Global title: Qualcomm PDC Global
maintainers: maintainers:
- Sibi Sankar <sibis@codeaurora.org> - Sibi Sankar <quic_sibis@quicinc.com>
description: description:
The bindings describes the reset-controller found on PDC-Global (Power Domain The bindings describes the reset-controller found on PDC-Global (Power Domain
......
...@@ -88,7 +88,7 @@ examples: ...@@ -88,7 +88,7 @@ examples:
<&mediamix_pd>, <&ispdwp_pd>, <&ispdwp_pd>, <&mediamix_pd>, <&ispdwp_pd>, <&ispdwp_pd>,
<&mipi_phy2_pd>; <&mipi_phy2_pd>;
power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", "lcdif1", "isi", power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", "lcdif1", "isi",
"mipi-csi2", "lcdif2", "isp1", "dwe", "mipi-dsi2"; "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2";
clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>, clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>,
<&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
<&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>, <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>,
......
...@@ -66,9 +66,7 @@ patternProperties: ...@@ -66,9 +66,7 @@ patternProperties:
The identifier for the remote processor as known by the rest of the The identifier for the remote processor as known by the rest of the
system. system.
# Binding for edge subnodes is not complete rpm-requests:
patternProperties:
"^rpm-requests$":
type: object type: object
description: description:
In turn, subnodes of the "edges" represent devices tied to SMD In turn, subnodes of the "edges" represent devices tied to SMD
......
...@@ -68,6 +68,8 @@ properties: ...@@ -68,6 +68,8 @@ properties:
- enum: [bus_early, ref, suspend] - enum: [bus_early, ref, suspend]
- true - true
dma-coherent: true
iommus: iommus:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment