Pull Devicetree updates from Rob Herring: - Improve device links cycle detection and breaking. Add more bindings for device link dependencies. - Refactor parsing 'no-map' in __reserved_mem_alloc_size() - Improve DT unittest 'ranges' and 'dma-ranges' test case to check differing cell sizes - Various http to https link conversions - Add a schema check to prevent 'syscon' from being used by itself without a more specific compatible - A bunch more DT binding conversions to schema * tag 'devicetree-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (55 commits) of: reserved-memory: remove duplicated call to of_get_flat_dt_prop() for no-map node of: unittest: Use bigger address cells to catch parser regressions dt-bindings: memory-controllers: Convert mmdc to json-schema dt-bindings: mtd: Convert imx nand to json-schema dt-bindings: mtd: Convert gpmi nand to json-schema dt-bindings: iio: io-channel-mux: Fix compatible string in example code of: property: Add device link support for pinctrl-0 through pinctrl-8 of: property: Add device link support for multiple DT bindings dt-bindings: phy: ti: phy-gmii-sel: convert bindings to json-schema dt-bindings: mux: mux.h: drop a duplicated word dt-bindings: misc: Convert olpc,xo1.75-ec to json-schema dt-bindings: aspeed-lpc: Replace HTTP links with HTTPS ones dt-bindings: drm/bridge: Replace HTTP links with HTTPS ones drm/tilcdc: Replace HTTP links with HTTPS ones dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a774e1 support dt-bindings: fpga: Replace HTTP links with HTTPS ones dt-bindings: virtio: Replace HTTP links with HTTPS ones dt-bindings: media: imx274: Add optional input clock and supplies dt-bindings: i2c-gpio: Use 'deprecated' keyword on deprecated properties dt-bindings: interrupt-controller: Fix typos in loongson,liointc.yaml ...
87 lines
2.1 KiB
YAML
87 lines
2.1 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mfd/syscon.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: System Controller Registers R/W Device Tree Bindings
|
|
|
|
description: |
|
|
System controller node represents a register region containing a set
|
|
of miscellaneous registers. The registers are not cohesive enough to
|
|
represent as any specific type of device. The typical use-case is
|
|
for some other node's driver, or platform-specific code, to acquire
|
|
a reference to the syscon node (e.g. by phandle, node path, or
|
|
search using a specific compatible value), interrogate the node (or
|
|
associated OS driver) to determine the location of the registers,
|
|
and access the registers directly.
|
|
|
|
maintainers:
|
|
- Lee Jones <lee.jones@linaro.org>
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- syscon
|
|
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
compatible:
|
|
anyOf:
|
|
- items:
|
|
- enum:
|
|
- allwinner,sun8i-a83t-system-controller
|
|
- allwinner,sun8i-h3-system-controller
|
|
- allwinner,sun8i-v3s-system-controller
|
|
- allwinner,sun50i-a64-system-controller
|
|
- microchip,sparx5-cpu-syscon
|
|
- mstar,msc313-pmsleep
|
|
|
|
- const: syscon
|
|
|
|
- contains:
|
|
const: syscon
|
|
minItems: 2
|
|
maxItems: 4 # Should be enough
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
reg-io-width:
|
|
description: |
|
|
The size (in bytes) of the IO accesses that should be performed
|
|
on the device.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum: [1, 2, 4, 8]
|
|
|
|
hwlocks:
|
|
maxItems: 1
|
|
description:
|
|
Reference to a phandle of a hardware spinlock provider node.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
syscon: syscon@1c00000 {
|
|
compatible = "allwinner,sun8i-h3-system-controller", "syscon";
|
|
reg = <0x01c00000 0x1000>;
|
|
};
|
|
|
|
- |
|
|
gpr: iomuxc-gpr@20e0000 {
|
|
compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
|
|
reg = <0x020e0000 0x38>;
|
|
hwlocks = <&hwlock1 1>;
|
|
};
|
|
|
|
...
|