Attention is currently required from: Sean Rhodes, Matt DeVillier, Angel Pons.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59263 )
Change subject: Documentation/drivers: Add notes on Realtek HW EQ
......................................................................
Patch Set 4: Code-Review+1
(10 comments)
Patchset:
PS4:
Thank you so much!
File Documentation/drivers/realtek.md:
https://review.coreboot.org/c/coreboot/+/59263/comment/92f02438_ac10b5ef
PS4, Line 4: The datasheet has extensive documentation on this, as after
: it says that it supports it, it provides all the below information on
: how to configure it:
:
: ```
:
: ```
: As this information is extemely helpful, we wrote up the notes below on
: how to configure it.
While I appreciate the sense of humour, I'm not sure if everyone would understand the sarcasm here. Maybe dilute it a bit?
The Realtek ALC256 and several other codecs support a 7-band hardware
equalizer. The datasheet clearly and earnestly encourages its readers
to harness the entire potential of this hardware feature by providing
absolutely no information on how to configure it.
https://review.coreboot.org/c/coreboot/+/59263/comment/8134c5e8_1cce98d1
PS4, Line 12: mamed
typo? ma*i*med
https://review.coreboot.org/c/coreboot/+/59263/comment/3294e7a9_b6559f65
PS4, Line 13: killed
Rest in pieces ðŸ˜
https://review.coreboot.org/c/coreboot/+/59263/comment/54ad4616_ef0b0b5a
PS4, Line 19: 53
0x53, actually. Same for all other values.
https://review.coreboot.org/c/coreboot/+/59263/comment/c4f93e4f_0c11eb1b
PS4, Line 28: 0x053404DA
nit: Hex values in coreboot are typically written in lowercase
https://review.coreboot.org/c/coreboot/+/59263/comment/a9f37dda_60333638
PS4, Line 41: Butterworth HPF
Butterworth High-Pass Filter? Maybe link to Wikipedia?
https://en.wikipedia.org/wiki/Butterworth_filterhttps://review.coreboot.org/c/coreboot/+/59263/comment/00227485_dc298c33
PS4, Line 136:
trailing space
https://review.coreboot.org/c/coreboot/+/59263/comment/631b9228_15f056b8
PS4, Line 136: /*
: * EQ Mode = Boost Gain
: *
: * High Pass Filter 1:
: * Band Width = 1000Hz
: * Gain (dB) = 0dB
: *
: * High Pass Filter 2:
: * Band Width = 1000Hz
: * Gain (dB) = 0dB
: *
: * Band Pass Filter 1
: * Frequency = 3000Hz
: * Band Width = 1000Hz
: * Gain = 0dB
: *
: * Band Pass Filter 2
: * Frequency = 6000Hz
: * Band Width = 1000Hz
: * Gain = 0dB
: *
: * Band Pass Filter 3
: * Frequency = 9000Hz
: * Band Width = 1000Hz
: * Gain = 0dB
: *
: * Band Pass Filter 4
: * Frequency = 9000Hz
: * Band Width = 1000Hz
: * Gain = 0dB
: *
: * Low Pass Filter 1
: * Band Width = 1000Hz
: * Gain (dB) = 0dB
: *
: * AGC Threshold = -6dB
: * AGC Front Boost Gain = 6dB
: * AGC Post Boost Gain = 6dB
: *
: * Power Output = 2.5W
: */
I'd appreciate if you could split this comment and interleave the parts with the verb list, so that it's easy to see what does each group of verbs do.
https://review.coreboot.org/c/coreboot/+/59263/comment/1057f65e_2c976022
PS4, Line 306:
Missing closing ``` ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/59263
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie13f62622a4cf2b14d36728a8a4a9e3ef24d6852
Gerrit-Change-Number: 59263
Gerrit-PatchSet: 4
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Angel Pons <angel.pons(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Attention: Angel Pons <angel.pons(a)9elements.com>
Gerrit-Comment-Date: Mon, 15 Nov 2021 12:26:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Xi Chen.
Rex-BC Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59295 )
Change subject: soc/mediatek: move i2c function to common folder
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
@yu-ping and @hung-te,
this patch will build fail for 8173.
please review again.
thanks
--
To view, visit https://review.coreboot.org/c/coreboot/+/59295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
Gerrit-Change-Number: 59295
Gerrit-PatchSet: 5
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Comment-Date: Mon, 15 Nov 2021 11:41:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Xi Chen.
Rex-BC Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59295 )
Change subject: soc/mediatek: move i2c function to common folder
......................................................................
Patch Set 5:
(1 comment)
File src/soc/mediatek/common/i2c.c:
https://review.coreboot.org/c/coreboot/+/59295/comment/8ca6ce93_babbe220
PS4, Line 36: __weak void mtk_i2c_config_timing(struct mt_i2c_regs *regs,
> open brace '{' following function definitions go on the next line
Please fix.
--
To view, visit https://review.coreboot.org/c/coreboot/+/59295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
Gerrit-Change-Number: 59295
Gerrit-PatchSet: 5
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Comment-Date: Mon, 15 Nov 2021 11:28:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Xi Chen.
Hello Xi Chen, Hung-Te Lin, build bot (Jenkins), Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59295
to look at the new patch set (#5).
Change subject: soc/mediatek: move i2c function to common folder
......................................................................
soc/mediatek: move i2c function to common folder
Move mtk_i2c_max_step_cnt, mtk_i2c_check_ac_timing, mtk_i2c_speed_init
and mtk_i2c_calculate_speed to common folder to share with MT8186.
TEST=test on tomato ok
TEST=emerge-asurada coreboot
BUG=b:202871018
Signed-off-by: Rex-BC Chen <rex-bc.chen(a)mediatek.com>
Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
---
M src/soc/mediatek/common/i2c.c
M src/soc/mediatek/common/include/soc/i2c_common.h
M src/soc/mediatek/mt8173/i2c.c
M src/soc/mediatek/mt8173/include/soc/i2c.h
M src/soc/mediatek/mt8183/i2c.c
M src/soc/mediatek/mt8183/include/soc/i2c.h
M src/soc/mediatek/mt8192/i2c.c
M src/soc/mediatek/mt8192/include/soc/i2c.h
M src/soc/mediatek/mt8195/i2c.c
M src/soc/mediatek/mt8195/include/soc/i2c.h
10 files changed, 295 insertions(+), 257 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/59295/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/59295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
Gerrit-Change-Number: 59295
Gerrit-PatchSet: 5
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin, Xi Chen.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59295 )
Change subject: soc/mediatek: move i2c function to common folder
......................................................................
Patch Set 4:
(1 comment)
File src/soc/mediatek/common/i2c.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-133240):
https://review.coreboot.org/c/coreboot/+/59295/comment/3d9cd822_26767a7c
PS4, Line 36: __weak void mtk_i2c_config_timing(struct mt_i2c_regs *regs,
open brace '{' following function definitions go on the next line
--
To view, visit https://review.coreboot.org/c/coreboot/+/59295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
Gerrit-Change-Number: 59295
Gerrit-PatchSet: 4
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Comment-Date: Mon, 15 Nov 2021 11:25:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Xi Chen, Rex-BC Chen.
Hello Xi Chen, Hung-Te Lin, build bot (Jenkins), Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59295
to look at the new patch set (#4).
Change subject: soc/mediatek: move i2c function to common folder
......................................................................
soc/mediatek: move i2c function to common folder
Move mtk_i2c_max_step_cnt, mtk_i2c_check_ac_timing, mtk_i2c_speed_init
and mtk_i2c_calculate_speed to common folder to share with MT8186.
TEST=test on tomato ok
TEST=emerge-asurada coreboot
BUG=b:202871018
Signed-off-by: Rex-BC Chen <rex-bc.chen(a)mediatek.com>
Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
---
M src/soc/mediatek/common/i2c.c
M src/soc/mediatek/common/include/soc/i2c_common.h
M src/soc/mediatek/mt8173/i2c.c
M src/soc/mediatek/mt8173/include/soc/i2c.h
M src/soc/mediatek/mt8183/i2c.c
M src/soc/mediatek/mt8183/include/soc/i2c.h
M src/soc/mediatek/mt8192/i2c.c
M src/soc/mediatek/mt8192/include/soc/i2c.h
M src/soc/mediatek/mt8195/i2c.c
M src/soc/mediatek/mt8195/include/soc/i2c.h
10 files changed, 293 insertions(+), 257 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/59295/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/59295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a702741c763bf9261cea90d0d71c08b6e28c261
Gerrit-Change-Number: 59295
Gerrit-PatchSet: 4
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xi Chen <xixi.chen(a)mediatek.com>
Gerrit-Attention: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-MessageType: newpatchset