Hi, finally I succeeded in flashing the first panel controller.
The reason why we need that is that the BOE panels come unprogrammed.
Which means that we have to send a specific programming sequence through DCS/generic packets to the panel or it would not set up its gamma curves, and some other internal things.
The most noticeable effect of an unprogrammed panel controller is a vertical flickering stripe in the middle of the panel (which is better than with other panels which don’t show anything with unprogrammed controller).
Although I had already added that to our panel driver [1] and it works, we have a problem as soon as we want to operate the panel behind the rotator chip. The SSD2858 has a very unfortunate limitation that prohibits us sending the panel controller setup through the rotator.
The easiest solution appears to be to program the NVRAM/OTP default values of the panel controller. So that we simply do not have to send any programming command through the ssd chip.
This is what I have now set up. I use the omap5-panel interface board with bridged ssd chip. And I have added a DC/DC converter to produce 7.5V programming voltage plus a transistor which can be controlled by a spare gpio signal. This allows to program the controller through the MIPI interface and issue a “NVRAM write” command to copy the setup to NVRAM.
For the code [2], I use the panel-mipi-debug driver where a shell script can control almost everything of the MIPI interface (reset line, power, video stream, send/receive DCS and generic packets).
Anyways, this is only of temporary need. ED already has a batch of unprogrammed panels, while for series production he was promised to get them programmed at the factory.
So he will send me this batch and they will be programmed in quite a short time. Then, we can use them for our hardware prototypes.
This means nobody of you will see an unprogrammed panel (unless I forget one) and we can remove lines 129 - 315 of [1] again. And the programming code.
BR, Nikolaus
[1]: http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=drivers/video/fbdev/om... [2]: http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/4.0-rc1