Simon Glass | 558ec67 | 2017-04-05 16:23:36 -0600 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2012,2015 Stephen Warren |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef _BCM2835_MSG_H |
| 8 | #define _BCM2835_MSG_H |
| 9 | |
| 10 | /** |
| 11 | * bcm2835_power_on_module() - power on an SoC module |
| 12 | * |
| 13 | * @module: ID of module to power on (BCM2835_MBOX_POWER_DEVID_...) |
| 14 | * @return 0 if OK, -EIO on error |
| 15 | */ |
| 16 | int bcm2835_power_on_module(u32 module); |
| 17 | |
Simon Glass | 13ddef8 | 2017-04-05 16:23:37 -0600 | [diff] [blame^] | 18 | /** |
| 19 | * bcm2835_get_mmc_clock() - get the frequency of the MMC clock |
| 20 | * |
| 21 | * @return clock frequency, or -ve on error |
| 22 | */ |
| 23 | int bcm2835_get_mmc_clock(void); |
| 24 | |
Simon Glass | 558ec67 | 2017-04-05 16:23:36 -0600 | [diff] [blame] | 25 | #endif |