All of lore.kernel.org
 help / color / mirror / Atom feed
* [REPOST PATCH 0/4] can: m_can: various regmask-related cleanup
@ 2021-05-04 11:48 Torin Cooper-Bennun
  2021-05-04 11:48 ` [PATCH 1/4] can: m_can: use bits.h macros for all regmasks Torin Cooper-Bennun
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Torin Cooper-Bennun @ 2021-05-04 11:48 UTC (permalink / raw)
  To: linux-can; +Cc: Marc Kleine-Budde

Hi all!

1/4 modernises m_can.c, using GENMASK for all regmasks and
FIELD_{GET,PREP,MAX} for ops. Maintainable, consistent and concise.

2/4 makes clear all the differences in CCCR between M_CAN spec
revisions,
and orders the defs by revision, ascending.

3/4 makes explicit the config of RX & TX buffer sizes, making it a bit
more readable, especially against the spec.

4/4 fixes whitespace in a few comments.

Cheers!

Torin
maxiluxsystems.com


---
Reposting to include signoffs in each commit.



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

end of thread, other threads:[~2021-05-04 12:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 11:48 [REPOST PATCH 0/4] can: m_can: various regmask-related cleanup Torin Cooper-Bennun
2021-05-04 11:48 ` [PATCH 1/4] can: m_can: use bits.h macros for all regmasks Torin Cooper-Bennun
2021-05-04 11:48 ` [PATCH 2/4] can: m_can: clean up CCCR reg defs, order by revs Torin Cooper-Bennun
2021-05-04 11:49 ` [PATCH 3/4] can: m_can: make TXESC, RXESC config more explicit Torin Cooper-Bennun
2021-05-04 11:49 ` [PATCH 4/4] can: m_can: fix whitespace in a few comments Torin Cooper-Bennun
2021-05-04 11:54 ` [REPOST PATCH 0/4] can: m_can: various regmask-related cleanup Marc Kleine-Budde
2021-05-04 11:58   ` Torin Cooper-Bennun
2021-05-04 12:20     ` Marc Kleine-Budde
2021-05-04 12:48       ` Torin Cooper-Bennun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.