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

gs_usb: document switchable termination support #109

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

marckleinebudde
Copy link
Contributor

This PR documents the switchable termination support which will be added to the Linux driver soon. For the current Linux driver patch see: https://lore.kernel.org/all/20220918211802.692405-1-mkl@pengutronix.de/

This PR fixes issue #92

A reference implementation for switchable termination is added to the candleLight firmware in PR #108.

ammarfaizi2 pushed a commit to ammarfaizi2/linux-fork that referenced this pull request Sep 23, 2022
The candleLight community is working on switchable termination support
for the candleLight firmware. As the the Linux CAN framework supports
switchable termination add this feature to the gs_usb driver.

Devices supporting the feature should set the
GS_CAN_FEATURE_TERMINATION and implement the
GS_USB_BREQ_SET_TERMINATION and GS_USB_BREQ_GET_TERMINATION control
messages.

For now the driver assumes for activated termination the standard
termination value of 120Ω.

Link: https://lore.kernel.org/all/20220923074114.662045-1-mkl@pengutronix.de
Link: candle-usb/candleLight_fw#92
Link: candle-usb/candleLight_fw#109
Link: candle-usb/candleLight_fw#108
Cc: Daniel Trevitz <daniel.trevitz@wika.com>
Cc: Ryan Edwards <ryan.edwards@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
@marckleinebudde
Copy link
Contributor Author

Support for switchable termination has been added to the linux-net-next tree and will be mainline with Linux v6.1.

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=906e0e6886afcad6f9cd86660d4b0bdf63f4f200

@fenugrec fenugrec merged commit 151ec30 into candle-usb:master Oct 5, 2022
@marckleinebudde marckleinebudde deleted the termination branch October 5, 2022 11:59
@marckleinebudde marckleinebudde restored the termination branch October 5, 2022 11:59
@marckleinebudde marckleinebudde deleted the termination branch October 5, 2022 11:59
@marckleinebudde
Copy link
Contributor Author

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants