Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
35 lines
575 B
Plaintext
35 lines
575 B
Plaintext
This is a introduction for flashlight chip RT5081
|
|
|
|
[Scope]
|
|
- Two channel for two LEDs
|
|
|
|
|
|
[Hardware Interface]
|
|
- I2C
|
|
* For general control
|
|
* Slave address 0x34
|
|
|
|
|
|
[Limit]
|
|
- Channel couple:
|
|
* Torch/Strobe mode
|
|
* Strobe mode watchdog timer
|
|
|
|
- Channel decouple:
|
|
* Current source
|
|
* Brightness level
|
|
|
|
- Torch Mode
|
|
* Step current: 12.5 mA
|
|
* Min currnet: 25 mA
|
|
* Max current: 400 mA
|
|
|
|
- Strobe Mode
|
|
* Step current: 12.5 mA
|
|
* Min currnet: 25 mA
|
|
* Max current: 1500 mA
|
|
* Max current for two channel: 2500 mA
|
|
* Min protected timeout: 64 ms
|
|
* Max protected timeout: 2432 ms
|
|
|