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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux