Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RG280M (and possibly other devices) panel driver settings #8

Closed
wants to merge 16 commits into from
Closed

RG280M (and possibly other devices) panel driver settings #8

wants to merge 16 commits into from

Commits on Oct 5, 2020

  1. drm/panel: Add Sharp Y030XX067A 3.0" 320x480 panel

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 5, 2020
    Configuration menu
    Copy the full SHA
    2ae3edd View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. RG280M (and possibly other devices) panel driver settings

    This panel has its subpixels in delta arrangement fed by a serial bus. A built-in filter can be used to make it perform as a standard RGB device (PIXELCOLORWIRE)
    
    The formula to find the right timings and get a perfect 60Hz is (320+(x/3))*(480+y)*3*Hz=PixelClock. Thus we can use htotal=485, vtotal=640 and a pixel clock of 43,2MHz to get a perfect 60Hz refresh.
    
    It presents a challenge, as if everything is set up as it should in theory, the last blue subpixel vertical line does not light up on the right side of the screen.
    
    A workaround is to send GBR (via a reg_map in the ingenic drm driver) and offset HPOSITION by -1, that covers the last subpixel but that code will need to be conditioned, which pcercuei said he will do.
    
    Signed-off-by: Christophe Branchereau <[email protected]>
    citral23 committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    624f7b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. RG280M (and possibly other devices) panel driver settings

    This panel has its subpixels in delta arrangement fed by a serial bus. A built-in filter can be used to make it perform as a standard RGB device (PIXELCOLORWIRE)
    
    The formula to find the right timings and get a perfect 60Hz is `(320+(x/3))*(480+y)*3*Hz=PixelClock`. Thus we can use htotal=485, vtotal=640 and a pixel clock of 43,2MHz to get a perfect 60Hz refresh.
    
    It presents a challenge, as if everything is set up as it should in theory, the last blue subpixel vertical line does not light up on the right side of the screen.
    
    A workaround is to send GBR (via a reg_map in the ingenic drm driver) and offset HPOSITION by -1, that covers the last subpixel but that code will need to be conditioned, which pcercuei said he will do.
    
    Signed-off-by: Christophe Branchereau <[email protected]>
    citral23 committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    e6869ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0693cdd View commit details
    Browse the repository at this point in the history
  3. media: uapi: Add MEDIA_BUS_FMT_GBR888_3X8 media bus format

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    de8d95a View commit details
    Browse the repository at this point in the history
  4. drm/panel: Add Sharp Y030XX067A 3.0" 320x480 panel

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    1285a40 View commit details
    Browse the repository at this point in the history
  5. drm/ingenic: Simplify computation of vt/ht

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    5804961 View commit details
    Browse the repository at this point in the history
  6. drm/ingenic: Compute timings according to mode->crtc_*

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    ac837a9 View commit details
    Browse the repository at this point in the history
  7. drm/ingenic: Properly compute timings when using a 3x8-bit panel

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    b1fb952 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. drm/ingenic: Add support for serial 8-bit GBR panels

    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    c34d7f8 View commit details
    Browse the repository at this point in the history
  2. MIPS: ingenic: Add support for the YLM RG-280M

    Add support for the YLM RG-350M, known as the Anbernic RG-280M in the
    western world.
    
    The RG-280M is a slightly modified version of the RG-350, with a
    different LCD panel (320x480 non-square pixels) and only one analog
    stick.
    
    Signed-off-by: Paul Cercueil <[email protected]>
    pcercuei committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    9d096cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c67d9e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5218815 View commit details
    Browse the repository at this point in the history
  5. Better settings for the y030xx067a panel found in the rg280m

    Compute all hfp/hbp/hsync as x3 based on bus type, and leave hdisplay x1
    
    480x625@54MHz now throws a value out of range, so change it to [email protected]
    
    Signed-off-by: Christophe Branchereau <[email protected]>
    citral23 committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    f226c7f View commit details
    Browse the repository at this point in the history
  6. Ingenic Driver : simplification of ht/vt computation

    Signed-off-by: Christophe Branchereau <[email protected]>
    citral23 committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    94c4380 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Configuration menu
    Copy the full SHA
    fa21ff3 View commit details
    Browse the repository at this point in the history