0264-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. From e87c05bd439fa2bd69ab809a3d2d89492cf33521 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Tue, 1 Dec 2015 16:49:12 -0800
  4. Subject: [PATCH] ARM: bcm2835: Define two new packets from the latest
  5. firmware.
  6. These packets give us direct access to the firmware's power management
  7. code, as opposed to GET/SET_POWER_STATE packets that only had a couple
  8. of domains implemented.
  9. Signed-off-by: Eric Anholt <eric@anholt.net>
  10. Reviewed-by: Kevin Hilman <khilman@linaro.org>
  11. (cherry picked from commit 60d56333e869be6ad6926cdba3ba974512b2183b)
  12. ---
  13. include/soc/bcm2835/raspberrypi-firmware.h | 2 ++
  14. 1 file changed, 2 insertions(+)
  15. --- a/include/soc/bcm2835/raspberrypi-firmware.h
  16. +++ b/include/soc/bcm2835/raspberrypi-firmware.h
  17. @@ -74,11 +74,13 @@ enum rpi_firmware_property_tag {
  18. RPI_FIRMWARE_GET_DISPMANX_RESOURCE_MEM_HANDLE = 0x00030014,
  19. RPI_FIRMWARE_GET_EDID_BLOCK = 0x00030020,
  20. RPI_FIRMWARE_GET_CUSTOMER_OTP = 0x00030021,
  21. + RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
  22. RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
  23. RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
  24. RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
  25. RPI_FIRMWARE_SET_TURBO = 0x00038009,
  26. RPI_FIRMWARE_SET_CUSTOMER_OTP = 0x00038021,
  27. + RPI_FIRMWARE_SET_DOMAIN_STATE = 0x00038030,
  28. RPI_FIRMWARE_SET_SDHOST_CLOCK = 0x00038042,
  29. /* Dispmanx TAGS */