From: "Magnus Aagaard Sørensen" <mas@csselectronics.com>
To: linux-can@vger.kernel.org
Cc: "Magnus Aagaard Sørensen" <mas@csselectronics.com>
Subject: [PATCH 0/2] can: mcp251xfd: Enable support for PLL
Date: Thu, 15 Oct 2020 13:43:59 +0100 [thread overview]
Message-ID: <20201015124401.2766-1-mas@csselectronics.com> (raw)
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
next reply other threads:[~2020-10-15 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-15 12:43 Magnus Aagaard Sørensen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201015124401.2766-1-mas@csselectronics.com \
--to=mas@csselectronics.com \
--cc=linux-can@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).