mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-13 11:25:14 +00:00
1. Enable fan feature and update fan setting. 2. Enable SW and chipset throttle feature. 3. Fix the issue that cannot set fan duty by "fanduty" in EC console. BUG=b:72974136 BRANCH=none TEST=Check fan command(fanduty/fanset/fanauto) in EC console can work and check below condition. 1.AP throttling soft --> Increased temperature to over trigger point, then to check EC notify event in EC console. 2.AP throttling hard --> Increased temperature to over trigger point, then to check EC notify event and CPU_PROCHOT pin status in EC console. 3.Fan controlled in s3/s5 as expected (by EC) --> Check Fan turn off in s3/s5. 4.Fan controlled in S0 as expected (by DPTF) --> Check Fan keep 100% duty and no see DPTF to set fan duty. But fan duty can be control by "fanduty" in EC console. Change-Id: If9fd7f64c123ff54742052b6310023f0d4b0113a Signed-off-by: raymondchou <raymond_chou@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/906086 Commit-Ready: Raymond Chou <raymond_chou@compal.corp-partner.google.com> Tested-by: Raymond Chou <raymond_chou@compal.corp-partner.google.com> Reviewed-by: Raymond Chou <raymond_chou@compal.corp-partner.google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>