Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: Fix db5500-prcmu defines

This fixes two erroneous defines for the PLLs and adds new
defines for the reset pin controls.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Linus Walleij and committed by
Samuel Ortiz
10b3ecdb 624e87c2

+5 -2
+5 -2
drivers/mfd/db5500-prcmu.c
··· 109 109 #define PRCMU_DSI_CLOCK_SETTING 0x00000128 110 110 /* TVCLK_MGT PLLSW=001 (PLLSOC0) PLLDIV=0x13, = 19.05 MHZ */ 111 111 #define PRCMU_DSI_LP_CLOCK_SETTING 0x00000135 112 - #define PRCMU_PLLDSI_FREQ_SETTING 0x0004013C 112 + #define PRCMU_PLLDSI_FREQ_SETTING 0x00020121 113 113 #define PRCMU_DSI_PLLOUT_SEL_SETTING 0x00000002 114 - #define PRCMU_ENABLE_ESCAPE_CLOCK_DIV 0x03000101 114 + #define PRCMU_ENABLE_ESCAPE_CLOCK_DIV 0x03000201 115 115 #define PRCMU_DISABLE_ESCAPE_CLOCK_DIV 0x00000101 116 116 117 117 #define PRCMU_ENABLE_PLLDSI 0x00000001 118 118 #define PRCMU_DISABLE_PLLDSI 0x00000000 119 119 120 120 #define PRCMU_DSI_RESET_SW 0x00000003 121 + #define PRCMU_RESOUTN0_PIN 0x00000001 122 + #define PRCMU_RESOUTN1_PIN 0x00000002 123 + #define PRCMU_RESOUTN2_PIN 0x00000004 121 124 122 125 #define PRCMU_PLLDSI_LOCKP_LOCKED 0x3 123 126