gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mtd / allwinner,sun4i-a10-nand.yaml
blob5d3fa412aabd3f91b12463af68990517e3466df5
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mtd/allwinner,sun4i-a10-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 NAND Controller Device Tree Bindings
9 allOf:
10   - $ref: "nand-controller.yaml"
12 maintainers:
13   - Chen-Yu Tsai <wens@csie.org>
14   - Maxime Ripard <mripard@kernel.org>
16 properties:
17   "#address-cells": true
18   "#size-cells": true
20   compatible:
21     enum:
22       - allwinner,sun4i-a10-nand
23       - allwinner,sun8i-a23-nand-controller
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   clocks:
31     items:
32       - description: Bus Clock
33       - description: Module Clock
35   clock-names:
36     items:
37       - const: ahb
38       - const: mod
40   resets:
41     maxItems: 1
43   reset-names:
44     const: ahb
46   dmas:
47     maxItems: 1
49   dma-names:
50     const: rxtx
52   pinctrl-names: true
54 patternProperties:
55   "^pinctrl-[0-9]+$": true
57   "^nand@[a-f0-9]+$":
58     type: object
59     properties:
60       reg:
61         minimum: 0
62         maximum: 7
64       nand-ecc-mode: true
66       nand-ecc-algo:
67         const: bch
69       nand-ecc-step-size:
70         enum: [ 512, 1024 ]
72       nand-ecc-strength:
73         maximum: 80
75       allwinner,rb:
76         description:
77           Contains the native Ready/Busy IDs.
78         allOf:
79           - $ref: /schemas/types.yaml#/definitions/uint32-array
80           - minItems: 1
81             maxItems: 2
82             items:
83               minimum: 0
84               maximum: 1
86     additionalProperties: false
88 required:
89   - compatible
90   - reg
91   - interrupts
92   - clocks
93   - clock-names
95 additionalProperties: false
97 ...