summaryrefslogtreecommitdiff
path: root/sys/src/9/imx8/lcd.c
AgeCommit message (Collapse)Author
2022-09-05imx8/lcd: rework screen blankingSigrid Solveig Haflínudóttir
The previously reverted change has been reworked - things get shut down in the right order, with clocks gated. A lock is no longer needed either. The combined effect is ~25mA saved when screen is off, compared to no changes.
2022-09-02imx8/lcd: disable the bridge output on blankSigrid Solveig Haflínudóttir
Disabling LCDIF often produces flickering output at the top of the LCD panel (timings going wrong?). Instead, just disable the output on the bridge, which is much simpler, doesn't seem to cause any issues, and saves enough power just as well.
2022-09-01imx8/lcd: toggle lcdif on blankscreenSigrid Solveig Haflínudóttir
Stop DOTCLK on interrupt after the current frame is done, toggle PWM2.
2022-08-08imx8: add aux/imx8pm with lcd brightness controlSigrid Solveig Haflínudóttir
2022-07-12imx8: fix reduced lcdif pix clk workaround by enabling underflow recoverySigrid Solveig Haflínudóttir
2022-07-10imx8: reset lcdif and sn65sdi86 bridge before initcinap_lenrek
2022-07-09imx8: turn backlight off when blankingcinap_lenrek
2022-06-18imx8/lcd: set iomux pad configurationcinap_lenrek
2022-06-13imx8: add gpio helper gpioout()/gpioin()cinap_lenrek
2022-06-13imx8: provide iomuxgpr() function to access iomuxc's gpr'scinap_lenrek
2022-06-13imx8: add iomuxpad() helper for pad and mux controlcinap_lenrek
2022-06-12imx8: make gpc functionality available with a powerup() functioncinap_lenrek
2022-06-12imx8/lcd: reduce flickercinap_lenrek
increasing the pixel clock to 80% of the edid clock value reduces flicker and also seems to not trigger the shifting issue.
2022-06-12imx8/lcd: silly work around for display instabilitycinap_lenrek
running at the actual pixel clock causes the screen to shift horizontally after a while. using 60% seems to fix it - for now.
2022-06-11imx8: mainscreen turn on!cinap_lenrek
supports the lcd panel and adds alot of infrastructure like for the ccm clock module and the i2c controllers.