SMDK6410: Configure GPIO pull up for WM835x IRQ line
Subsystems (3)
PATCH 1/2 SMDK6410: Configure GPIO pull up for WM835x IRQ line
When used with the WM1190-EV1 board we can use the internal pull up resistor of the CPU to provide the required pull for the IRQ line. Without this interrupts from the WM835x don't work in the default WM1190-EV1 hardwaer configuration.
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/mach-s3c6410/mach-smdk6410.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-s3c6410/mach-smdk6410.c +3 -0
@@ -372,6 +372,9 @@ static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) {int i; +/* Configure the IRQ line */ +s3c_gpio_setpull (S3C64XX_GPN (12 ),S3C_GPIO_PULL_UP ); +/* Instantiate the regulators */ for (i =0 ; i <ARRAY_SIZE (wm1190_regulators); i++) wm8350_register_regulator(wm8350,
Signature · 1 line
1.6.5
PATCH 2/2 S3C64XX: Fix S3C64XX_CLKDIV0_ARM_MASK value
From: Kukjin Kim <[email protected]>
The value of S3C64XX_CLKDIV0_ARM_MASK is wrong. This patch fixes this values, S3C6400_CLKDIV0_ARM_MASK and S3C6410_CLKDIV0_ARM_MASK.
Signed-off-by Kukjin Kim <[email protected]>
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/plat-s3c64xx/include/plat/regs-clock.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +2 -2
@@ -51,8 +51,8 @@#define S3C6400_CLKDIV0_HCLK_SHIFT (8)#define S3C6400_CLKDIV0_MPLL_MASK (0x1 << 4)#define S3C6400_CLKDIV0_MPLL_SHIFT (4) -#define S3C6400_CLKDIV0_ARM_MASK (0x3 << 0) -#define S3C6410_CLKDIV0_ARM_MASK (0x7 << 0) +#define S3C6400_CLKDIV0_ARM_MASK (0x7 << 0) +#define S3C6410_CLKDIV0_ARM_MASK (0xf << 0)#define S3C6400_CLKDIV0_ARM_SHIFT (0)/* CLKDIV1 */
Signature · 1 line
1.6.5