Skip to content

Commit 4c8b338

Browse files
alexaringanholt
authored andcommitted
dt-bindings: add rpi power domain driver bindings
This patch adds devicetree tree bindings for the Raspberry Pi power domain driver. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Reviewed-by: Kevin Hilman <[email protected]>
1 parent 60d5633 commit 4c8b338

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
};

0 commit comments

Comments
 (0)