summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-11-01 14:34:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-11-15 02:16:02 -0800
commit8c506ad9954b783a50d0785a117c28e3949c2695 (patch)
treed025a7042a3783e0a7e35888428a806442b9700c /board
parent3b41a2b157de0a48160745d632163f7cc400c49b (diff)
downloadchrome-ec-8c506ad9954b783a50d0785a117c28e3949c2695.tar.gz
motion_lid: Add support for setting DPTF profile based on lid angle
This change adds support in motion_lid driver to set DPTF profile number based on the lid angle, only when: 1. CONFIG_DPTF_MULTI_PROFILE is selected by board 2. If board does not have a hall sensor to indicate completely flipped mode. This is done by adding another new config option CONFIG_DPTF_MOTION_LID_NO_HALL_SENSOR which will have to be selected by boards to indicate to motion_lid driver to set DPTF profile numbers. BUG=b:117844490 CQ-DEPEND=CL:1295851 BRANCH=None TEST=make -j buildall Change-Id: If695429240e0645e3d19eeb9073bd00bac580705 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1295852 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions