<p>Brian Norris has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25023">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">google/scarlet: Adjust K&D power sequence from software<br><br>Hardware updates have suggested we need to configure the K&D panel's<br>power sequence in software, not in hardware. Without this change, K&D<br>panels will no longer power on correctly and will instead display a<br>black screen.<br><br>Per K&D's suggestion, we tweak these two commands. >From the little HW<br>docs I have, this looks like it's:<br><br>(Address 0xB7, Value 0x02) -> set BC_CTRL=bit(1) (Back light control) to<br>                              1<br>(Address 0xF1, Value 0x23) -> change GPO2_SEL=bits(0:3) from<br>                              MIPI_TE(0001b) to BC_CTRL (0010b)<br><br>BRANCH=scarlet<br>BUG=b:73133861<br>TEST=KD display with and without HW fix on Scarlet<br><br>Change-Id: Ia076a378b10417dd9891746f9bc1086360a0f6e6<br>Signed-off-by: Brian Norris <briannorris@chromium.org><br>---<br>M src/mainboard/google/gru/mainboard.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/25023/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c</span><br><span>index 7cd9acd..c9f3c48 100644</span><br><span>--- a/src/mainboard/google/gru/mainboard.c</span><br><span>+++ b/src/mainboard/google/gru/mainboard.c</span><br><span>@@ -493,6 +493,7 @@</span><br><span>   MIPI_INIT_CMD(0xB4, 0x00),</span><br><span>   MIPI_INIT_CMD(0xB6, 0x80),</span><br><span>   /* VCOM disable */</span><br><span style="color: hsl(120, 100%, 40%);">+    MIPI_INIT_CMD(0xB7, 0x02),</span><br><span>   MIPI_INIT_CMD(0xB8, 0x80),</span><br><span>   MIPI_INIT_CMD(0xBA, 0x43),</span><br><span>   /* VCOM setting */</span><br><span>@@ -506,7 +507,7 @@</span><br><span>     /* VGL setting */</span><br><span>    MIPI_INIT_CMD(0xBF, 0x1A),</span><br><span>   MIPI_INIT_CMD(0xF0, 0x39),</span><br><span style="color: hsl(0, 100%, 40%);">-      MIPI_INIT_CMD(0xF1, 0x21),</span><br><span style="color: hsl(120, 100%, 40%);">+    MIPI_INIT_CMD(0xF1, 0x22),</span><br><span>   /* Gamma setting */</span><br><span>  MIPI_INIT_CMD(0xB0, 0x02),</span><br><span>   MIPI_INIT_CMD(0xC0, 0x00),</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25023">change 25023</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/25023"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia076a378b10417dd9891746f9bc1086360a0f6e6 </div>
<div style="display:none"> Gerrit-Change-Number: 25023 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Brian Norris <briannorris@chromium.org> </div>