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)
37 lines
580 B
Plaintext
37 lines
580 B
Plaintext
This is a introduction for flashlight chip LM3643
|
|
|
|
[Scope]
|
|
- Two channel for two LEDs
|
|
|
|
|
|
[Hardware Interface]
|
|
- I2C
|
|
* For general control
|
|
* Slave address 0x63
|
|
|
|
- GPIO
|
|
* For enable/disable chip
|
|
|
|
|
|
[Limit]
|
|
- Channel couple:
|
|
* Torch/Strobe
|
|
|
|
- Channel decouple:
|
|
* Enable/Disable
|
|
* Brightness level
|
|
|
|
- Torch Mode
|
|
* Step current: 1.4 mA
|
|
* Min currnet: 0.977 mA
|
|
* Max current: 179 mA
|
|
|
|
- Strobe Mode
|
|
* Step current: 11.725 mA
|
|
* Min currnet: 10.9 mA
|
|
* Max current: 1500 mA
|
|
* Max current for two channel: 1500 mA
|
|
* Min protected timeout: 10 ms
|
|
* Max protected timeout: 400 ms
|
|
|