kernel: bump 4.14 to 4.14.99
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.14 / 950-0302-firmware-raspberrypi-Add-two-new-messages.patch
1 From 9337adb131fdee07328d8686cdb6b5e2a885baa0 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Sat, 12 May 2018 21:23:00 +0100
4 Subject: [PATCH 302/454] firmware/raspberrypi: Add two new messages
5
6 RPI_FIRMWARE_GET_CLOCK_MEASURED is similar to RPI_FIRMWARE_GET_CLOCK,
7 except that it uses a hardware feature to count the clock pulses to
8 measure the real clock speed.
9
10 RPI_FIRMWARE_NOTIFY_REBOOT informs the firmware that the OS is about to
11 reboot, allowing it to make any necessary adjustments.
12
13 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
14 ---
15 include/soc/bcm2835/raspberrypi-firmware.h | 2 ++
16 1 file changed, 2 insertions(+)
17
18 --- a/include/soc/bcm2835/raspberrypi-firmware.h
19 +++ b/include/soc/bcm2835/raspberrypi-firmware.h
20 @@ -78,6 +78,8 @@ enum rpi_firmware_property_tag {
21 RPI_FIRMWARE_GET_CUSTOMER_OTP = 0x00030021,
22 RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
23 RPI_FIRMWARE_GET_THROTTLED = 0x00030046,
24 + RPI_FIRMWARE_GET_CLOCK_MEASURED = 0x00030047,
25 + RPI_FIRMWARE_NOTIFY_REBOOT = 0x00030048,
26 RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
27 RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
28 RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,