Go to the documentation of this file.
10 #ifndef __MFD_DB8500_PRCMU_H
11 #define __MFD_DB8500_PRCMU_H
14 #include <linux/bitops.h>
19 #define DB8500_PRCM_GPIOCR 0x138
20 #define DB8500_PRCM_GPIOCR_DBG_UARTMOD_CMD0 BIT(0)
21 #define DB8500_PRCM_GPIOCR_DBG_STM_APE_CMD BIT(9)
22 #define DB8500_PRCM_GPIOCR_DBG_STM_MOD_CMD1 BIT(11)
23 #define DB8500_PRCM_GPIOCR_SPI2_SELECT BIT(23)
25 #define DB8500_PRCM_LINE_VALUE 0x170
26 #define DB8500_PRCM_LINE_VALUE_HSI_CAWAKE0 BIT(3)
28 #define DB8500_PRCM_DSI_SW_RESET 0x324
29 #define DB8500_PRCM_DSI_SW_RESET_DSI0_SW_RESETN BIT(0)
30 #define DB8500_PRCM_DSI_SW_RESET_DSI1_SW_RESETN BIT(1)
31 #define DB8500_PRCM_DSI_SW_RESET_DSI2_SW_RESETN BIT(2)
464 #define PRCMU_AUTO_PM_OFF 0
465 #define PRCMU_AUTO_PM_ON 1
467 #define PRCMU_AUTO_PM_POWER_ON_HSEM BIT(0)
468 #define PRCMU_AUTO_PM_POWER_ON_ABB_FIFO_IT BIT(1)
496 #define PRCMU_FW_PROJECT_U8500 2
497 #define PRCMU_FW_PROJECT_U9500 4
498 #define PRCMU_FW_PROJECT_U8500_C2 7
499 #define PRCMU_FW_PROJECT_U9500_C2 11
500 #define PRCMU_FW_PROJECT_U8520 13
501 #define PRCMU_FW_PROJECT_U8420 14
510 #ifdef CONFIG_MFD_DB8500_PRCMU
525 int prcmu_set_clock_divider(
u8 clock,
u8 divider);
648 static inline int prcmu_set_clock_divider(
u8 clock,
u8 divider)