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

Switch to 16-bit writes for summit panel brightness adjustment #327

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

asdfugil
Copy link

@asdfugil asdfugil commented Sep 26, 2024

Some summit panels like the ones found on iPhone X has a max brightness of 2047 and needs 16-bit writes. This change seems to work on both A11 and M1.

Some summit panels like the ones found on the main display of iPhone X
has a max brightness of 2047 and needs 16-bit writes.

Tested-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Nick Chan <[email protected]>
The max brightness between different summit panels may be different
so allow the max brightness to be set via device tree.

Tested-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Nick Chan <[email protected]>
@jannau jannau merged commit 6055e4c into AsahiLinux:bits/230-touchbar Oct 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants