Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mmc / synopsys-dw-mshc-common.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Synopsys Designware Mobile Storage Host Controller Common Properties
8
9 allOf:
10   - $ref: "mmc-controller.yaml#"
11
12 maintainers:
13   - Ulf Hansson <ulf.hansson@linaro.org>
14
15 # Everything else is described in the common file
16 properties:
17   resets:
18     maxItems: 1
19
20   reset-names:
21     const: reset
22
23   clock-frequency:
24     description:
25       Should be the frequency (in Hz) of the ciu clock.  If this
26       is specified and the ciu clock is specified then we'll try to set the ciu
27       clock to this at probe time.
28
29   fifo-depth:
30     allOf:
31       - $ref: /schemas/types.yaml#/definitions/uint32
32     description:
33       The maximum size of the tx/rx fifo's. If this property is not
34       specified, the default value of the fifo size is determined from the
35       controller registers.
36
37   card-detect-delay:
38     allOf:
39       - $ref: /schemas/types.yaml#/definitions/uint32
40       - default: 0
41     description:
42       Delay in milli-seconds before detecting card after card
43       insert event. The default value is 0.
44
45   data-addr:
46     allOf:
47       - $ref: /schemas/types.yaml#/definitions/uint32
48     description:
49       Override fifo address with value provided by DT. The default FIFO reg
50       offset is assumed as 0x100 (version < 0x240A) and 0x200(version >= 0x240A)
51       by driver. If the controller does not follow this rule, please use
52       this property to set fifo address in device tree.
53
54   fifo-watermark-aligned:
55     allOf:
56       - $ref: /schemas/types.yaml#/definitions/flag
57     description:
58       Data done irq is expected if data length is less than
59       watermark in PIO mode. But fifo watermark is requested to be aligned
60       with data length in some SoC so that TX/RX irq can be generated with
61       data done irq. Add this watermark quirk to mark this requirement and
62       force fifo watermark setting accordingly.
63
64   dmas:
65     maxItems: 1
66
67   dma-names:
68     const: rx-tx