Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make usb power settings in "Configuration Descriptor" setable #19544

Closed
StefJar opened this issue Oct 2, 2019 · 1 comment
Closed

make usb power settings in "Configuration Descriptor" setable #19544

StefJar opened this issue Oct 2, 2019 · 1 comment
Labels
Enhancement Changes/Updates/Additions to existing features

Comments

@StefJar
Copy link

StefJar commented Oct 2, 2019

In some cases the USB port is not only used for communication. If it used for charging it is necessary to set the maximum current via "Configuration Descriptor".

state of the art:

in https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/usb/usb_descriptor.c#L91 it is set fixed to 100mA

approach:

@StefJar StefJar added the Enhancement Changes/Updates/Additions to existing features label Oct 2, 2019
@carlescufi
Copy link
Member

Duplicate of #19545. Please follow-up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

2 participants