<div dir="ltr">> <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">So looking at the specs for the display that comes with the ASUS Chromebook C201 I can see the following PIN structure [1] is required on the display end.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm confused... there's 30 pins there, but there should only be 20 on the connector. I guess you got this from the panel datasheet directly? If you bought your panel together with the cable, you still don't know how those map to what's on the connector. Looks like they're dropping 10 of them and rearranging the rest, because this looks nothing like the schematics I have. (For reference it starts with two VCC_LED, two VCC33_LCD, then HOTPLUG and two backlight-related pins.)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">> </span><span style="font-size:12.8px">Although even if they did have the lane exposes it looks like your helpful advice on the coreboot function would be a bit out of my depth.</span><span style="font-size:12.8px"><br><br class="m_2842850765642464567gmail-Apple-interchange-newline">It's pretty simple... try this patch (untested) which should implement what I suggested. I think there's a decent chance this might make your other panel work as well. (Note that this is *only* for the exact panel you originally posted log output for. Also: I think this should work, but there's a slim chance wrong pixel clocks may damage a panel, no warranty, yada yada.)</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">diff --git a/src/soc/rockchip/rk3288/<wbr>clock.c <a href="http://b/src/soc/rockchip/rk3288/clock" class="m_2842850765642464567gmail-klinked" target="_blank">b/src/soc/rockchip/rk3288/<wbr>clock</a>.c</span></div><div><span style="font-size:12.8px">index 74151e85cb..4474ff81aa 100644</span></div><div><span style="font-size:12.8px">--- a/src/soc/rockchip/rk3288/<wbr>clock.c</span></div><div><span style="font-size:12.8px">+++ <a href="http://b/src/soc/rockchip/rk3288/clock" class="m_2842850765642464567gmail-klinked" target="_blank">b/src/soc/rockchip/rk3288/<wbr>clock</a>.c</span></div><div><span style="font-size:12.8px">@@ -539,6 +539,11 @@ static int pll_para_config(u32 freq_hz, struct pll_div *div, u32 *ext_div)</span></div><div><span style="font-size:12.8px">                return -1;</span></div><div><span style="font-size:12.8px">        }</span></div><div><span style="font-size:12.8px"> </span></div><div><span style="font-size:12.8px">+       div->no = 4;</span></div><div><span style="font-size:12.8px">+       div->nf = 91;</span></div><div><span style="font-size:12.8px">+       div->nr = 4;</span></div><div><span style="font-size:12.8px">+       return 0;</span></div><div><span style="font-size:12.8px">+</span></div><div><span style="font-size:12.8px">        div->no = no;</span></div><div><span style="font-size:12.8px"> </span></div><div><span style="font-size:12.8px">        best_diff_khz = vco_khz;</span></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm not sure if the coreboot source is prepared for that, though. There<br>
are some pieces in the code that confuse me (e.g. the zeros passed to<br>
rk_edp_set_video_cr_mn(), Julius, do you happen to know something about<br>
that? is there public documentation for Rockchip's display engine?).<br></blockquote><div><br></div><div>Sorry, I gotta admit I'm not a display guy at all. We mostly just took what they gave us. The reference manuals were all shared with us under NDA... you could try asking them directly, but I doubt you'll have much luck. The document you're looking for is called "Rockchip EDP TX IP Interface". It has lots of nice explanations including about M and N, but I don't really understand them without background.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I would, however, give the following one shot:<br>
<br>
1.  in soc/rockchip/common/edp.c line 615 override the lane count:<br>
<br>
    edp->link_train.lane_count = 1;<br></blockquote><div><br></div><div>The other lanes aren't routed on the board. This isn't going to help.</div></div></div></div></div>