+
+void tas5706a_init_1(I2c *i2c)
+{
+ ASSERT(i2c);
+ MOD_CHECK(timer);
+
+ TAS5706A_PIN_INIT();
+ timer_delay(200);
+ TAS5706A_SETPOWERDOWN(false);
+ TAS5706A_SETMUTE(false);
+ TAS5706A_MCLK_INIT();
+ timer_delay(2);
+ TAS5706A_SETRESET(false);
+ timer_delay(20);
+ tas5706a_putc(i2c, TRIM_REG, 0x00);
+
+ tas5706a_putc(i2c, VOLUME_REG, DB_TO_REG(CONFIG_TAS_MAX_VOL));
+
+ /* Unmute */
+ tas5706a_putc(i2c, SYS_REG2, 0);
+}