950-0015-firmware-Updated-mailbox-header.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From c74d966572f90fec4f13e0297566c36ed959bd24 Mon Sep 17 00:00:00 2001
  2. From: popcornmix <[email protected]>
  3. Date: Mon, 25 Jan 2016 17:25:12 +0000
  4. Subject: [PATCH 015/782] firmware: Updated mailbox header
  5. ---
  6. include/soc/bcm2835/raspberrypi-firmware.h | 5 +++++
  7. 1 file changed, 5 insertions(+)
  8. --- a/include/soc/bcm2835/raspberrypi-firmware.h
  9. +++ b/include/soc/bcm2835/raspberrypi-firmware.h
  10. @@ -12,6 +12,8 @@
  11. #include <linux/types.h>
  12. #include <linux/of_device.h>
  13. +#define RPI_FIRMWARE_CHAN_FB 1
  14. +
  15. struct rpi_firmware;
  16. enum rpi_firmware_property_status {
  17. @@ -76,6 +78,8 @@ enum rpi_firmware_property_tag {
  18. RPI_FIRMWARE_GET_CUSTOMER_OTP = 0x00030021,
  19. RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
  20. RPI_FIRMWARE_GET_THROTTLED = 0x00030046,
  21. + RPI_FIRMWARE_GET_CLOCK_MEASURED = 0x00030047,
  22. + RPI_FIRMWARE_NOTIFY_REBOOT = 0x00030048,
  23. RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
  24. RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
  25. RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
  26. @@ -158,5 +162,6 @@ static inline struct rpi_firmware *rpi_f
  27. return NULL;
  28. }
  29. #endif
  30. +int rpi_firmware_transaction(struct rpi_firmware *fw, u32 chan, u32 data);
  31. #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */