Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
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)
2026-09-12 13:36:46 +00:00

183 lines
5.5 KiB
Plaintext

#
# Flashlight device configuration
#
config MTK_FLASHLIGHT
tristate "Mediatek flashlight driver"
help
This is flashlight driver for camera.
Say Y here if you want a flashlight core to handle flashlight devices.
If you have any questions about this, say Y here, only say N
if you know exactly what you are doing.
config MTK_V4L2_FLASHLIGHT
bool "Mediatek V4L2 flashlight driver"
help
Say Y to enable V4L2 flashlight device
This Framework is good for
controling flashlight Leds.
Say N to disable V4L2 flashlight.
config MTK_FLASHLIGHT_LED191
tristate "Mediatek flashlight led191 gpio driver"
depends on MTK_FLASHLIGHT
help
This is flashlight led191 gpio driver for camera.
Say Y here if you want a driver IC with GPIO interface.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_LM3642
tristate "Mediatek flashlight with driver IC (TI LM3642)"
depends on MTK_FLASHLIGHT
help
This is for the flashlight driver IC (TI LM3642).
Say Y here if you want a flashlight driver IC LM3642.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_LM3643
tristate "Mediatek flashlight with driver IC (TI LM3643)"
depends on MTK_FLASHLIGHT
help
This is for the flashlight driver IC (TI LM3643).
Say Y here if you want a flashlight driver IC LM3643.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_LM3644
tristate "Mediatek flashlight with driver IC (TI LM3644)"
depends on MTK_FLASHLIGHT
help
This is for the flashlight driver IC (TI LM3644).
Say Y here if you want a flashlight driver IC LM3644.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_RT4505
tristate "Mediatek flashlight with driver IC (Richtek RT4505)"
depends on MTK_FLASHLIGHT
help
This is for the flashlight driver IC (Richtek RT4505).
Say Y here if you want a flashlight driver IC RT4505.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_RT5081
tristate "Mediatek flashlight with driver IC (Richtek RT5081)"
depends on MTK_FLASHLIGHT && RT_FLASHLIGHT
help
This is for the flashlight driver IC (Richtek RT5081).
Say Y here if you want a flashlight driver IC RT5081.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_MT6336
tristate "Mediatek flashlight with driver IC (Mediatek MT6336)"
depends on MTK_FLASHLIGHT
help
This is for the flashlight driver IC (Mediatek MT6336).
Say Y here if you want a flashlight driver IC MT6336.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_MT6370
tristate "Mediatek flashlight with driver IC (Mediatek MT6370)"
depends on MTK_FLASHLIGHT && RT_FLASHLIGHT
help
This is for the flashlight driver IC (Mediatek MT6370).
Say Y here if you want a flashlight driver IC MT6370.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_MT6360
tristate "Mediatek flashlight with driver IC (Mediatek MT6360)"
depends on MTK_FLASHLIGHT && RT_FLASHLIGHT
help
This is for the flashlight driver IC (Mediatek MT6360).
Say Y here if you want a flashlight driver IC MT6360.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_DUMMY
tristate "Mediatek flashlight dummy driver"
depends on MTK_FLASHLIGHT
help
This is flashlight dummy driver for camera.
Say Y here if you want a dummy driver IC with I2C interface.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_DUMMY_GPIO
tristate "Mediatek flashlight dummy gpio driver"
depends on MTK_FLASHLIGHT
help
This is flashlight dummy gpio driver for camera.
Say Y here if you want a dummy driver IC with GPIO interface.
Select this only if your board has this IC.
Say M here if you want to compile this driver as a module.
config MTK_FLASHLIGHT_DEBUG
bool "Mediatek flashlight debugging messages"
depends on MTK_FLASHLIGHT
help
Say Y here if you want the flashlight to produce a bunch of debug
messages to the system log.
Select this if you are having a problem with flashlight support
and want to see more of what is going on.
config MTK_FLASHLIGHT_PT
bool "Mediatek flashlight power throttling"
depends on MTK_FLASHLIGHT
help
This is for flashlight power throttling.
Power throttling will limit flashlight function,
such as disable flashlight, decrease brightness level or
change flash mode to torch mode.
config MTK_FLASHLIGHT_PT_STRICT
bool "Mediatek flashlight power throttling (strict)"
depends on MTK_FLASHLIGHT_PT
help
This is for flashlight strict power throttling.
Strict power throttling will disable flashlight when
over-current, low battary voltage and low battary percentage
situations.
config MTK_FLASHLIGHT_DLPT
bool "Mediatek flashlight dynamic low power throttling"
depends on MTK_FLASHLIGHT
help
This is for flashlight dynamic low power throttling.
Dynamic low power throttling is a mechanism to monitor
the current of battary dynamicly. It will start by request
and notice user by kernel notifier.