Commit b86739fd authored by Fei Shao's avatar Fei Shao Committed by Commit Bot
Browse files

kukui: update ALS setting in chromeos-config

Krane has a ALS, also assuming there's no ALS for Kukui family by default.
Unified some format as well.

BUG=b:144395799
TEST=emerge-kukui chromeos-config-bsp-kukui chromeos-config
     grep -C5 'has-ambient-light-sensor' \
     /build/kukui/usr/share/chromeos-config/config.json
     manually checked the config is set after changing format

Change-Id: I61a632f89d0214376c34535f9cfce6192ae58194
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/board-overlays/+/1978358


Commit-Queue: Fei Shao <fshao@chromium.org>
Tested-by: default avatarFei Shao <fshao@chromium.org>
Reviewed-by: default avatarMengqi Guo <mqg@chromium.org>
parent 84facef8
......@@ -73,8 +73,10 @@ common_config: &common_config
test-label: "{{$device-name}}"
power: &power_common
low-battery-shutdown-percent: "4.0"
usb-min-ac-watts: 10
usb-min-ac-watts: "10"
disable-dark-resume: "0"
$has-ambient-light-sensor: "0"
has-ambient-light-sensor: "{{$has-ambient-light-sensor}}"
bluetooth:
config: *bluetooth_config
flags: *bluetooth_flags
......@@ -104,19 +106,18 @@ krane-config: &krane_config
$fw-base-build-name: "masterball"
power:
<<: *power_common
$has-ambient-light-sensor: "1"
charging-ports: |
CROS_USBPD_CHARGER0 RIGHT
min-visible-backlight-level: "12"
$internal-backlight-als-steps: |-
internal-backlight-als-steps: |-
7.07 -1 15
40.88 8 95
65.88 80 630
79.52 550 1200
92.92 880 3000
100.0 2000 -1
internal-backlight-als-steps: "{{$internal-backlight-als-steps}}"
$internal-backlight-no-als-battery-brightness: "70.62"
internal-backlight-no-als-battery-brightness: "{{$internal-backlight-no-als-battery-brightness}}"
internal-backlight-no-als-battery-brightness: "70.62"
audio: *krane_audio_config
kodama-config: &kodama_config
......@@ -128,7 +129,6 @@ kodama-config: &kodama_config
audio: *audio_config
power:
<<: *power_common
has-ambient-light-sensor : 0
kakadu-config: &kakadu_config
<<: *common_config
......@@ -139,7 +139,6 @@ kakadu-config: &kakadu_config
audio: *audio_config
power:
<<: *power_common
has-ambient-light-sensor : 0
chromeos:
devices:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment