Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 85cc38fc authored by Hemant Kumar's avatar Hemant Kumar Committed by Jack Pham
Browse files

usb: pd: Add support to set the maximum speed via extcon



Driver sets the speed using extcon cable state flag. This
allows to start host or peripheral in selected speed.
By default start peripheral in super speed mode. However,
starting host in super speed consumes more power so to
achieve lower consumption default it to high speed only.

Add module params to override the default behavior as follows:

 # echo Y|N > /sys/module/policy_engine/parameters/ss_dev
 # echo Y|N > /sys/module/policy_engine/parameters/ss_host

Change-Id: I2a45a4149f593a129b4dd123df730405169404f9
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent a5b4466d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment