View Issue Details

IDProjectCategoryView StatusLast Update
0004179fsimx_LinuxDisplaypublic2024-03-26 11:26
ReporterKeller Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionfsimx6-B2019.08 
Target Versionfsimx8mx-Y2020.11-preFixed in Versionfsimx6-Y2020.03 
Summary0004179: [armStoneA9r2 ] LVDS backlight enabled too early in boot process
DescriptionA customer reports problems on armStoneA9r2 with the LVDS backlight that can be broken down to three observations:

1. When armStoneA9r2 is switched on, the backlight of the LVDS display has a short bright flash before the display contains any content.

2. Later when Linux starts, the backlight is enabled (VCLF_ON) before VLCD is anabled, i.e. again before any content is visible.

3. VLCD toggles several times when it is enabled in Linux before it is stable.
Steps To ReproduceConfigure device tree for LVDS. Attach oscilloscope to VCFL_ON and VLCD signals. Switch on the board. Observe that VCFL_ON is enabled right after start and later in Linux before VLCD is valid and stable.
Additional Information1.
Unfortunately F&S has chosen the pin SD4_DAT0 for the VCFL_ON signal. This pin has a second function NAND_DQS. This signal is only needed for DDR NAND flashes, but as investigation has shown, it is nonetheless initialized by the CPU ROM Loader and used as output. So the reset state GPIO as shown in the reference manual is not true when booting from NAND. This can not be avoided by software.

The pin is configured back to a GPIO in U-Boot, but that is rather late, so that a high signal can be seen on this pin for about 75ms.

Unfortunately this pin is used on *all* F&S boards based on i.MX6. So we have this problem on all these boards.

2.
The backlight is switched on when the backlight driver is started. Basically it should follow the VLCD value, but as the "names" entry in the device tree does not match the display driver name, it is never switched off again. Here we have to find a way how we can name the display driver in a consistent way so that we can refer to it in the backlight node in device tree for all our display combinations. Check that the backlight is not enabled by default, only after an unblank notification is issued.

3.
When the driver is configured, it disables and enables VLCD for every single setting that is changed. This is way too much. It should be sufficient to enable VLCD once when the blanking is finally disabled.
Forum Link

Activities

gerbach

2024-03-26 11:26

developer   ~0004836

Git commits:
06b95d18b130cf5134bb093d26d527ba08c29af2
668e3068a0d5eb3813b8f1dfd2b87da5932d8840
094fb2a37cab175bbb9b699a56f6c48dab3510d0
7c2d21dce333fdb53f56718991454bea307aaebf
e57afb0a6a67ca6f46466742726d2b92c14052b6