Merge tag 'for-5.14-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mfd / xylon,logicvc.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 Bootlin
3 %YAML 1.2
4 ---
5 $id: "http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8 title: Xylon LogiCVC multi-function device
9
10 maintainers:
11   - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
12
13 description: |
14   The LogiCVC is a display controller that also contains a GPIO controller.
15   As a result, a multi-function device is exposed as parent of the display
16   and GPIO blocks.
17
18 properties:
19   compatible:
20     items:
21       - enum:
22           - xylon,logicvc-3.02.a
23       - const: syscon
24       - const: simple-mfd
25
26   reg:
27     maxItems: 1
28
29   '#address-cells':
30     const: 1
31
32   '#size-cells':
33     const: 1
34
35 select:
36   properties:
37     compatible:
38       contains:
39         enum:
40           - xylon,logicvc-3.02.a
41
42   required:
43     - compatible
44
45 patternProperties:
46   "^gpio@[0-9a-f]+$":
47     $ref: /schemas/gpio/xylon,logicvc-gpio.yaml#
48
49 required:
50   - compatible
51   - reg
52
53 additionalProperties: false
54
55 examples:
56   - |
57     logicvc: logicvc@43c00000 {
58       compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
59       reg = <0x43c00000 0x6000>;
60     };