Hi All,
i am working on SGTL5000 bring up, still the module is not functional. following are my observations.
MCLK- fed to SGTL5000 is 11.36 MHz,
i2c detect is showing the sgtl5000 chip active in i2c bus,
but SGTL5000_CHIP_ID read chip ID is failed.
sgtl5000.c - sound/soc/codecs/sgtl5000.c - Linux source code
/* read chip information */
ret = regmap_read(sgtl5000->regmap, SGTL5000_CHIP_ID, ®);
if (ret) {
dev_err(&client->dev, "Error reading chip id %d\n", ret);
goto disable_clk;
}
Any suggestion why its failing, ?