Loading arch/arm/plat-s3c/gpio-config.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, unsigned int shift = (off & 7) * 4; u32 con; if (off < 8 && chip->chip.ngpio >= 8) if (off < 8 && chip->chip.ngpio > 8) reg -= 4; if (s3c_gpio_is_cfg_special(cfg)) { Loading arch/arm/plat-s3c64xx/clock.c +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ static struct clk init_clocks[] = { .id = -1, .parent = &clk_h, .enable = s3c64xx_hclk_ctrl, .ctrlbit = S3C_CLKCON_SCLK_UHOST, .ctrlbit = S3C_CLKCON_HCLK_UHOST, }, { .name = "hsmmc", .id = 0, Loading arch/arm/plat-s3c64xx/gpiolib.c +6 −0 Original line number Diff line number Diff line Loading @@ -321,6 +321,11 @@ static struct s3c_gpio_cfg gpio_2bit_cfg_eint11 = { .get_pull = s3c_gpio_getpull_updown, }; int s3c64xx_gpio2int_gpn(struct gpio_chip *chip, unsigned pin) { return IRQ_EINT(0) + pin; } static struct s3c_gpio_chip gpio_2bit[] = { { .base = S3C64XX_GPF_BASE, Loading Loading @@ -353,6 +358,7 @@ static struct s3c_gpio_chip gpio_2bit[] = { .base = S3C64XX_GPN(0), .ngpio = S3C64XX_GPIO_N_NR, .label = "GPN", .to_irq = s3c64xx_gpio2int_gpn, }, }, { .base = S3C64XX_GPO_BASE, Loading arch/arm/plat-s3c64xx/include/plat/regs-clock.h +5 −5 Original line number Diff line number Diff line Loading @@ -88,11 +88,11 @@ #define S3C6400_CLKDIV2_SPI0_SHIFT (0) /* HCLK GATE Registers */ #define S3C_CLKCON_HCLK_BUS (1<<30) #define S3C_CLKCON_HCLK_SECUR (1<<29) #define S3C_CLKCON_HCLK_SDMA1 (1<<28) #define S3C_CLKCON_HCLK_SDMA2 (1<<27) #define S3C_CLKCON_HCLK_UHOST (1<<26) #define S3C_CLKCON_HCLK_3DSE (1<<31) #define S3C_CLKCON_HCLK_UHOST (1<<29) #define S3C_CLKCON_HCLK_SECUR (1<<28) #define S3C_CLKCON_HCLK_SDMA1 (1<<27) #define S3C_CLKCON_HCLK_SDMA0 (1<<26) #define S3C_CLKCON_HCLK_IROM (1<<25) #define S3C_CLKCON_HCLK_DDR1 (1<<24) #define S3C_CLKCON_HCLK_DDR0 (1<<23) Loading Loading
arch/arm/plat-s3c/gpio-config.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, unsigned int shift = (off & 7) * 4; u32 con; if (off < 8 && chip->chip.ngpio >= 8) if (off < 8 && chip->chip.ngpio > 8) reg -= 4; if (s3c_gpio_is_cfg_special(cfg)) { Loading
arch/arm/plat-s3c64xx/clock.c +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ static struct clk init_clocks[] = { .id = -1, .parent = &clk_h, .enable = s3c64xx_hclk_ctrl, .ctrlbit = S3C_CLKCON_SCLK_UHOST, .ctrlbit = S3C_CLKCON_HCLK_UHOST, }, { .name = "hsmmc", .id = 0, Loading
arch/arm/plat-s3c64xx/gpiolib.c +6 −0 Original line number Diff line number Diff line Loading @@ -321,6 +321,11 @@ static struct s3c_gpio_cfg gpio_2bit_cfg_eint11 = { .get_pull = s3c_gpio_getpull_updown, }; int s3c64xx_gpio2int_gpn(struct gpio_chip *chip, unsigned pin) { return IRQ_EINT(0) + pin; } static struct s3c_gpio_chip gpio_2bit[] = { { .base = S3C64XX_GPF_BASE, Loading Loading @@ -353,6 +358,7 @@ static struct s3c_gpio_chip gpio_2bit[] = { .base = S3C64XX_GPN(0), .ngpio = S3C64XX_GPIO_N_NR, .label = "GPN", .to_irq = s3c64xx_gpio2int_gpn, }, }, { .base = S3C64XX_GPO_BASE, Loading
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +5 −5 Original line number Diff line number Diff line Loading @@ -88,11 +88,11 @@ #define S3C6400_CLKDIV2_SPI0_SHIFT (0) /* HCLK GATE Registers */ #define S3C_CLKCON_HCLK_BUS (1<<30) #define S3C_CLKCON_HCLK_SECUR (1<<29) #define S3C_CLKCON_HCLK_SDMA1 (1<<28) #define S3C_CLKCON_HCLK_SDMA2 (1<<27) #define S3C_CLKCON_HCLK_UHOST (1<<26) #define S3C_CLKCON_HCLK_3DSE (1<<31) #define S3C_CLKCON_HCLK_UHOST (1<<29) #define S3C_CLKCON_HCLK_SECUR (1<<28) #define S3C_CLKCON_HCLK_SDMA1 (1<<27) #define S3C_CLKCON_HCLK_SDMA0 (1<<26) #define S3C_CLKCON_HCLK_IROM (1<<25) #define S3C_CLKCON_HCLK_DDR1 (1<<24) #define S3C_CLKCON_HCLK_DDR0 (1<<23) Loading