ACPI: EC: Rework flushing of pending work
[linux/fpc-iii.git] / Documentation / devicetree / bindings / usb / generic-ohci.yaml
blobbcffec1f1341e502c634bdbde4ebc007c6575f99
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/generic-ohci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: USB OHCI Controller Device Tree Bindings
9 allOf:
10   - $ref: "usb-hcd.yaml"
12 maintainers:
13   - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 properties:
16   compatible:
17     contains:
18       const: generic-ohci
20   reg:
21     maxItems: 1
23   interrupts:
24     maxItems: 1
26   resets:
27     minItems: 1
28     maxItems: 2
30   clocks:
31     minItems: 1
32     maxItems: 3
33     description: |
34       In case the Renesas R-Car Gen3 SoCs:
35         - if a host only channel: first clock should be host.
36         - if a USB DRD channel: first clock should be host and second
37           one should be peripheral
39   big-endian:
40     $ref: /schemas/types.yaml#/definitions/flag
41     description:
42       Set this flag for HCDs with big endian descriptors and big
43       endian registers.
45   big-endian-desc:
46     $ref: /schemas/types.yaml#/definitions/flag
47     description:
48       Set this flag for HCDs with big endian descriptors.
50   big-endian-regs:
51     $ref: /schemas/types.yaml#/definitions/flag
52     description:
53       Set this flag for HCDs with big endian registers.
55   remote-wakeup-connected:
56     $ref: /schemas/types.yaml#/definitions/flag
57     description:
58       Remote wakeup is wired on the platform.
60   no-big-frame-no:
61     $ref: /schemas/types.yaml#/definitions/flag
62     description:
63       Set if frame_no lives in bits [15:0] of HCCA
65   num-ports:
66     $ref: /schemas/types.yaml#/definitions/uint32
67     description:
68       Overrides the detected port count
70   phys:
71     description: PHY specifier for the USB PHY
73   phy-names:
74     const: usb
76 required:
77   - compatible
78   - reg
79   - interrupts
81 additionalProperties: false
83 examples:
84   - |
85       ohci0: usb@1c14400 {
86           compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
87           reg = <0x01c14400 0x100>;
88           interrupts = <64>;
89           clocks = <&usb_clk 6>, <&ahb_gates 2>;
90           phys = <&usbphy 1>;
91           phy-names = "usb";
92       };
94 ...