Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/can/can_mcan.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ struct can_mcan_msg_sram {
volatile struct can_mcan_rx_fifo rx_fifo0[NUM_RX_FIFO0_ELEMENTS];
volatile struct can_mcan_rx_fifo rx_fifo1[NUM_RX_FIFO1_ELEMENTS];
volatile struct can_mcan_rx_fifo rx_buffer[NUM_RX_BUF_ELEMENTS];
volatile struct can_mcan_tx_event_fifo tx_event_fifo[NUM_TX_BUF_ELEMENTS];
volatile struct can_mcan_tx_event_fifo tx_event_fifo[NUM_TX_EVENT_FIFO_ELEMENTS];
volatile struct can_mcan_tx_buffer tx_buffer[NUM_TX_BUF_ELEMENTS];
} __packed;

Expand Down
1 change: 1 addition & 0 deletions dts/arm/st/g4/stm32g4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@
rx-fifo1-elements = <3>;
rx-buffer-elements = <0>;
tx-buffer-elements = <3>;
tx-event-fifo-elements = <3>;

can1: can@40006400 {
compatible = "st,stm32-fdcan";
Expand Down
4 changes: 4 additions & 0 deletions dts/bindings/can/bosch,m-can-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ properties:
tx-buffer-elements:
type: int
required: true

tx-event-fifo-elements:
type: int
required: true