Path: blob/master/arch/arm/mach-bcmring/include/mach/csp/cap.h
10821 views
/*****************************************************************************1* Copyright 2009 Broadcom Corporation. All rights reserved.2*3* Unless you and Broadcom execute a separate written software license4* agreement governing use of this software, this software is licensed to you5* under the terms of the GNU General Public License version 2, available at6* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").7*8* Notwithstanding the above, under no circumstances may you combine this9* software in any way with any other Broadcom software provided under a10* license other than the GPL, without Broadcom's express prior written11* consent.12*****************************************************************************/1314#ifndef CAP_H15#define CAP_H1617/* ---- Include Files ---------------------------------------------------- */18/* ---- Public Constants and Types --------------------------------------- */19typedef enum {20CAP_NOT_PRESENT = 0,21CAP_PRESENT22} CAP_RC_T;2324typedef enum {25CAP_VPM,26CAP_ETH_PHY,27CAP_ETH_GMII,28CAP_ETH_SGMII,29CAP_USB,30CAP_TSC,31CAP_EHSS,32CAP_SDIO,33CAP_UARTB,34CAP_KEYPAD,35CAP_CLCD,36CAP_GE,37CAP_LEDM,38CAP_BBL,39CAP_VDEC,40CAP_PIF,41CAP_APM,42CAP_SPU,43CAP_PKA,44CAP_RNG,45} CAP_CAPABILITY_T;4647typedef enum {48CAP_LCD_WVGA = 0,49CAP_LCD_VGA = 0x1,50CAP_LCD_WQVGA = 0x2,51CAP_LCD_QVGA = 0x352} CAP_LCD_RES_T;5354/* ---- Public Variable Externs ------------------------------------------ */55/* ---- Public Function Prototypes --------------------------------------- */5657static inline CAP_RC_T cap_isPresent(CAP_CAPABILITY_T capability, int index);58static inline uint32_t cap_getMaxArmSpeedHz(void);59static inline uint32_t cap_getMaxVpmSpeedHz(void);60static inline CAP_LCD_RES_T cap_getMaxLcdRes(void);6162#endif636465