14c8b338fSAlexander AringRaspberry Pi power domain driver
24c8b338fSAlexander Aring
34c8b338fSAlexander AringRequired properties:
44c8b338fSAlexander Aring
54c8b338fSAlexander Aring- compatible:		Should be "raspberrypi,bcm2835-power".
64c8b338fSAlexander Aring- firmware:		Reference to the RPi firmware device node.
74c8b338fSAlexander Aring- #power-domain-cells:	Should be <1>, we providing multiple power domains.
84c8b338fSAlexander Aring
94c8b338fSAlexander AringThe valid defines for power domain are:
104c8b338fSAlexander Aring
114c8b338fSAlexander Aring RPI_POWER_DOMAIN_I2C0
124c8b338fSAlexander Aring RPI_POWER_DOMAIN_I2C1
134c8b338fSAlexander Aring RPI_POWER_DOMAIN_I2C2
144c8b338fSAlexander Aring RPI_POWER_DOMAIN_VIDEO_SCALER
154c8b338fSAlexander Aring RPI_POWER_DOMAIN_VPU1
164c8b338fSAlexander Aring RPI_POWER_DOMAIN_HDMI
174c8b338fSAlexander Aring RPI_POWER_DOMAIN_USB
184c8b338fSAlexander Aring RPI_POWER_DOMAIN_VEC
194c8b338fSAlexander Aring RPI_POWER_DOMAIN_JPEG
204c8b338fSAlexander Aring RPI_POWER_DOMAIN_H264
214c8b338fSAlexander Aring RPI_POWER_DOMAIN_V3D
224c8b338fSAlexander Aring RPI_POWER_DOMAIN_ISP
234c8b338fSAlexander Aring RPI_POWER_DOMAIN_UNICAM0
244c8b338fSAlexander Aring RPI_POWER_DOMAIN_UNICAM1
254c8b338fSAlexander Aring RPI_POWER_DOMAIN_CCP2RX
264c8b338fSAlexander Aring RPI_POWER_DOMAIN_CSI2
274c8b338fSAlexander Aring RPI_POWER_DOMAIN_CPI
284c8b338fSAlexander Aring RPI_POWER_DOMAIN_DSI0
294c8b338fSAlexander Aring RPI_POWER_DOMAIN_DSI1
304c8b338fSAlexander Aring RPI_POWER_DOMAIN_TRANSPOSER
314c8b338fSAlexander Aring RPI_POWER_DOMAIN_CCP2TX
324c8b338fSAlexander Aring RPI_POWER_DOMAIN_CDP
334c8b338fSAlexander Aring RPI_POWER_DOMAIN_ARM
344c8b338fSAlexander Aring
354c8b338fSAlexander AringExample:
364c8b338fSAlexander Aring
374c8b338fSAlexander Aringpower: power {
384c8b338fSAlexander Aring	compatible = "raspberrypi,bcm2835-power";
394c8b338fSAlexander Aring	firmware = <&firmware>;
404c8b338fSAlexander Aring	#power-domain-cells = <1>;
414c8b338fSAlexander Aring};
424c8b338fSAlexander Aring
434c8b338fSAlexander AringExample for using power domain:
444c8b338fSAlexander Aring
454c8b338fSAlexander Aring&usb {
464c8b338fSAlexander Aring       power-domains = <&power RPI_POWER_DOMAIN_USB>;
474c8b338fSAlexander Aring};
48