Lines Matching +full:boost +full:- +full:bypass
1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2014-2020 NXP Semiconductors, All Rights Reserved.
35 #define TFA989X_SYS_CTRL_DCA 4 /* enable boost */
122 return -EINVAL; in tfa989x_find_sample_rate()
129 struct snd_soc_component *component = dai->component; in tfa989x_hw_params()
146 .name = "tfa989x-hifi",
210 * no documentation for it - the public "short datasheets" do not provide
215 * rely on obscure firmware blobs for configuration (so-called "containers").
230 /* Clear CHSA to bypass DSP and take input from I2S 1 left channel */ in tfa989x_dsp_bypass()
254 regulator_disable(tfa989x->vddd_supply); in tfa989x_regulator_disable()
259 struct device *dev = &i2c->dev; in tfa989x_i2c_probe()
269 return -ENODEV; in tfa989x_i2c_probe()
274 return -ENOMEM; in tfa989x_i2c_probe()
278 tfa989x->vddd_supply = devm_regulator_get(dev, "vddd"); in tfa989x_i2c_probe()
279 if (IS_ERR(tfa989x->vddd_supply)) in tfa989x_i2c_probe()
280 return dev_err_probe(dev, PTR_ERR(tfa989x->vddd_supply), in tfa989x_i2c_probe()
287 ret = regulator_enable(tfa989x->vddd_supply); in tfa989x_i2c_probe()
297 /* Bypass regcache for reset and init sequence */ in tfa989x_i2c_probe()
310 if (val != rev->rev) { in tfa989x_i2c_probe()
312 rev->rev, val); in tfa989x_i2c_probe()
313 return -ENODEV; in tfa989x_i2c_probe()
322 ret = rev->init(regmap); in tfa989x_i2c_probe()
330 dev_err(dev, "failed to enable DSP bypass: %d\n", ret); in tfa989x_i2c_probe()