Define the binding for a system controller used in the Toshiba TC9564 SoC. Co-developed-by: Daniel Thompson <[email protected]> Signed-off-by: Daniel Thompson <[email protected]> Signed-off-by: Alex Elder <[email protected]> --- .../bindings/mfd/toshiba,tc9564.yaml | 56 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/toshiba,tc9564.yaml
diff --git a/Documentation/devicetree/bindings/mfd/toshiba,tc9564.yaml b/Documentation/devicetree/bindings/mfd/toshiba,tc9564.yaml new file mode 100644 index 0000000000000..32e73a727c82a --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/toshiba,tc9564.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/toshiba,tc9564.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba TC9564 System Controller + +maintainers: + - Alex Elder <[email protected]> + - Daniel Thompson <[email protected]> + +description: | + The Toshiba TC9564 is an SoC accessed by a host system through the + upstream PCIe port on the PCIe switch it implements. The switch includes + an embedded PCIe endpoint on one of its downstream ports that provides + access to various SoC peripherals (including a clock and reset controller) + via one of its BARs. A system controller provides managed access to the + first two pages of this memory region to ensure accesses made by these + peripherals produce well-defined results. + +properties: + compatible: + items: + - const: toshiba,tc9564-config + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + syscon@0 { + compatible = "toshiba,tc9564-config", + "syscon", + "simple-mfd"; + reg = <0x0 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; diff --git a/MAINTAINERS b/MAINTAINERS index cf846853fdc79..b2d3257b8f892 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -27674,6 +27674,7 @@ TOSHIBA TC9564 PCI DRIVER M: Alex Elder <[email protected]> M: Daniel Thompson <[email protected]> S: Maintained +F: Documentation/devicetree/bindings/mfd/toshiba,tc9564.yaml F: Documentation/devicetree/bindings/misc/pci1179,0220.yaml F: drivers/misc/tc9564-pci.c -- 2.53.0

