diff options
author | Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> | 2020-12-28 21:31:30 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-01-20 14:00:27 +0000 |
commit | 2fc597674039e53c3396ff82f3f26e9d2d2e656f (patch) | |
tree | 7f5243dbb7f28122db8b144862c6dc4f76fe8dd8 /Documentation/drivers/soundwire.md | |
parent | 8572e33e5c44b14a184c9e0024df283595077386 (diff) |
soc/mediatek/mt8192: pmic: unlock key protection before initial setting
We need to write some special values to key protection registers before
applying init_setting table and lp_setting table to PMIC. Otherwise,
those settings won't take effect.
After applying init_setting table and lp_setting table, we lock the
settings by writing zero to key protection registers.
Reference datasheet: MT6359_PMIC_Data_Sheet_V1.5.docx, RH-D-2018-0205.
BUG=b:172636735
BRANCH=none
TEST=boot asurada correctly
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Change-Id: I593d4e02bf0b62ac297957caf4ae1c1837f1f38d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48954
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'Documentation/drivers/soundwire.md')
0 files changed, 0 insertions, 0 deletions