patch hits
mainline. Then I'll merge this into linux-can-next.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hil
priv->base = addr;
> priv->mram_base = mram_addr;
>
> @@ -108,6 +120,7 @@ static int m_can_plat_probe(struct platform_device *pdev)
> mcan_class->pm_clock_support = 1;
> mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk);
> mcan_class->dev
On 15.04.2021 20:42:36, Vincent MAILHOL wrote:
> On Thu. 15 Apr 2021 at 18:04, Marc Kleine-Budde wrote:
> > On 15.04.2021 09:47:23, Colin King wrote:
> > > From: Colin Ian King
> > >
> > > There is an assignment to *netdev tha
On 15.04.2021 12:30:50, Colin King wrote:
> From: Colin Ian King
>
> There are spelling mistakes in netdev_dbg and netdev_dbg messages,
> fix these.
>
> Signed-off-by: Colin Ian King
Applied to linux-can-next/testing.
Tnx,
Marc
--
Pengutronix e.K. |
cumentation/devicetree/bindings/phy folder. Also,
> scripts/get_maintainer.pl is giving the names of maintainers after
> reading the yaml files too.
Nice! Clever script.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.p
verity: ("Dereference before null check")
> Fixes: 8537257874e9 ("can: etas_es58x: add core support for ETAS ES58X CAN
> USB interfaces")
> Signed-off-by: Colin Ian King
Looks good. Applied to linux-can-next/testing.
Tnx,
Marc
--
Pengutronix e.K.
net-next/master
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=e2b1e4b532abdd39bfb7313146153815e370d60c
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertr
On 15.04.2021 11:57:20, Aswath Govindraju wrote:
> Hi Marc,
>
> On 14/04/21 9:03 pm, Marc Kleine-Budde wrote:
> > On 14.04.2021 19:35:18, Aswath Govindraju wrote:
> >> Add binding documentation for TI TCAN104x CAN transceivers.
> >>
>
unachalam Santhanam
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/etas_es58x/es58x_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/can/usb/etas_es58x/es58x_core.c
b/drivers/net/can/usb/etas_es58x/es58x_core.c
Hello Jakub, hello David,
this is a pull request of a single patch for net-next/master.
Vincent Mailhol's patch fixes a NULL pointer dereference when handling
error frames in the etas_es58x driver, which has been added in the
previous PR.
regards,
Marc
---
The following changes since commit 58
t CAN transceivers.
>
> Patches 5 & 6 add support for implementing the transceiver as a phy of
> m_can_platform driver.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretun
\
> broadcom/\
I'm not sure how the phy framework handles this, but I assume it's
alphabetically sorted, too.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengu
/devicetree/bindings/net/can/
> F: Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
> +F: drivers/phy/phy-can-transceiver.c
> F: drivers/net/can/
please keep this alphabetically sorted
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embed
mpatible = "ti,tcan1043";
> + #phy-cells = <0>;
> + max-bitrate = <500>;
> + standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;
> + enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_LOW>;
AFAICS the enable gpio is active high
t; + else
> + priv->cdev.can.bitrate_max = transceiver->attrs.max_link_rate;
> +
> priv->base = addr;
> priv->mram_base = mram_addr;
>
> @@ -108,6 +122,7 @@ static int m_can_plat_probe(struct platform_device *pdev)
> mcan_class->pm_cl
add it CAN NETWORK DRIVERS.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-555
On 14.04.2021 11:54:36, Aswath Govindraju wrote:
> Hi Marc,
>
> On 12/04/21 3:48 pm, Marc Kleine-Budde wrote:
> > On 4/9/21 3:40 PM, Aswath Govindraju wrote:
> >> The driver adds support for generic CAN transceivers. Currently
> >> the modes supported by this dr
d. You might either cancel the pull request
> and squash this to 8537257874e9 ("can: etas_es58x: add core support
> for ETAS ES58X CAN USB interfaces") or send it as a separate patch.
>
> Please let me know if you need me to do anything.
I'll send a follo
Rob Herring
> Reviewed-by: Wolfram Sang
Added to latest pull request.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht
Santhanam
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/etas_es58x/Makefile | 2 +-
drivers/net/can/usb/etas_es58x/es58x_core.c | 19 +-
drivers/net/can/usb/etas_es58x/es58x_core.h | 6 +-
drivers/net/can/usb/etas_es58x/es58x_fd.c | 562
This patch replaces the open coded endianness conversion of unaligned
data by the appropriate get/put_unaligned_leXX() variants.
Link: https://lore.kernel.org/r/20210406111622.1874957-11-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
The function serial_number is only called from one location with a
valid serial_number pointer. Remove not needed NULL pointer check.
Link: https://lore.kernel.org/r/20210406111622.1874957-10-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine
The caller of pcan_usb_get_serial() already prints an error message,
so remove this one and return immediately.
Link: https://lore.kernel.org/r/20210406111622.1874957-8-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net
The variable struct peak_usb_adapter::ts_period is only ever written
to. This patch removes it from the driver.
Link: https://lore.kernel.org/r/20210406111622.1874957-5-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net
24 - -24
| peak_usb_probe 236 136-100
| Total: Before=25263, After=25139, chg -0.49%
Link: https://lore.kernel.org/r/20210406111622.1874957-6-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kl
This patch replaces the memcpy() + le32_to_cpu() by le32_to_cpup().
Link: https://lore.kernel.org/r/20210406111622.1874957-9-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 8 ++--
1
/20210406111622.1874957-7-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 4 ++--
drivers/net/can/usb/peak_usb/pcan_usb_pro.c | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a
This patch removes the unused variables struct
peak_usb_device::echo_skb and struct peak_usb_device::bus_load from
the driver.
Link: https://lore.kernel.org/r/20210406111622.1874957-4-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
This patch cleans several checkpatch warnings in the peak_usb driver.
Link: https://lore.kernel.org/r/20210406111622.1874957-2-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 4
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/etas_es58x/Makefile | 2 +-
drivers/net/can/usb/etas_es58x/es581_4.c| 507
drivers/net/can/usb/etas_es58x/es581_4.h| 207
drivers/net/can/usb/etas_es58x/es58x_core.c
This patch replaces the double space indention after the u8 with a
single space in pcan_usb_pro.h.
Link: https://lore.kernel.org/r/20210406111622.1874957-3-...@pengutronix.de
Acked-by: Stephane Grosjean
Tested-by: Stephane Grosjean
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb
-by: Geert Uytterhoeven
Acked-by: Rob Herring
Reviewed-by: Wolfram Sang
Signed-off-by: Marc Kleine-Budde
---
Documentation/devicetree/bindings/net/can/rcar_can.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt
b
...@wanadoo.fr
Co-developed-by: Arunachalam Santhanam
Signed-off-by: Arunachalam Santhanam
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/Kconfig | 10 +
drivers/net/can/usb/Makefile|1 +
drivers/net/can/usb/etas_es58x
)
linux-can-next-for-5.13-20210413
Marc Kleine-Budde (10):
can: peak_usb: fix checkpatch warnings
can: peak_usb: pcan_usb_pro.h: remove double space in indention
can: peak_usb: remove unused
On 12.04.2021 12:49:56, Rob Herring wrote:
> On Mon, Apr 12, 2021 at 12:19:30PM +0200, Marc Kleine-Budde wrote:
> > On 4/9/21 3:40 PM, Aswath Govindraju wrote:
> > > Add binding documentation for TI TCAN104x CAN transceivers.
> > >
> > &
itrate_max = (transceiver->attrs.max_link_rate) * 100;
> + if (!bitrate_max)
> + dev_warn(&pdev->dev, "Invalid value for transceiver max
> bitrate. Ignoring bitrate limit\n");
Please move this check to the generic transce
in bps
> +minimum: 1
> +
> +required:
> + - compatible
> + - '#phy-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> +#include
> +
> +transceiver1: tcan104x-phy {
> + compatible = "ti,tcan1043";
> + #phy-cel
phy_set_drvdata(can_transceiver_phy->generic_phy, can_transceiver_phy);
> +
> + phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
> +
> + return PTR_ERR_OR_ZERO(phy_provider);
> +}
> +
> +static struct platform_driver can_transceiver_phy_driver = {
> + .probe = can_transceiver_phy_probe,
> + .driver = {
> + .name = "can-transceiver-phy",
> + .of_match_table = can_transceiver_phy_ids,
> + },
> +};
> +
> +module_platform_driver(can_transceiver_phy_driver);
> +
> +MODULE_AUTHOR("Faiz Abbas ");
> +MODULE_AUTHOR("Aswath Govindraju ");
> +MODULE_DESCRIPTION("CAN TRANSCEIVER PHY driver");
> +MODULE_LICENSE("GPL v2");
>
marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
signature.asc
Description: OpenPGP digital signature
x_urb_cmd *urb_cmd)
I have applied to linux-can-next/testing with the above spell fix.
Thanks for the steady work on this and all the other features.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertre
On 09.04.2021 14:55:59, Koen Vandeputte wrote:
>
> On 09.04.21 13:21, Marc Kleine-Budde wrote:
> > On 4/9/21 12:18 PM, Koen Vandeputte wrote:
> > > Hi All,
> > >
> > > I just updated kernel 4.14 within OpenWRT from 4.14.224 to 4.14.229
> > >
chip_freeze(): fix chip freeze for missing
bitrate
Greg, can you pick this up for v4.14?
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-92
org/r/20210406110617.1865592-5-...@pengutronix.de
Cc: Manivannan Sadhasivam
Cc: Thomas Kopp
Signed-off-by: Marc Kleine-Budde
---
.../net/can/spi/mcp251xfd/mcp251xfd-regmap.c | 34 +++
1 file changed, 34 insertions(+)
diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c
b/drivers/net/ca
This patch re-adds BQL support to the driver. Support for
netdev_xmit_more() will be added in a separate patch series.
Link: https://lore.kernel.org/r/20210406110617.1865592-3-...@pengutronix.de
Cc: Manivannan Sadhasivam
Cc: Thomas Kopp
Signed-off-by: Marc Kleine-Budde
---
.../net/can/spi
context")
Link: https://lore.kernel.org/r/20210401084515.1455013-1-...@pengutronix.de
Reported-by: coverity-bot
Addresses-Coverity-ID: 1503583 ("Error handling issues")
Reviewed-by: Kees Cook
Cc: Torin Cooper-Bennun
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/m_can/m_ca
This patch factors out the crc check into a separate function. This is
preparation for the next patch.
Link: https://lore.kernel.org/r/20210406110617.1865592-4-...@pengutronix.de
Cc: Manivannan Sadhasivam
Cc: Thomas Kopp
Signed-off-by: Marc Kleine-Budde
---
.../net/can/spi/mcp251xfd/mcp251xfd
This patch removes the unused enum BOSCH_C_CAN_PLATFORM.
Link: https://lore.kernel.org/r/20210406110617.1865592-2-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/can/c_can/c_can.h b/drivers/net
-next-for-5.13-20210407
Marc Kleine-Budde (6):
can: skb: alloc_can{,fd}_skb(): set "cf" to NULL if skb allocation fails
can: m_can: m_can_receive_skb(): add missing error handling to
can_rx_offload_queue_sorted()
r/20210402102245.1512583-1-...@pengutronix.de
Suggested-by: Vincent MAILHOL
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/skb.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/dev/skb.c b/drivers/net/can/dev/skb.c
index 387c0bc0fb9c..61660248
85f04:
can: mcp251x: fix support for half duplex SPI host controllers (2021-04-06
12:31:21 +0200)
linux-can-fixes-for-5.12-20210406
----
Marc Kleine-Budde (1):
can:
ey
Tested-By: Tim Harvey
Reported-by: Gerhard Bertelsmann
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/spi/mcp251x.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/drivers/net/can/spi/mcp251x.c b/drivers/net/can/spi/mcp251x.c
index f6
> + * Documentation says nothing about it, so I take time which seems to
> + * work on AR8085.
> + */
/* Keep in mind the net multi line comment
* style.
*/
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | h
| Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
signature.asc
Description: OpenPGP digital signature
86-4-dario...@libero.it
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c
index 8212f3d98aa9..980abf6a8609 100644
--- a/drivers/net
This patch uses the previously added mcp251xfd_skb_set_timestamp()
function to convert the timestamp done by the CAN controller into a
proper skb hw timestamp.
Link: https://lore.kernel.org/r/20210304161209.2754463-1-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
.../net/can/spi
of 32. Two 32-bit read accesses are
in fact required, which however remained at 16-bit for configurations
with 32 message objects.
Link: https://lore.kernel.org/r/20210302215435.18286-7-dario...@libero.it
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_c
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 50 --
drivers/net/can/c_can/c_can.h | 23 ++--
drivers/net/can/c_can/c_can_pci.c | 2 +-
drivers/net/can/c_can/c_can_platform.c | 2 +-
he removed code also made a comment useless and misleading.
Link: https://lore.kernel.org/r/20210302215435.18286-2-dario...@libero.it
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 3 +--
drivers/net/can/c_can/c_can.h | 4
2 files change
This patch fixes the remaining checkpatch warnings in the driver.
Link: https://lore.kernel.org/r/20210304154240.2747987-7-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 3 ++-
drivers/net/can/c_can/c_can_pci.c | 2 +-
2 files changed, 3 insertions
From: Dario Binacchi
The arbitration register is already set up with 32-bit writes in the
other parts of the code except for this point.
Link: https://lore.kernel.org/r/20210302215435.18286-5-dario...@libero.it
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kleine-Budde
---
drivers/net
This patch fixes the indention in the driver.
Link: https://lore.kernel.org/r/20210304154240.2747987-4-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 12 ++--
drivers/net/can/c_can/c_can.h | 10 +-
drivers/net/can/c_can
From: Dario Binacchi
Commit 524369e2391f ("can: c_can: remove obsolete STRICT_FRAME_ORDERING Kconfig
option")
left behind wrong indentation, fix it.
Link: https://lore.kernel.org/r/20210302215435.18286-3-dario...@libero.it
Signed-off-by: Dario Binacchi
Signed-off-by: Marc Kl
This patch replaces the double assignments by two single ones, to make
checkpatch happy.
Link: https://lore.kernel.org/r/20210304154240.2747987-6-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 6 --
1 file changed, 4 insertions(+), 2 deletions
This patch fixes the print format string in the driver, so that it
stays in a single line.
Link: https://lore.kernel.org/r/20210304154240.2747987-5-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can_pci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions
This patch removes unnecessary blank lines and add suggested ones, so
that checkpatch doesn't complain anymore.
Link: https://lore.kernel.org/r/20210304154240.2747987-3-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 2 --
drivers/net/can/
This patch converts all block comments to network subsystem style
block comments.
Link: https://lore.kernel.org/r/20210304154240.2747987-2-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/c_can/c_can.c | 52 ++-
drivers/net/can/c_can
ned-off-by: Marc Kleine-Budde
---
drivers/net/can/m_can/tcan4x5x.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/can/m_can/tcan4x5x.h b/drivers/net/can/m_can/tcan4x5x.h
index c66da829b795..e62c030d3e1e 100644
--- a/drivers/net/can/m_can/tcan4x5x.h
+++ b/drivers/net/can/m_can/
, timecounter and delayed worker
infrastructure (which runs every 45 seconds) to convert the timer into
a proper 64 bit based ns timestamp.
Link: https://lore.kernel.org/r/20210304160328.2752293-6-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/spi/mcp251xfd/Makefile
The netdevice.h header is needed in mcp251xfd.h, so that it can be
included without further headers.
Link: https://lore.kernel.org/r/20210304160328.2752293-4-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 1 -
drivers/net/can/spi
This is a preparation patch, it moves the mcp251xfd_get_timestamp()
function into the mcp251xfd.h file.
Link: https://lore.kernel.org/r/20210304160328.2752293-5-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 6 --
drivers/net/can/spi
the
correct context, with h/w timestamping to ensure correct ordering.
Link: https://lore.kernel.org/r/20210308102427.63916-4-to...@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun
[mkl: m_can_class_register(): update error handling]
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/m_can
0.
Link: https://lore.kernel.org/r/20210304160328.2752293-3-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
.../net/can/spi/mcp251xfd/mcp251xfd-core.c| 69 ++-
1 file changed, 37 insertions(+), 32 deletions(-)
diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd
Kleine-Budde
---
drivers/net/can/m_can/m_can.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index 2ae3da16cbfe..12a75ebe9ce1 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -1787,11 +1787,6
e TEF-, RX- and TX-FIFOs, it
can be analyzed with the mcp251xfd-dump tool of the can-utils:
https://github.com/linux-can/can-utils/tree/master/mcp251xfd
Link: https://lore.kernel.org/r/20210304160328.2752293-2-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/spi/mcp2
From: Torin Cooper-Bennun
Add infrastucture to allow internal timestamps from the M_CAN to be
configured and retrieved.
Link: https://lore.kernel.org/r/20210308102427.63916-2-to...@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can
From: Stephane Grosjean
This patch adds "ONE-SHOT" mode support to the following CAN-USB
PEAK-System GmbH interfaces:
- PCAN-USB X6
- PCAN-USB FD
- PCAN-USB Pro FD
- PCAN-Chip USB
- PCAN-USB Pro
Signed-off-by: Stephane Grosjean
[mkl: split into two patches]
Signed-off-by: Marc Kl
]
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/peak_usb/pcan_usb_pro.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_pro.c
b/drivers/net/can/usb/peak_usb/pcan_usb_pro.c
index 18fa180ecc81..902900d4f7c1 100644
--- a/drivers/net
highest prescalar so that the timestamp wraps every 2^20 bit
times, or 209 ms at a bus speed of 5 Mbit/s. Timestamps will have a
precision of 16 bit times.
Link: https://lore.kernel.org/r/20210308102427.63916-3-to...@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun
Signed-off-by: Marc Kleine
]
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 47
drivers/net/can/usb/peak_usb/pcan_usb_core.c | 4 ++
drivers/net/can/usb/peak_usb/pcan_usb_core.h | 2 +
drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 34 ++
drivers/net/can/usb
ructure to have the same alignment as the inner
one.
Link: https://lore.kernel.org/r/20210204162625.3099392-1-a...@kernel.org
Signed-off-by: Arnd Bergmann
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/usb/ucan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/n
On ARCHs without IOMEM support the grcan driver fails to link due to
missing iomem functionality. This patch adds the missing Kconfig
dependency to HAS_IOMEM.
Link: https://lore.kernel.org/r/20210309140424.3331010-1-...@pengutronix.de
Reported-by: kernel test robot
Signed-off-by: Marc Kleine
rnel.org/r/91af0945ed7397b08f1af0c829450620bd92b804.1612442564.git.michal.si...@xilinx.com
Signed-off-by: Michal Simek
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/xilinx_can.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c
index 37
-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/bittiming.c | 4 ++--
include/linux/can/bittiming.h | 8
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/dev/bittiming.c b/drivers/net/can/dev/bittiming.c
index 2907e60c9a57
hol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/bittiming.c | 24
drivers/net/can/dev/netlink.c | 2 ++
include/linux/can/bittiming.h | 6 ++
3 files changed, 32 insertions(+)
diff --git a/drivers/net/can/dev/bittiming.c b/drivers/net/can/
/lore.kernel.org/r/20210224002008.4158-4-mailhol.vinc...@wanadoo.fr
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/netlink.c | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/drivers/net/can/dev/netlink
this function, too.
This patch is the natural extension of commit:
| 9420e1d495e2 ("can: dev: can_get_echo_skb(): extend to return can
|frame length")
Link: https://lore.kernel.org/r/20210319142700.305648-3-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drive
70/V70/V71 Family:
https://www.mouser.com/datasheet/2/268/60001527A-1284321.pdf
Link: https://lore.kernel.org/r/20210224002008.4158-2-mailhol.vinc...@wanadoo.fr
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
---
include/linux/can/bittiming.h | 65 ++
: 31 */
/* sum members: 426, holes: 2, sum holes: 6 */
/* paddings: 1, sum paddings: 4 */
/* last cacheline: 48 bytes */
};
Link: https://lore.kernel.org/r/20210224002008.4158-3-mailhol.vinc...@wanadoo.fr
Signed-off-by: Vincent Mailhol
Signed-off-by: Marc Kleine-Budde
can: c_can: use 32-bit write to set arbitration register
can: c_can: prepare to up the message objects number
can: c_can: add support to 64 message objects
Marc Kleine-Budde (17):
MAINTAINERS: remove Dan Murphy from m_can and tcan4x5x
can: dev: always create TX echo skb
From: Pankaj Sharma
Update Chandrasekar Ramakrishnan as maintainer for mcan mmio device driver as I
will be moving to a different role.
Signed-off-by: Pankaj Sharma
Signed-off-by: Marc Kleine-Budde
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/skb.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/dev/skb.c b/drivers/net/can/dev/skb.c
index 6a64fe410987..22b0472a5fad 100644
--- a/drivers/net/can/dev/skb.c
+++ b/drivers
echo_skb is accessed out of bounds")
Link: https://lore.kernel.org/r/20210319142700.305648-2-...@pengutronix.de
Signed-off-by: Marc Kleine-Budde
---
drivers/net/can/dev/skb.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/can/dev/skb.c b/driver
Dan Murphy's email address at ti.com doesn't work anymore, mails
bounce with:
| 550 Invalid recipient (#5.1.1)
For now remove all CAN related entries of Dan from the Maintainers
file.
Link: https://lore.kernel.org/r/20210228094218.40015-1-...@pengutronix.de
Signed-off-by: Marc Kl
g/linux-can/2c82ec23-3551-61b5-1bd8-178c3407e...@hartkopp.net/
Link: https://lore.kernel.org/r/20210325125850.1620-3-socket...@hartkopp.net
Signed-off-by: Oliver Hartkopp
Signed-off-by: Marc Kleine-Budde
---
include/uapi/linux/can.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
rger
Acked-by: Kurt Van Dijck
Link:
https://lore.kernel.org/linux-can/1135648123.112255.1616613706554.javamail.zim...@nod.at/T/#t
Link: https://lore.kernel.org/r/20210325125850.1620-2-socket...@hartkopp.net
Signed-off-by: Oliver Hartkopp
Signed-off-by: Marc Kleine-Budde
---
net/can/isotp.c | 11
einberger
Tested-by: Richard Weinberger
Acked-by: Kurt Van Dijck
Link:
https://lore.kernel.org/linux-can/1135648123.112255.1616613706554.javamail.zim...@nod.at/T/#t
Link: https://lore.kernel.org/r/20210325125850.1620-1-socket...@hartkopp.net
Signed-off-by: Oliver Hartkopp
Signed-off-by: Marc Kl
)
linux-can-fixes-for-5.12-20210329
Marc Kleine-Budde (1):
can: uapi: can.h: mark union inside struct can_frame packed
Oliver Hartkopp (2):
can: bcm/raw: fix
On 23.03.2021 10:10:25, Wan Jiabing wrote:
> linux/regmap.h has been included at line 13, so remove the
> duplicate one at line 14.
applied to linux-can-next/testing.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux |
ot;can: add ISO 15765-2:2016 transport protocol")
Cc: Marc Kleine-Budde
Link: https://lore.kernel.org/r/20210319100619.10858-1-socket...@hartkopp.net
Signed-off-by: Oliver Hartkopp
Signed-off-by: Marc Kleine-Budde
---
net/can/isotp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
t;) was added to net/master. As this would result in a
merge conflict, let's revert this patch.
Fixes: 59ec7b89ed3e ("can: peak_usb: add forgotten supported devices")
Link: https://lore.kernel.org/r/20210320192649.341832-1-...@pengutronix.de
Suggested-by: Leon Romanovsky
Cc: Stephane G
03-20 20:28:45 +0100)
linux-can-fixes-for-5.12-20210320
--------
Marc Kleine-Budde (1):
can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
Oliver Hartkopp (1):
can: isotp: tx-path
1 - 100 of 1239 matches
Mail list logo