mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 13:14:51 +00:00
The fans on samus have a recommended minimum duty cycle of 20% while running, but 30% in order to start. We've been using the EC's built-in fan controller for the start requirement, but it has a minimum fast-start duty cycle of 50%. It turns out that that speed is noticeably noisy. This change handles the startup with logic in the EC instead, so that the fan only tries to spin at 30% initially (or if it drops too much below the minimum turning speed). BUG=chrome-os-partner:33429 BRANCH=ToT,samus TEST=make buildall -j Boot the system, let it idle with the browser windows closed, the browse a bit, then idle. Listen for changes to the fans. Before, I could hear the fans kick in and out as the AP load changed. Now it's much quieter. Change-Id: Id35215520c064eb6843686ec8bb5f3618dac6cf6 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/227658 Reviewed-by: Randall Spangler <rspangler@chromium.org>
74 lines
2.1 KiB
Makefile
74 lines
2.1 KiB
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# on-board test binaries build
|
|
#
|
|
|
|
test-list-y=pingpong timer_calib timer_dos timer_jump mutex utils
|
|
#disable: powerdemo
|
|
|
|
test-list-$(BOARD_BDS)+=
|
|
test-list-$(BOARD_PIT)+=kb_scan stress
|
|
test-list-$(BOARD_SNOW)+=kb_scan stress
|
|
test-list-$(BOARD_SPRING)+=kb_scan stress
|
|
|
|
# Samus has board-specific chipset code, and the tests don't
|
|
# compile with it. Disable them for now.
|
|
test-list-$(BOARD_SAMUS)=
|
|
|
|
# Ryu has issues when building tests
|
|
test-list-$(BOARD_RYU)=
|
|
|
|
# For some tests, we are running out of RAM for Samus PD. Disable them for
|
|
# now.
|
|
test-list-$(BOARD_SAMUS_PD)=
|
|
|
|
# Emulator tests
|
|
test-list-host=mutex pingpong utils kb_scan kb_mkbp lid_sw power_button hooks
|
|
test-list-host+=thermal flash queue kb_8042 extpwr_gpio console_edit system
|
|
test-list-host+=sbs_charging adapter host_command thermal_falco led_spring
|
|
test-list-host+=bklight_lid bklight_passthru interrupt timer_dos button
|
|
test-list-host+=motion_lid math_util sbs_charging_v2 battery_get_params_smart
|
|
test-list-host+=lightbar inductive_charging usb_pd fan
|
|
|
|
adapter-y=adapter.o
|
|
battery_get_params_smart-y=battery_get_params_smart.o
|
|
bklight_lid-y=bklight_lid.o
|
|
bklight_passthru-y=bklight_passthru.o
|
|
button-y=button.o
|
|
console_edit-y=console_edit.o
|
|
extpwr_gpio-y=extpwr_gpio.o
|
|
flash-y=flash.o
|
|
hooks-y=hooks.o
|
|
host_command-y=host_command.o
|
|
inductive_charging-y=inductive_charging.o
|
|
interrupt-y=interrupt.o
|
|
interrupt-scale=10
|
|
kb_8042-y=kb_8042.o
|
|
kb_mkbp-y=kb_mkbp.o
|
|
kb_scan-y=kb_scan.o
|
|
led_spring-y=led_spring.o led_spring_impl.o
|
|
lid_sw-y=lid_sw.o
|
|
math_util-y=math_util.o
|
|
motion_lid-y=motion_lid.o
|
|
mutex-y=mutex.o
|
|
pingpong-y=pingpong.o
|
|
power_button-y=power_button.o
|
|
powerdemo-y=powerdemo.o
|
|
queue-y=queue.o
|
|
sbs_charging-y=sbs_charging.o
|
|
sbs_charging_v2-y=sbs_charging_v2.o
|
|
stress-y=stress.o
|
|
system-y=system.o
|
|
thermal-y=thermal.o
|
|
thermal_falco-y=thermal_falco.o
|
|
timer_calib-y=timer_calib.o
|
|
timer_dos-y=timer_dos.o
|
|
usb_pd-y=usb_pd.o
|
|
utils-y=utils.o
|
|
battery_get_params_smart-y=battery_get_params_smart.o
|
|
lightbar-y=lightbar.o
|
|
fan-y=fan.o
|