linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull-request: can-next 2020-11-20
@ 2020-11-20 13:32 Marc Kleine-Budde
  2020-11-20 13:32 ` [net-next 01/25] can: j1939: add tables for the CAN identifier and its fields Marc Kleine-Budde
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: Marc Kleine-Budde @ 2020-11-20 13:32 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, linux-can, kernel

Hello Jakub, hello David,

here's a pull request of 25 patches for net-next/master.

The first patch is by Yegor Yefremov and he improves the j1939 documentaton by
adding tables for the CAN identifier and its fields.

Then there are 8 patches by Oliver Hartkopp targeting the CAN driver
infrastructure and drivers. These add support for optional DLC element to the
Classical CAN frame structure. See patch ea7800565a12 ("can: add optional DLC
element to Classical CAN frame structure") for details. Oliver's last patch
adds len8_dlc support to several drivers. Stefan Mätje provides a patch to add 
len8_dlc support to the esd_usb2 driver.

The next patch is by Oliver Hartkopp, too and adds support for modification of
Classical CAN DLCs to CAN GW sockets.

The next 3 patches target the nxp,flexcan DT bindings. One patch by my adds the
missing uint32 reference to the clock-frequency property. Joakim Zhang's
patches fix the fsl,clk-source property and add the IMX_SC_R_CAN() macro to the
imx firmware header file, which will be used in the flexcan driver later.

Another patch by Joakim Zhang prepares the flexcan driver for SCU based
stop-mode, by giving the existing, GPR based stop-mode, a _GPR postfix.

The next 5 patches are by me, target the flexcan driver, and clean up the 
.ndo_open and .ndo_stop callbacks. These patches try to fix a sporadically 
hanging flexcan_close() during simultanious ifdown, sending of CAN messages and
probably open CAN bus. I was never aber to reproduce, but these seem to fix the 
problem at the reporting user. As these changes are rather big, I'd like to 
mainline them via net-next/master.

The next patches are by Jimmy Assarsson and Christer Beskow, they add support 
for new USB devices to the existing kvaser_usb driver.

The last patch is by Kaixu Xia and simplifies the return in the
mcp251xfd_chip_softreset() function in the mcp251xfd driver.

regrads,
Marc

---

The following changes since commit 4082c502bf9c8a6afe4268c654d4e93ab7dfeb69:

  Merge branch 'enetc-clean-endianness-warnings-up' (2020-11-19 22:05:44 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-5.11-20201120

for you to fetch changes up to 275f6010b6994ad286a859062c03be050e8073ad:

  can: mcp251xfd: remove useless code in mcp251xfd_chip_softreset (2020-11-20 12:06:47 +0100)

----------------------------------------------------------------
linux-can-next-for-5.11-20201120

----------------------------------------------------------------
Christer Beskow (1):
      can: kvaser_usb: kvaser_usb_hydra: Add support for new device variant

Jimmy Assarsson (3):
      can: kvaser_usb: Add USB_{LEAF,HYDRA}_PRODUCT_ID_END defines
      can: kvaser_usb: Add new Kvaser Leaf v2 devices
      can: kvaser_usb: Add new Kvaser hydra devices

Joakim Zhang (3):
      dt-bindings: can: fsl,flexcan: fix fsl,clk-source property
      dt-bindings: firmware: add IMX_SC_R_CAN(x) macro for CAN
      can: flexcan: rename macro FLEXCAN_QUIRK_SETUP_STOP_MODE -> FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR

Kaixu Xia (1):
      can: mcp251xfd: remove useless code in mcp251xfd_chip_softreset

Marc Kleine-Budde (6):
      dt-bindings: can: fsl,flexcan: add uint32 reference to clock-frequency property
      can: flexcan: factor out enabling and disabling of interrupts into separate function
      can: flexcan: move enabling/disabling of interrupts from flexcan_chip_{start,stop}() to callers
      can: flexcan: flexcan_rx_offload_setup(): factor out mailbox and rx-offload setup into separate function
      can: flexcan: flexcan_open(): completely initialize controller before requesting IRQ
      can: flexcan: flexcan_close(): change order if commands to properly shut down the controller

Oliver Hartkopp (9):
      can: add optional DLC element to Classical CAN frame structure
      can: rename get_can_dlc() macro with can_cc_dlc2len()
      can: remove obsolete get_canfd_dlc() macro
      can: replace can_dlc as variable/element for payload length
      can: rename CAN FD related can_len2dlc and can_dlc2len helpers
      can: update documentation for DLC usage in Classical CAN
      can: drivers: introduce helpers to access Classical CAN DLC values
      can: drivers: add len8_dlc support for various CAN adapters
      can: gw: support modification of Classical CAN DLCs

Stefan Mätje (1):
      can: drivers: add len8_dlc support for esd_usb2 CAN adapter

Yegor Yefremov (1):
      can: j1939: add tables for the CAN identifier and its fields

 .../devicetree/bindings/net/can/fsl,flexcan.yaml   |   5 +-
 Documentation/networking/can.rst                   |  70 ++++++---
 Documentation/networking/j1939.rst                 |  46 +++++-
 drivers/net/can/at91_can.c                         |  14 +-
 drivers/net/can/c_can/c_can.c                      |  20 +--
 drivers/net/can/cc770/cc770.c                      |  14 +-
 drivers/net/can/dev.c                              |  16 +-
 drivers/net/can/flexcan.c                          | 161 ++++++++++++---------
 drivers/net/can/grcan.c                            |  10 +-
 drivers/net/can/ifi_canfd/ifi_canfd.c              |  10 +-
 drivers/net/can/janz-ican3.c                       |  20 +--
 drivers/net/can/kvaser_pciefd.c                    |  10 +-
 drivers/net/can/m_can/m_can.c                      |  12 +-
 drivers/net/can/mscan/mscan.c                      |  20 +--
 drivers/net/can/pch_can.c                          |  14 +-
 drivers/net/can/peak_canfd/peak_canfd.c            |  16 +-
 drivers/net/can/rcar/rcar_can.c                    |  14 +-
 drivers/net/can/rcar/rcar_canfd.c                  |  12 +-
 drivers/net/can/rx-offload.c                       |   2 +-
 drivers/net/can/sja1000/sja1000.c                  |  16 +-
 drivers/net/can/slcan.c                            |  32 ++--
 drivers/net/can/softing/softing_fw.c               |   2 +-
 drivers/net/can/softing/softing_main.c             |  14 +-
 drivers/net/can/spi/hi311x.c                       |  20 +--
 drivers/net/can/spi/mcp251x.c                      |  20 +--
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c     |  15 +-
 drivers/net/can/sun4i_can.c                        |  10 +-
 drivers/net/can/ti_hecc.c                          |   8 +-
 drivers/net/can/usb/Kconfig                        |   5 +
 drivers/net/can/usb/ems_usb.c                      |  16 +-
 drivers/net/can/usb/esd_usb2.c                     |  24 +--
 drivers/net/can/usb/gs_usb.c                       |  11 +-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c   |  22 ++-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c  |  61 ++++++--
 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c   |  22 +--
 drivers/net/can/usb/mcba_usb.c                     |  10 +-
 drivers/net/can/usb/peak_usb/pcan_usb.c            |  18 ++-
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c         |  29 ++--
 drivers/net/can/usb/peak_usb/pcan_usb_pro.c        |  14 +-
 drivers/net/can/usb/ucan.c                         |  20 +--
 drivers/net/can/usb/usb_8dev.c                     |  17 ++-
 drivers/net/can/xilinx_can.c                       |  16 +-
 include/dt-bindings/firmware/imx/rsrc.h            |   1 +
 include/linux/can/dev.h                            |  38 ++++-
 include/linux/can/dev/peak_canfd.h                 |   2 +-
 include/uapi/linux/can.h                           |  38 +++--
 include/uapi/linux/can/gw.h                        |   4 +-
 include/uapi/linux/can/netlink.h                   |   1 +
 net/can/af_can.c                                   |   2 +-
 net/can/gw.c                                       |  80 ++++++++--
 net/can/j1939/main.c                               |   4 +-
 51 files changed, 674 insertions(+), 404 deletions(-)


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-11-21 23:09 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 13:32 pull-request: can-next 2020-11-20 Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 01/25] can: j1939: add tables for the CAN identifier and its fields Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 02/25] can: add optional DLC element to Classical CAN frame structure Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 03/25] can: rename get_can_dlc() macro with can_cc_dlc2len() Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 04/25] can: remove obsolete get_canfd_dlc() macro Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 05/25] can: replace can_dlc as variable/element for payload length Marc Kleine-Budde
2020-11-20 13:32 ` [net-next 06/25] can: rename CAN FD related can_len2dlc and can_dlc2len helpers Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 07/25] can: update documentation for DLC usage in Classical CAN Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 08/25] can: drivers: introduce helpers to access Classical CAN DLC values Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 09/25] can: drivers: add len8_dlc support for various CAN adapters Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 10/25] can: drivers: add len8_dlc support for esd_usb2 CAN adapter Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 11/25] can: gw: support modification of Classical CAN DLCs Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 12/25] dt-bindings: can: fsl,flexcan: add uint32 reference to clock-frequency property Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 13/25] dt-bindings: can: fsl,flexcan: fix fsl,clk-source property Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 14/25] dt-bindings: firmware: add IMX_SC_R_CAN(x) macro for CAN Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 15/25] can: flexcan: rename macro FLEXCAN_QUIRK_SETUP_STOP_MODE -> FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 16/25] can: flexcan: factor out enabling and disabling of interrupts into separate function Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 17/25] can: flexcan: move enabling/disabling of interrupts from flexcan_chip_{start,stop}() to callers Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 18/25] can: flexcan: flexcan_rx_offload_setup(): factor out mailbox and rx-offload setup into separate function Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 19/25] can: flexcan: flexcan_open(): completely initialize controller before requesting IRQ Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 20/25] can: flexcan: flexcan_close(): change order if commands to properly shut down the controller Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 21/25] can: kvaser_usb: Add USB_{LEAF,HYDRA}_PRODUCT_ID_END defines Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 22/25] can: kvaser_usb: Add new Kvaser Leaf v2 devices Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 23/25] can: kvaser_usb: kvaser_usb_hydra: Add support for new device variant Marc Kleine-Budde
2020-11-20 13:33 ` [net-next 24/25] can: kvaser_usb: Add new Kvaser hydra devices Marc Kleine-Budde
2020-11-20 13:44 ` [PATCH 25/25] can: mcp251xfd: remove useless code in mcp251xfd_chip_softreset Marc Kleine-Budde
2020-11-21 23:09 ` pull-request: can-next 2020-11-20 Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).