Loading arch/sh/boards/mach-ecovec24/setup.c +8 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,10 @@ static struct i2c_board_info i2c1_devices[] = { { I2C_BOARD_INFO("r2025sd", 0x32), }, { I2C_BOARD_INFO("lis3lv02d", 0x1c), .irq = 33, } }; /* KEYSC */ Loading Loading @@ -1115,6 +1119,10 @@ static int __init arch_setup(void) gpio_direction_output(GPIO_PTU0, 0); mdelay(20); /* enable motion sensor */ gpio_request(GPIO_FN_INTC_IRQ1, NULL); gpio_direction_input(GPIO_FN_INTC_IRQ1); /* enable I2C device */ i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices)); Loading drivers/serial/sh-sci.c +12 −1 Original line number Diff line number Diff line Loading @@ -1052,7 +1052,18 @@ static void __devinit sci_init_single(struct platform_device *dev, sci_port->port.ops = &sci_uart_ops; sci_port->port.iotype = UPIO_MEM; sci_port->port.line = index; switch (p->type) { case PORT_SCIFA: sci_port->port.fifosize = 64; break; case PORT_SCIF: sci_port->port.fifosize = 16; break; default: sci_port->port.fifosize = 1; break; } if (dev) { sci_port->iclk = p->clk ? clk_get(&dev->dev, p->clk) : NULL; Loading Loading
arch/sh/boards/mach-ecovec24/setup.c +8 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,10 @@ static struct i2c_board_info i2c1_devices[] = { { I2C_BOARD_INFO("r2025sd", 0x32), }, { I2C_BOARD_INFO("lis3lv02d", 0x1c), .irq = 33, } }; /* KEYSC */ Loading Loading @@ -1115,6 +1119,10 @@ static int __init arch_setup(void) gpio_direction_output(GPIO_PTU0, 0); mdelay(20); /* enable motion sensor */ gpio_request(GPIO_FN_INTC_IRQ1, NULL); gpio_direction_input(GPIO_FN_INTC_IRQ1); /* enable I2C device */ i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices)); Loading
drivers/serial/sh-sci.c +12 −1 Original line number Diff line number Diff line Loading @@ -1052,7 +1052,18 @@ static void __devinit sci_init_single(struct platform_device *dev, sci_port->port.ops = &sci_uart_ops; sci_port->port.iotype = UPIO_MEM; sci_port->port.line = index; switch (p->type) { case PORT_SCIFA: sci_port->port.fifosize = 64; break; case PORT_SCIF: sci_port->port.fifosize = 16; break; default: sci_port->port.fifosize = 1; break; } if (dev) { sci_port->iclk = p->clk ? clk_get(&dev->dev, p->clk) : NULL; Loading