mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the same size as the list is redundant and can be dropped. Note that is DT schema specific behavior and not standard json-schema behavior. The tooling will fixup the final schema adding any unspecified minItems/maxItems. This condition is partially checked with the meta-schema already, but only if both 'minItems' and 'maxItems' are equal to the 'items' length. An improved meta-schema is pending. Cc: Jens Axboe <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Herbert Xu <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Wolfgang Grandegger <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Vivien Didelot <[email protected]> Cc: Vladimir Oltean <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: Linus Walleij <[email protected]> Cc: "Uwe Kleine-König" <[email protected]> Cc: Lee Jones <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Albert Ou <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Rob Herring <[email protected]> Acked-by: Marc Kleine-Budde <[email protected]> Acked-by: Ulf Hansson <[email protected]> # for MMC Acked-by: Jassi Brar <[email protected]> Acked-By: Vinod Koul <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Arnaud Pouliquen <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Philipp Zabel <[email protected]> Acked-by: Wolfram Sang <[email protected]> # for I2C Acked-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected]
82 lines
2.0 KiB
YAML
82 lines
2.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reset/fsl,imx-src.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale i.MX System Reset Controller
|
|
|
|
maintainers:
|
|
- Philipp Zabel <[email protected]>
|
|
|
|
description: |
|
|
The system reset controller can be used to reset the GPU, VPU,
|
|
IPU, and OpenVG IP modules on i.MX5 and i.MX6 ICs. Those device
|
|
nodes should specify the reset line on the SRC in their resets
|
|
property, containing a phandle to the SRC device node and a
|
|
RESET_INDEX specifying which module to reset, as described in
|
|
reset.txt
|
|
|
|
The following RESET_INDEX values are valid for i.MX5:
|
|
GPU_RESET 0
|
|
VPU_RESET 1
|
|
IPU1_RESET 2
|
|
OPEN_VG_RESET 3
|
|
The following additional RESET_INDEX value is valid for i.MX6:
|
|
IPU2_RESET 4
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx50-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx53-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx6q-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx6sx-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx6sl-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx6ul-src"
|
|
- const: "fsl,imx51-src"
|
|
- items:
|
|
- const: "fsl,imx6sll-src"
|
|
- const: "fsl,imx51-src"
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
items:
|
|
- description: SRC interrupt
|
|
- description: CPU WDOG interrupts out of SRC
|
|
minItems: 1
|
|
|
|
'#reset-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- '#reset-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
reset-controller@73fd0000 {
|
|
compatible = "fsl,imx51-src";
|
|
reg = <0x73fd0000 0x4000>;
|
|
interrupts = <75>;
|
|
#reset-cells = <1>;
|
|
};
|