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

Tow-Boot doesn't differentiate 1.2 and 1.2b board revisions for Original PinePhone #293

Open
AndreySV opened this issue Jan 3, 2024 · 2 comments
Labels
Milestone

Comments

@AndreySV
Copy link
Contributor

AndreySV commented Jan 3, 2024

In newer 1.2 PinePhone board revisions LIS3MDL magnetometer was replaced by
AF8133J. They use the same PB1 pin in different modes.

LIS3MDL uses it as an gpio input to handle interrupt.
AF8133J uses it as an gpio output as a reset signal.

It wasn't possible at runtime to enable both device tree
nodes and detect supported sensor at probe time. As a result new board
revision was introduced with AF8133J definition (1.2b).

2023-007-rc3 detect both board revisions as 1.2. As a result magnetometer isn't working on 1.2b boards.

@samueldr
Copy link
Contributor

Hi, sorry it took a while until I got back to this issue.

Adding a quick note to self: (new) related PR: Tow-Boot/U-Boot#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants