ARM: bcm2835: Define two new packets from the latest firmware.
authorEric Anholt <eric@anholt.net>
Wed, 2 Dec 2015 00:49:12 +0000 (16:49 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Dec 2015 03:58:03 +0000 (19:58 -0800)
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>
include/soc/bcm2835/raspberrypi-firmware.h

index c07d74aa39bfa82b5c1da19bb01294ee48310ea4..3fb357193f09914fe21f8555a4b8613f74f22bc3 100644 (file)
@@ -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,