Samsung Manta: improve battery support, add sensors, fix WiFi and RTC
This MR proposes the changes described below.
Improve battery support:
- DT support for DS2482/DS2484 I2C<->W1 bridge
- Add support for DS2484 sleep GPIO
- improvement to the smb347-charger, as per discussion in postmarketOS/pmaports#2534 (moved) (cc @rumpel)
Add support for sensors:
- BMP182 (pressure)
- BH1750 (light)
- MPU6050 (IMU)
- AK8963 (magnetometer) -> Looking for a way to check the orientation matrix on this one
Fix WiFi:
- WiFi was slow and caused many messages in dmesg, due to the bus being configured at too high of a speed. The original value was the one from the downstream kernel, but digging a bit revealed that several users experienced WiFi slowdowns on Nexus10 stock.
Fix RTC:
- S3C RTC seems to be broken on this device. Proposal to not enable it so that userspace automatically use the working MAX77686 RTC.
- See postmarketOS/pmaports!4783 (comment 1762878848) (cc @knuxify, @jenneron).
Misc:
- updated defconfig
- fix display on some devices (and dmesg complains about it on most, maybe all). See postmarketOS/pmaports#2615.
7461591a could be merged with f2a4eaff, since it is just thatCLKS_NR
was moved from bindings to clock drivers in 835dc5ac.
Edited by Alexandre Marquet