mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge "defconfig: Configure MaxPower to 900mA"
This commit is contained in:
commit
4d6ec09334
2 changed files with 6 additions and 3 deletions
1
arch/arm/configs/vendor/sdxlemur.config
vendored
1
arch/arm/configs/vendor/sdxlemur.config
vendored
|
|
@ -187,6 +187,7 @@ CONFIG_MSM_HSUSB_PHY=y
|
|||
CONFIG_USB_PD=y
|
||||
CONFIG_USB_PD_POLICY=y
|
||||
CONFIG_QPNP_USB_PDPHY=y
|
||||
CONFIG_USB_GADGET_VBUS_DRAW=900
|
||||
CONFIG_SPMI=y
|
||||
CONFIG_CRYPTO_DEV_QCOM_MSM_QCE=y
|
||||
CONFIG_CRYPTO_DEV_QCRYPTO=y
|
||||
|
|
|
|||
|
|
@ -97,8 +97,8 @@ config USB_GADGET_DEBUG_FS
|
|||
to conserve kernel memory, say "N".
|
||||
|
||||
config USB_GADGET_VBUS_DRAW
|
||||
int "Maximum VBUS Power usage (2-500 mA)"
|
||||
range 2 500
|
||||
int "Maximum VBUS Power usage (2-900 mA)"
|
||||
range 2 900
|
||||
default 2
|
||||
help
|
||||
Some devices need to draw power from USB when they are
|
||||
|
|
@ -107,7 +107,9 @@ config USB_GADGET_VBUS_DRAW
|
|||
such as an AC adapter or batteries.
|
||||
|
||||
Enter the maximum power your device draws through USB, in
|
||||
milliAmperes. The permitted range of values is 2 - 500 mA;
|
||||
milliAmperes. The permitted range of values depends on the
|
||||
connected speed: for SuperSpeed and up it is 2 - 900 mA, but
|
||||
connections at High Speed or slower will be capped at 500 mA;
|
||||
0 mA would be legal, but can make some hosts misbehave.
|
||||
|
||||
This value will be used except for system-specific gadget
|
||||
|
|
|
|||
Loading…
Reference in a new issue