aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/soc/bcm2835/raspberrypi-firmware.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-12-01 16:49:12 -0800
committerEric Anholt <eric@anholt.net>2015-12-21 19:58:03 -0800
commit60d56333e869be6ad6926cdba3ba974512b2183b (patch)
treedae666180747ae6de87e32a2d662a7f237ca0c7b /include/soc/bcm2835/raspberrypi-firmware.h
parentusb: dwc2: fix kernel oops during driver probe (diff)
downloadwireguard-linux-60d56333e869be6ad6926cdba3ba974512b2183b.tar.xz
wireguard-linux-60d56333e869be6ad6926cdba3ba974512b2183b.zip
ARM: bcm2835: Define two new packets from the latest firmware.
These packets give us direct access to the firmware's power management code, as opposed to GET/SET_POWER_STATE packets that only had a couple of domains implemented. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'include/soc/bcm2835/raspberrypi-firmware.h')
-rw-r--r--include/soc/bcm2835/raspberrypi-firmware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h
index c07d74aa39bf..3fb357193f09 100644
--- a/include/soc/bcm2835/raspberrypi-firmware.h
+++ b/include/soc/bcm2835/raspberrypi-firmware.h
@@ -72,10 +72,12 @@ enum rpi_firmware_property_tag {
RPI_FIRMWARE_SET_ENABLE_QPU = 0x00030012,
RPI_FIRMWARE_GET_DISPMANX_RESOURCE_MEM_HANDLE = 0x00030014,
RPI_FIRMWARE_GET_EDID_BLOCK = 0x00030020,
+ RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
RPI_FIRMWARE_SET_TURBO = 0x00038009,
+ RPI_FIRMWARE_SET_DOMAIN_STATE = 0x00038030,
/* Dispmanx TAGS */
RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,