Skip to content

Pinephone Pro: Set GPIO4_PD3 as input#195

Merged
samueldr merged 1 commit intoTow-Boot:developmentfrom
antoniprzybylik:stk3311fix
Nov 8, 2022
Merged

Pinephone Pro: Set GPIO4_PD3 as input#195
samueldr merged 1 commit intoTow-Boot:developmentfrom
antoniprzybylik:stk3311fix

Conversation

@antoniprzybylik
Copy link
Contributor

@antoniprzybylik antoniprzybylik commented Sep 22, 2022

[Copied from the other PR]

Good afternoon,

Setting GPIO4_PD3 as input is necessary for STK3311 sensor driver to function properly. That's what megi is doing in levinboot -- https://xff.cz/git/levinboot/commit/?id=6de55d9d4e991e9f261b4e323dfa8b0682cbe9e0

I did not have a chance to test it yet, will keep you informed about any progress on this.


I tested my previous patch. It didn't work, it didn't even compile. After that, however, I made some changes. You can see them in the history ("antoniprzybylik force-pushed the released branch from 318ce50 to bc7ccc2").

Now it works: It compiles. What's more, I tested it on real hardware, it works. What's more, the bug is fixed!!! STK3311 driver functions perfectly with my fixed tow-boot.


I changed name of this branch in my Tow-Boot repo from "released" to "stk3311fix". I had to open new pull request.

Previous (closed) pull request -- #193 .

@samueldr samueldr added this to the 2022.07-006 milestone Nov 3, 2022
@samueldr samueldr changed the base branch from development to released November 4, 2022 02:26
@samueldr samueldr changed the base branch from released to development November 4, 2022 02:26
@samueldr
Copy link
Contributor

samueldr commented Nov 4, 2022

github was being silly and wouldn't update the commit listing without forcing some event on the PR...

@samueldr
Copy link
Contributor

samueldr commented Nov 8, 2022

Force-pushed an inconsequential change, changing the prefix of the commit title to the board identifier.

Will merged in a batch soon~ish, expect another force push to rebase when merging after testing.

STK3311 driver expects this pin set as input.

Signed-off-by: Antoni Przybylik <antoni.przybylik@wp.pl>
@samueldr samueldr merged commit 3409ba3 into Tow-Boot:development Nov 8, 2022
@samueldr
Copy link
Contributor

samueldr commented Nov 8, 2022

Thank you for the contribution!

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

Development

Successfully merging this pull request may close these issues.

2 participants