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