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

LCD panel drivers #30

Open
Wolfvak opened this issue Apr 13, 2021 · 2 comments
Open

LCD panel drivers #30

Wolfvak opened this issue Apr 13, 2021 · 2 comments
Assignees
Labels
ctr Issue affects old3DS and 2DS driver help wanted Extra attention is needed ktr Issue affects new3DS and new2DS

Comments

@Wolfvak
Copy link
Member

Wolfvak commented Apr 13, 2021

There needs to be a DRM driver for the panels to store their timings, resolution data and other specs.
Initialization is non-trivial as they also talk via I2C, and proper initialization of the panels calls for some register twiddling besides the regulator management.

We'll probably need a secondary way to debug the system, too.

@Wolfvak Wolfvak added help wanted Extra attention is needed ctr Issue affects old3DS and 2DS ktr Issue affects new3DS and new2DS driver labels Apr 13, 2021
@Wolfvak Wolfvak self-assigned this Apr 13, 2021
@DesobedienteTecnologico
Copy link

Hi!

Is there any information about the LCD hardware, model, version?
I assume that the N3DS and N3DS XL have the same, right? Because the resolution is the same. No the display size.

@Wolfvak
Copy link
Member Author

Wolfvak commented Jun 7, 2022

The LCD hw itself doesn't need to be accessed directly, as it is managed by a (more or less) uniform I2C device that remains close enough across all 3DS versions. https://problemkaputt.de/gbatek.htm#3dsi2clcdscreencontrollers

However, there's a lot of other info that's required by the PDC (PICA Display Controller, basically the CRTC) such as the timings, and the DRM subsystem really wants to know what the panel dimensions are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctr Issue affects old3DS and 2DS driver help wanted Extra attention is needed ktr Issue affects new3DS and new2DS
Projects
None yet
Development

No branches or pull requests

2 participants