forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'linux-can-next-for-6.4-20230404-2' of git://git.kernel.org…
…/pub/scm/linux/kernel/git/mkl/linux-can-next Marc Kleine-Budde says: ==================== pull-request: can-next 2023-04-04-2 The first patch is by Oliver Hartkopp and makes the maximum pdu size of the CAN ISOTP protocol configurable. The following 5 patches are by Dario Binacchi and add support for the bxCAN controller by ST. Geert Uytterhoeven's patch for the rcar_canfd driver fixes a sparse warning. Peng Fan's patch adds an optional power-domains property to the flexcan device tree binding. Frank Jungclaus adds support for CAN_CTRLMODE_BERR_REPORTING to the esd_usb driver. The last patch is by Oliver Hartkopp and converts the USB IDs of the kvaser_usb driver to hexadecimal values. * tag 'linux-can-next-for-6.4-20230404-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next: kvaser_usb: convert USB IDs to hexadecimal values can: esd_usb: Add support for CAN_CTRLMODE_BERR_REPORTING dt-bindings: can: fsl,flexcan: add optional power-domains property can: rcar_canfd: rcar_canfd_probe(): fix plain integer in transceivers[] init can: bxcan: add support for ST bxCAN controller ARM: dts: stm32: add pin map for CAN controller on stm32f4 ARM: dts: stm32: add CAN support on stm32f429 dt-bindings: net: can: add STM32 bxcan DT bindings dt-bindings: arm: stm32: add compatible for syscon gcan node can: isotp: add module parameter for maximum pdu size ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information
Showing
13 changed files
with
1,395 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
Documentation/devicetree/bindings/net/can/st,stm32-bxcan.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/net/can/st,stm32-bxcan.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: STMicroelectronics bxCAN controller | ||
|
||
description: STMicroelectronics BxCAN controller for CAN bus | ||
|
||
maintainers: | ||
- Dario Binacchi <[email protected]> | ||
|
||
allOf: | ||
- $ref: can-controller.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- st,stm32f4-bxcan | ||
|
||
st,can-primary: | ||
description: | ||
Primary and secondary mode of the bxCAN peripheral is only relevant | ||
if the chip has two CAN peripherals. In that case they share some | ||
of the required logic. | ||
To avoid misunderstandings, it should be noted that ST documentation | ||
uses the terms master/slave instead of primary/secondary. | ||
type: boolean | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
items: | ||
- description: transmit interrupt | ||
- description: FIFO 0 receive interrupt | ||
- description: FIFO 1 receive interrupt | ||
- description: status change error interrupt | ||
|
||
interrupt-names: | ||
items: | ||
- const: tx | ||
- const: rx0 | ||
- const: rx1 | ||
- const: sce | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
st,gcan: | ||
$ref: /schemas/types.yaml#/definitions/phandle-array | ||
description: | ||
The phandle to the gcan node which allows to access the 512-bytes | ||
SRAM memory shared by the two bxCAN cells (CAN1 primary and CAN2 | ||
secondary) in dual CAN peripheral configuration. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- resets | ||
- clocks | ||
- st,gcan | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/stm32fx-clock.h> | ||
#include <dt-bindings/mfd/stm32f4-rcc.h> | ||
can1: can@40006400 { | ||
compatible = "st,stm32f4-bxcan"; | ||
reg = <0x40006400 0x200>; | ||
interrupts = <19>, <20>, <21>, <22>; | ||
interrupt-names = "tx", "rx0", "rx1", "sce"; | ||
resets = <&rcc STM32F4_APB1_RESET(CAN1)>; | ||
clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN1)>; | ||
st,can-primary; | ||
st,gcan = <&gcan>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4431,6 +4431,13 @@ S: Maintained | |
F: drivers/scsi/BusLogic.* | ||
F: drivers/scsi/FlashPoint.* | ||
|
||
BXCAN CAN NETWORK DRIVER | ||
M: Dario Binacchi <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/net/can/st,stm32-bxcan.yaml | ||
F: drivers/net/can/bxcan.c | ||
|
||
C-MEDIA CMI8788 DRIVER | ||
M: Clemens Ladisch <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.