swiotlb-xen: ensure we have a single callsite for xen_dma_map_page
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / fixed-regulator.txt
1 Fixed Voltage regulators
2
3 Required properties:
4 - compatible: Must be "regulator-fixed";
5 - regulator-name: Defined in regulator.txt as optional, but required here.
6
7 Optional properties:
8 - gpio: gpio to use for enable control
9 - startup-delay-us: startup time in microseconds
10 - enable-active-high: Polarity of GPIO is Active high
11 If this property is missing, the default assumed is Active low.
12 - gpio-open-drain: GPIO is open drain type.
13   If this property is missing then default assumption is false.
14 -vin-supply: Input supply name.
15
16 Any property defined as part of the core regulator
17 binding, defined in regulator.txt, can also be used.
18 However a fixed voltage regulator is expected to have the
19 regulator-min-microvolt and regulator-max-microvolt
20 to be the same.
21
22 Example:
23
24         abc: fixedregulator@0 {
25                 compatible = "regulator-fixed";
26                 regulator-name = "fixed-supply";
27                 regulator-min-microvolt = <1800000>;
28                 regulator-max-microvolt = <1800000>;
29                 gpio = <&gpio1 16 0>;
30                 startup-delay-us = <70000>;
31                 enable-active-high;
32                 regulator-boot-on;
33                 gpio-open-drain;
34                 vin-supply = <&parent_reg>;
35         };