mb/google/corsola: Fine tune LCM ADC voltages
The tolerance of LCM voltage table is too small which leads to wrong panel ID detection. Fine tune LCM ADC voltages based on hardware calculations. BUG=b:300418909 TEST=FW screen display normally Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: Id8dec043584f4c552837f70adb491584bfda7acf Reviewed-on: https://review.coreboot.org/c/coreboot/+/78063 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
a6d6818f78
commit
060c7c7f06
|
@ -23,18 +23,18 @@ enum {
|
|||
|
||||
static const unsigned int lcm_voltages[ADC_LEVELS] = {
|
||||
/* ID : Voltage (unit: uV) */
|
||||
[0] = 0,
|
||||
[1] = 283000,
|
||||
[2] = 394000,
|
||||
[3] = 490000,
|
||||
[4] = 640000,
|
||||
[5] = 712000,
|
||||
[6] = 800000,
|
||||
[7] = 867000,
|
||||
[8] = 960000,
|
||||
[9] = 1070000,
|
||||
[10] = 1190000,
|
||||
[11] = 1434000,
|
||||
[0] = 0,
|
||||
[1] = 89191,
|
||||
[2] = 148419,
|
||||
[3] = 205240,
|
||||
[4] = 282774,
|
||||
[5] = 393556,
|
||||
[6] = 495561,
|
||||
[7] = 641944,
|
||||
[8] = 798049,
|
||||
[9] = 960054,
|
||||
[10] = 1191264,
|
||||
[11] = 1433691,
|
||||
};
|
||||
|
||||
static const unsigned int ram_voltages[ADC_LEVELS] = {
|
||||
|
|
|
@ -49,13 +49,13 @@ static void mipi_panel_power_on(void)
|
|||
static struct panel_description starmie_panels[] = {
|
||||
/* K&D panel vendor and ILI9882T chip,
|
||||
K&D and STA panel are identical except manufacturer_name. */
|
||||
[3] = {
|
||||
[6] = {
|
||||
.power_on = mipi_panel_power_on,
|
||||
.name = "STA_ILI9882T",
|
||||
.orientation = LB_FB_ORIENTATION_LEFT_UP,
|
||||
},
|
||||
/* STA panel vendor and ILI9882T chip */
|
||||
[8] = {
|
||||
[9] = {
|
||||
.power_on = mipi_panel_power_on,
|
||||
.name = "STA_ILI9882T",
|
||||
.orientation = LB_FB_ORIENTATION_LEFT_UP,
|
||||
|
|
Loading…
Reference in New Issue