Skip to content

can: mcp251xfd: Enable support for PLL

Magnus Aagaard Sørensen linux-can 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Preparation for support of internal PLL in mcp251xfd.drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+48 -430 replies
2/2Enable support for internal PLL in mcp251xfd.drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd.h+81 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] can: mcp251xfd: Enable support for PLL

This patch set enables support for the internal PLL in MCP251xFD. Tested on a RPi 4 and a MCP2518FD with an external 4 MHz oscillator.

The first part has been tested with the PLL sanity check disabled.

This is my first attempt at contributing to Linux, so let me know of any errors in format and/or style.

Magnus Aagaard Sørensen (2):
Preparation for support of internal PLL in mcp251xfd. Moves all calls
which would alter the clock setup, apart from probe, into PM calls.
Enable support for internal PLL in mcp251xfd. The PLL is enabled if
the configured clock is less than or equal to 10 times the max clock frequency.

 .../net/can/spi/mcp251xfd/mcp251xfd-core.c    | 174 +++++++++++++-----
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h     |   3 +
 2 files changed, 126 insertions(+), 51 deletions(-)
Signature · 1 line
2.20.1