Skip to content

kernel: Give the iPad 6 its ambient light sensor - #130

Merged
henrikklee merged 1 commit into
mainfrom
ipad6-light-sensor
Nov 12, 2026
Merged

henrikklee merged 1 commit into
mainfrom
ipad6-light-sensor

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Apple's device trees put the same CT819 light sensor on the iPad 6 and iPad 7 (i2c2 0x39, GPIO 27 level-low). It was described in t8010-ipad7.dtsi only, which includes t8010-ipad6.dtsi; the node and its als0 alias move to the iPad 6 file. The iPad 6 (J71b/J72b) gains it, the iPad 7 is unchanged. Driver list regenerated from a built kernel: tsl2583 now binds on j71b and j72b. Untested on the iPad 6.

Apple's device trees put the same CT819 light sensor on the iPad 6
and iPad 7 (i2c2 0x39, GPIO 27). It was described only in the iPad 7
file; it now sits in the shared iPad 6 file, so the iPad 6 (J71b/J72b)
gets automatic brightness readings too and the iPad 7 is unchanged.
Untested on the iPad 6.
@henrikklee
henrikklee merged commit 8870e72 into main Nov 12, 2026
4 checks passed
@henrikklee
henrikklee deleted the ipad6-light-sensor branch November 12, 2026 21:38
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.

1 participant