Low flashlight brightness bugfix

Low flashlight brightness bugfix

Because the platform side cannot output a PWM wave with 100% duty
 cycle, the brightness of the flashlight is too low. To fix this,
 we manually pull up this pin.

Change-Id: I84eacdef17c56b775dba679446e672868de2a279
Reviewed-on: https://gerrit.mot.com/2250278
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Pengfei Qiao <qiaopf1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
longc129 authored and Gilberto Gambugge committed 2023-06-01 00:49:00 -03:00
1 parent a8d84f405e
commit 61405967cb
2 files changed
+8 -1

No files matched your search

+7 -1
View File
@@ -216,6 +216,12 @@ config ARCH_MMAP_RND_BITS_MAX
default 16 if ARM64_16K_PAGES
default 18
config DEVON_CAMERA_FLASH
bool "For devon flashlight"
default n
help
Add for fix up devon flashlight brightness to low
config ARCH_MMAP_RND_COMPAT_BITS_MIN
default 7 if ARM64_64K_PAGES
default 9 if ARM64_16K_PAGES
@@ -1702,4 +1708,4 @@ config CAM_SENSOR_PROBE_RETRY
bool "For sensor probe fail"
default n
help
Add retries for sensor id matching.
Add retries for sensor id matching.
@@ -13,6 +13,7 @@
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_DEVON_CAMERA_FLASH=y
CONFIG_DEVON_DTB=y
CONFIG_BAT_NTC_10K=y
CONFIG_PANEL_NOTIFICATIONS=y