summaryrefslogtreecommitdiff
path: root/include/usb_pd_tbt.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2022-04-07 23:06:11 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-13 16:54:13 +0000
commit985fe9a5e746db7fc2f2ad11e13ce3a77e138a4b (patch)
treebd7e39c536d81f26a9e358ef3dcd996e9e68e668 /include/usb_pd_tbt.h
parentc0333e1cbc5172d666831d5682a15f2cbd00a9cb (diff)
downloadchrome-ec-985fe9a5e746db7fc2f2ad11e13ce3a77e138a4b.tar.gz
RGBKBD: Support backlight control via EC_CMD_PWM_SET_DUTY
In a regular design, a keyboard backlight is connected to a PWM pin of an EC. With an RGB keyboard, the brightness control is part of the RGB keyboard functionality. Thus, EC_CMD_PWM_SET_DUTY with EC_PWM_TYPE_KB_LIGHT should be handled by an RGB keyboard API to control the keyboard backlight brightness. On host, run: localhost ~ # ectool pwmsetduty kb 0x8000 EC prints: RGBKBD: Set GCC to 128 BUG=b:228525798,b:226215987 BRANCH=None TEST=Taniks. See above. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Id8f23ba67728f03664673834be0903e0f593e744 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3576897 Reviewed-by: Parth Malkan <parthmalkan@google.com> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'include/usb_pd_tbt.h')
0 files changed, 0 insertions, 0 deletions