Commit Graph
5 Commits
Author SHA1 Message Date
Greg Kroah-Hartman d45f1a563b staging: vc04_services: fix up rpi firmware functions
The raspberrypi-firmware.h file should provide empty functions if we
aren't building in that option.  This makes it easier to test-build
code, and not have odd warnings about unused variables if you just try
to #define away the functions.

Cc: Daniel Stone <[email protected]>
Cc: "Noralf Trønnes" <[email protected]>
Cc: Pranith Kumar <[email protected]>
Cc: popcornmix <[email protected]>
Cc: Eric Anholt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-10-16 10:26:12 +02:00
Eric Anholt e0cb350957 ARM: bcm2835: Add #define for VCHIQ property message.
This comes from the downstream tree and is needed for the new VCHIQ
driver in staging.

Signed-off-by: Eric Anholt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-10-16 10:24:17 +02:00
Eric Anholt 60d56333e8 ARM: bcm2835: Define two new packets from the latest firmware.
These packets give us direct access to the firmware's power management
code, as opposed to GET/SET_POWER_STATE packets that only had a couple
of domains implemented.

Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
2015-12-21 19:58:03 -08:00
Alexander Aring 16134b3bc3 ARM: bcm2835: add mutual inclusion protection
This patch adds mutual inclusion protection for the rpi firmware header.

Cc: Eric Anholt <[email protected]>
Cc: Stephen Warren <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
2015-10-24 13:15:58 -07:00
Eric Anholt 4e3d60656a ARM: bcm2835: Add the Raspberry Pi firmware driver
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.

Signed-off-by: Eric Anholt <[email protected]>
Acked-by: Stephen Warren <[email protected]>
2015-10-14 15:30:06 -07:00