static void board_i2c_init(void) { //set I2C pinmux with PCB board layout /*@AML9726-MX-MAINBOARD_V1.0.pdf*/ /*@AL5631Q+3G_AUDIO_V1.pdf*/ board_i2c_set_pinmux(); //Amlogic I2C controller initialized //note: it must be call before any I2C operation aml_i2c_init(); //must call aml_i2c_init(); before any I2C operation /*M6 board*/ //udelay(10000); udelay(10000); #ifdef TEST_UBOOT_BOOT_SPEND_TIME unsigned int before_pmu_init = get_utimer(0); #endif #ifdef CONFIG_PLATFORM_HAS_PMU board_pmu_init(); #endif #ifdef TEST_UBOOT_BOOT_SPEND_TIME unsigned int after_pmu_init = get_utimer(0); printf("\nPMU init time %d\n", after_pmu_init-before_pmu_init); #endif }
static void board_i2c_init(void) { //set I2C pinmux with PCB board layout board_i2c_set_pinmux(); //Amlogic I2C controller initialized //note: it must be call before any I2C operation aml_i2c_init(); udelay(10); }
static void board_i2c_init(void) { //set I2C pinmux with PCB board layout //refer AML8726-M_ARM_DEV_BOARD_2DDR_V1R1.pdf board_i2c_set_pinmux(); //Amlogic I2C controller initialized //note: it must be call before any I2C operation aml_i2c_init(); //must call aml_i2c_init(); before any I2C operation udelay(10000); }
static void board_i2c_init(void) { //set I2C pinmux with PCB board layout /*@M6_SKT_V1.pdf*/ /*@AL5631Q+3G_AUDIO_V1.pdf*/ board_i2c_set_pinmux(); //Amlogic I2C controller initialized //note: it must be call before any I2C operation aml_i2c_init(); //must call aml_i2c_init(); before any I2C operation /*M6 ref board*/ //udelay(10000); udelay(10000); }
static void board_i2c_init(void) { //set I2C pinmux with PCB board layout /*@AML9726-MX-MAINBOARD_V1.0.pdf*/ /*@AL5631Q+3G_AUDIO_V1.pdf*/ board_i2c_set_pinmux(); //Amlogic I2C controller initialized //note: it must be call before any I2C operation aml_i2c_init(); //must call aml_i2c_init(); before any I2C operation /*M6 board*/ //udelay(10000); udelay(10); #ifdef CONFIG_PLATFORM_HAS_PMU board_pmu_init(); #endif }