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
drivers: tcpc: add FUSB302B TCPC driver #63479
Conversation
Add OtterPill STM32F072 board configuration. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
d8fb66d
to
39c2eaa
Compare
This adds a USB Type-C Port Controller driver for the FUSB302B chip. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
This adds a VBUS measurement driver for the FUSB302B chip. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
This adds the builtin FUSB302B on the otterpill board to the devicetree. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
This adds an overlay for the otterpill board to the USB-C SINK sample. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
This adds an emulator for the fusb302b USB-PD IC. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
This adds an emulator for the VBUS part of the fusb302b USB-PD IC. Signed-off-by: Jonas Otto <jonas@jonasotto.com>
curious if anyone is using this? |
To update the current status on this: The driver does work in that it can successfully request a specific voltage from a PD PSU, i didnt test any functionality beyond that. That said, I was just working on that out of personal curiosity, and having the proper devboard laying around. I'm not planning on working on this more in the short term. The latest version of this is found in an OOT module, which i made for easier experimenting: https://github.com/ottojo/zephyr_fusb302b |
This adds a driver for the onsemi FUSB302B USB Type-C controller IC, implementing a TCPC and VBUS-sensor.
This IC is present on the otterpill board introduced in #62830.
The driver is pretty minimal, intended to only implement the minimal subset of TCPC functionality required for requesting a higher voltage than 5V from a source.
For testing simplicity, this PR currently contains the otterpill board definition from #62830 as well.