[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210107094900.173046-1-mkl@pengutronix.de>
Date: Thu, 7 Jan 2021 10:48:41 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, linux-can@...r.kernel.org,
kernel@...gutronix.de
Subject: pull-request: can-next 2021-01-06
Hello Jakub, hello David,
this is a pull request of 19 patches for net-next/master.
The first 16 patches are by me and target the tcan4x5x SPI glue driver for the
m_can CAN driver. First there are a several cleanup commits, then the SPI
regmap part is converted to 8 bits per word, to make it possible to use that
driver on SPI controllers that only support the 8 bit per word mode (such as
the SPI cores on the raspberry pi).
Oliver Hartkopp contributes a patch for the CAN_RAW protocol. The getsockopt()
for CAN_RAW_FILTER is changed to return -ERANGE if the filterset does not fit
into the provided user space buffer.
The last two patches are by Joakim Zhang and add wakeup support to the flexcan
driver for the i.MX8QM SoC. The dt-bindings docs are extended to describe the
added property.
regards,
Marc
---
The following changes since commit ede71cae72855f8d6f6268510895210adc317666:
net-next: docs: Fix typos in snmp_counter.rst (2021-01-05 17:07:38 -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.12-20210106
for you to fetch changes up to 812f0116c66a3ebaf0b6062226aa85574dd79f67:
can: flexcan: add CAN wakeup function for i.MX8QM (2021-01-06 15:20:13 +0100)
----------------------------------------------------------------
linux-can-next-for-5.12-20210106
----------------------------------------------------------------
Joakim Zhang (2):
dt-bindings: can: fsl,flexcan: add fsl,scu-index property to indicate a resource
can: flexcan: add CAN wakeup function for i.MX8QM
Marc Kleine-Budde (16):
can: tcan4x5x: replace DEVICE_NAME by KBUILD_MODNAME
can: tcan4x5x: beautify indention of tcan4x5x_of_match and tcan4x5x_id_table
can: tcan4x5x: rename tcan4x5x.c -> tcan4x5x-core.c
can: tcan4x5x: move regmap code into seperate file
can: tcan4x5x: mark struct regmap_bus tcan4x5x_bus as constant
can: tcan4x5x: tcan4x5x_bus: remove not needed read_flag_mask
can: tcan4x5x: remove regmap async support
can: tcan4x5x: rename regmap_spi_gather_write() -> tcan4x5x_regmap_gather_write()
can: tcan4x5x: tcan4x5x_regmap_write(): remove not needed casts and replace 4 by sizeof
can: tcan4x5x: tcan4x5x_regmap_init(): use spi as context pointer
can: tcan4x5x: fix max register value
can: tcan4x5x: tcan4x5x_regmap: set reg_stride to 4
can: tcan4x5x: add max_raw_{read,write} of 256
can: tcan4x5x: add {wr,rd}_table
can: tcan4x5x: rework SPI access
can: tcan4x5x: add support for half-duplex controllers
Oliver Hartkopp (1):
can: raw: return -ERANGE when filterset does not fit into user space buffer
.../devicetree/bindings/net/can/fsl,flexcan.yaml | 11 ++
drivers/net/can/flexcan.c | 123 ++++++++++++++++---
drivers/net/can/m_can/Makefile | 4 +
.../net/can/m_can/{tcan4x5x.c => tcan4x5x-core.c} | 126 +++----------------
drivers/net/can/m_can/tcan4x5x-regmap.c | 135 +++++++++++++++++++++
drivers/net/can/m_can/tcan4x5x.h | 57 +++++++++
net/can/raw.c | 16 ++-
7 files changed, 340 insertions(+), 132 deletions(-)
rename drivers/net/can/m_can/{tcan4x5x.c => tcan4x5x-core.c} (80%)
create mode 100644 drivers/net/can/m_can/tcan4x5x-regmap.c
create mode 100644 drivers/net/can/m_can/tcan4x5x.h
Powered by blists - more mailing lists