brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0268-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch
1 From 2a4c0b0a28d07eec49c0388c83958d41d1b96a34 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 268/304] ARM: bcm2835: Define two new packets from the latest
5 firmware.
6
7 These packets give us direct access to the firmware's power management
8 code, as opposed to GET/SET_POWER_STATE packets that only had a couple
9 of domains implemented.
10
11 Signed-off-by: Eric Anholt <eric@anholt.net>
12 Reviewed-by: Kevin Hilman <khilman@linaro.org>
13 (cherry picked from commit 60d56333e869be6ad6926cdba3ba974512b2183b)
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 @@ -74,11 +74,13 @@ enum rpi_firmware_property_tag {
21 RPI_FIRMWARE_GET_DISPMANX_RESOURCE_MEM_HANDLE = 0x00030014,
22 RPI_FIRMWARE_GET_EDID_BLOCK = 0x00030020,
23 RPI_FIRMWARE_GET_CUSTOMER_OTP = 0x00030021,
24 + RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
25 RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
26 RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
27 RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
28 RPI_FIRMWARE_SET_TURBO = 0x00038009,
29 RPI_FIRMWARE_SET_CUSTOMER_OTP = 0x00038021,
30 + RPI_FIRMWARE_SET_DOMAIN_STATE = 0x00038030,
31 RPI_FIRMWARE_SET_SDHOST_CLOCK = 0x00038042,
32
33 /* Dispmanx TAGS */