diff options
-rw-r--r-- | Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt b/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt new file mode 100644 index 000000000000..30942cf7992b --- /dev/null +++ b/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | Raspberry Pi power domain driver | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible: Should be "raspberrypi,bcm2835-power". | ||
6 | - firmware: Reference to the RPi firmware device node. | ||
7 | - #power-domain-cells: Should be <1>, we providing multiple power domains. | ||
8 | |||
9 | The valid defines for power domain are: | ||
10 | |||
11 | RPI_POWER_DOMAIN_I2C0 | ||
12 | RPI_POWER_DOMAIN_I2C1 | ||
13 | RPI_POWER_DOMAIN_I2C2 | ||
14 | RPI_POWER_DOMAIN_VIDEO_SCALER | ||
15 | RPI_POWER_DOMAIN_VPU1 | ||
16 | RPI_POWER_DOMAIN_HDMI | ||
17 | RPI_POWER_DOMAIN_USB | ||
18 | RPI_POWER_DOMAIN_VEC | ||
19 | RPI_POWER_DOMAIN_JPEG | ||
20 | RPI_POWER_DOMAIN_H264 | ||
21 | RPI_POWER_DOMAIN_V3D | ||
22 | RPI_POWER_DOMAIN_ISP | ||
23 | RPI_POWER_DOMAIN_UNICAM0 | ||
24 | RPI_POWER_DOMAIN_UNICAM1 | ||
25 | RPI_POWER_DOMAIN_CCP2RX | ||
26 | RPI_POWER_DOMAIN_CSI2 | ||
27 | RPI_POWER_DOMAIN_CPI | ||
28 | RPI_POWER_DOMAIN_DSI0 | ||
29 | RPI_POWER_DOMAIN_DSI1 | ||
30 | RPI_POWER_DOMAIN_TRANSPOSER | ||
31 | RPI_POWER_DOMAIN_CCP2TX | ||
32 | RPI_POWER_DOMAIN_CDP | ||
33 | RPI_POWER_DOMAIN_ARM | ||
34 | |||
35 | Example: | ||
36 | |||
37 | power: power { | ||
38 | compatible = "raspberrypi,bcm2835-power"; | ||
39 | firmware = <&firmware>; | ||
40 | #power-domain-cells = <1>; | ||
41 | }; | ||
42 | |||
43 | Example for using power domain: | ||
44 | |||
45 | &usb { | ||
46 | power-domains = <&power RPI_POWER_DOMAIN_USB>; | ||
47 | }; | ||