Skip to content

CODEC driver #11

Open
Open

Description

@Wolfvak

Currently there's a single "codec" device connected via the SPI bus and it controls touchscreen and circlepad stuff. In reality this driver also controls other registers responsible for sound (https://problemkaputt.de/gbatek.htm#3dstscregistersummary) and works similarly to the MCU or any other mfd, so it needs to be split off. However, the codec driver is also the one responsible for managing the swkbd which is pretty essential.

We need something like wifi or infrared to have proper communications with the system while debugging it (there are no UART ports exposed) before we can even think about ripping out swkbd and splitting the codec driver.

Marking as blocked by #6

Activity

  1. added
    enhancementNew feature or request
    ctrIssue affects old3DS and 2DS
    ktrIssue affects new3DS and new2DS
    on Mar 31, 2021
  2. profi200 commented on Apr 1, 2021

    @profi200

    "Reference" implementation:
    https://github.com/profi200/open_agb_firm/blob/kernel_experiments/source/arm11/hardware/codec.c

    It's a dumpster fire but that's to be expected with reverse engineered code i didn't have time to clean up yet.

  3. Wolfvak commented on Apr 1, 2021

    @Wolfvak
    MemberAuthor
  4. self-assigned this
    on Apr 15, 2021
  5. linked a pull request that will close this issueseparate the codec driver #38on Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ctrIssue affects old3DS and 2DSdriverenhancementNew feature or requestktrIssue affects new3DS and new2DS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions