aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorFranklin S Cooper Jr <[email protected]>2018-01-10 16:25:18 +0530
committerMarc Kleine-Budde <[email protected]>2018-01-16 15:11:32 +0100
commit2290aefa2e90a43af8555ad6431d49de43259aa3 (patch)
tree9baabc23edea36d525a954f7763cd25dfb5a697d /scripts/gdb/linux/modules.py
parent54a7fbcc17bc2881807ea8e65fa0857ec8a3a863 (diff)
can: dev: Add support for limiting configured bitrate
Various CAN or CAN-FD IP may be able to run at a faster rate than what the transceiver the CAN node is connected to. This can lead to unexpected errors. However, CAN transceivers typically have fixed limitations and provide no means to discover these limitations at runtime. Therefore, add support for a can-transceiver node that can be reused by other CAN peripheral drivers to determine for both CAN and CAN-FD what the max bitrate that can be used. If the user tries to configure CAN to pass these maximum bitrates it will throw an error. Also add support for reading bitrate_max via the netlink interface. Reviewed-by: Suman Anna <[email protected]> Signed-off-by: Franklin S Cooper Jr <[email protected]> [[email protected]: fix build error with !CONFIG_OF] Signed-off-by: Sekhar Nori <[email protected]> Signed-off-by: Faiz Abbas <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions