Skip to content

Commit 852bbba

Browse files
begnicMike Turquette
authored andcommitted
mfd: db8500: Update register definition for u8540 clock
PRCMU and ab8500 registers updated for u8540 Signed-off-by: Philippe Begnic <philippe.begnic@st.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
1 parent 1237e59 commit 852bbba

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎include/linux/mfd/abx500/ab8500-sysctrl.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ struct ab8500_sysctrl_platform_data {
278278

279279
#define AB9540_SYSCLK12CONFCTRL_PLL26TO38ENA BIT(0)
280280
#define AB9540_SYSCLK12CONFCTRL_SYSCLK12USBMUXSEL BIT(1)
281-
#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL_MASK 0x0C
282-
#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL_SHIFT 2
281+
#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL0 BIT(2)
282+
#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL1 BIT(3)
283283
#define AB9540_SYSCLK12CONFCTRL_SYSCLK12BUFMUX BIT(4)
284284
#define AB9540_SYSCLK12CONFCTRL_SYSCLK12PLLMUX BIT(5)
285285
#define AB9540_SYSCLK12CONFCTRL_SYSCLK2MUXVALID BIT(6)

‎include/linux/mfd/dbx500-prcmu.h‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ enum prcmu_clock {
134134
PRCMU_SIACLK,
135135
PRCMU_SVACLK,
136136
PRCMU_ACLK,
137+
PRCMU_HVACLK, /* Ux540 only */
138+
PRCMU_G1CLK, /* Ux540 only */
139+
PRCMU_SDMMCHCLK,
140+
PRCMU_CAMCLK,
137141
PRCMU_NUM_REG_CLOCKS,
138142
PRCMU_SYSCLK = PRCMU_NUM_REG_CLOCKS,
139143
PRCMU_CDCLK,
@@ -148,6 +152,13 @@ enum prcmu_clock {
148152
PRCMU_DSI0ESCCLK,
149153
PRCMU_DSI1ESCCLK,
150154
PRCMU_DSI2ESCCLK,
155+
/* LCD DSI PLL - Ux540 only */
156+
PRCMU_PLLDSI_LCD,
157+
PRCMU_DSI0CLK_LCD,
158+
PRCMU_DSI1CLK_LCD,
159+
PRCMU_DSI0ESCCLK_LCD,
160+
PRCMU_DSI1ESCCLK_LCD,
161+
PRCMU_DSI2ESCCLK_LCD,
151162
};
152163

153164
/**

0 commit comments

Comments
 (0)