
ROM-5420 User Manual 28
8. Select “Device Drivers”→”Real Time Clock”, you will see an option “Seiko
Instruments S-35390A” on the list. Choose this option then exit and save your
configuration.
Figure 3.2 Selecting Seiko Instruments S-35390A
9. Change directory to “source/linux-3.0.35/arch/arm/mach-mx6”, edit the “board-
mx6q_ROM-5420.h” and “board-mx6q_advantech.c”.
Please add below codes to source/linux-3.0.35/arch/arm/mach-mx6/board-
mx6q_ROM-5420.h:
static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
{
I2C_BOARD_INFO("sgtl5000", 0x0a),
},
{
I2C_BOARD_INFO("s35390a", 0x30),
},
{
I2C_BOARD_INFO("24c02", 0x57),
},
};
Please add below codes to
source/linux-3.0.35/arch/arm/mach-mx6/board-mx6q_advantech.c
i2c_register_board_info(0, mxc_i2c0_board_info,
ARRAY_SIZE(mxc_i2c0_board_info));
10. Please refer to former Chapter 3.5.1 to rebuild the kernel with RTC driver (Seiko
Instruments S-35390A) after completing above steps
Note! If you cannot find the driver for your device from the list, please contact
your hardware vender.
Comentarios a estos manuales