linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] can: mcp251xfd: Enable support for PLL
@ 2020-10-15 12:43 Magnus Aagaard Sørensen
  2020-10-15 12:44 ` [PATCH 1/2] Preparation for support of internal PLL in mcp251xfd Magnus Aagaard Sørensen
  2020-10-15 12:44 ` [PATCH 2/2] Enable support for " Magnus Aagaard Sørensen
  0 siblings, 2 replies; 3+ messages in thread
From: Magnus Aagaard Sørensen @ 2020-10-15 12:43 UTC (permalink / raw)
  To: linux-can; +Cc: Magnus Aagaard Sørensen

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(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-10-15 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15 12:43 [PATCH 0/2] can: mcp251xfd: Enable support for PLL Magnus Aagaard Sørensen
2020-10-15 12:44 ` [PATCH 1/2] Preparation for support of internal PLL in mcp251xfd Magnus Aagaard Sørensen
2020-10-15 12:44 ` [PATCH 2/2] Enable support for " Magnus Aagaard Sørensen

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).