drivers/i2c/da7219: Allow disabling micbias-pulse feature
commitcd62cac9e1f76d4086dc757701ad724a79654b1b
authorDaniel Kurtz <djkurtz@chromium.org>
Mon, 23 Jul 2018 23:26:59 +0000 (23 17:26 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 30 Jul 2018 18:45:44 +0000 (30 18:45 +0000)
treeeb59635226f0dd711ec973cd7700b480506152eb
parent791ba97d1d1f5923303f159ac0da154e082a12f2
drivers/i2c/da7219: Allow disabling micbias-pulse feature

These two da7219_aad properties are optional:
- dlg,micbias-pulse-lvl : Mic bias higher voltage pulse level (mV).
        [<2800>, <2900>]
- dlg,micbias-pulse-time : Mic bias higher voltage pulse duration (ms)

When the Mic Bias Higher Voltage feature is not required, firmware should
just not provide the dlg,micbias-pulse-lvl and dlg,micbias-pulse-time
properties.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
BUG=b:111700809
TEST=On grunt:
 No "Invalid micbias pulse level" in dmesg

Change-Id: Ie99a8962e78c68b3f6927d0de34168f265d4efa9
Reviewed-on: https://review.coreboot.org/27613
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Akshu Agrawal <akshu.agrawal@amd.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/drivers/i2c/da7219/da7219.c