summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol@kernel.org>2025-11-26 13:16:07 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2025-11-26 13:20:43 +0300
commit233134af208689c2d5d40896f5740473a74e3cb2 (patch)
tree4249873882f37b9c02123be36114dd7aef5ed0eb /include/linux
parente63281614747c73f25b708c75bc696c4e76f5588 (diff)
downloadlinux-233134af208689c2d5d40896f5740473a74e3cb2.tar.xz
can: netlink: add CAN_CTRLMODE_XL_TMS flag
The Transceiver Mode Switching (TMS) indicates whether the CAN XL controller shall use the PWM or NRZ encoding during the data phase. The term "transceiver mode switching" is used in both ISO 11898-1 and CiA 612-2 (although only the latter one uses the abbreviation TMS). We adopt the same naming convention here for consistency. Add the CAN_CTRLMODE_XL_TMS flag to the list of the CAN control modes. Add can_validate_xl_flags() to check the coherency of the TMS flag. That function will be reused in upcoming changes to validate the other CAN XL flags. Signed-off-by: Vincent Mailhol <mailhol@kernel.org> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://patch.msgid.link/20251126-canxl-v8-6-e7e3eb74f889@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions