Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <alex.aring@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>

authored by

Alexander Aring and committed by
Eric Anholt
4c8b338f 60d56333

+47
+47
Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt
··· 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 + };