mbox series

[RESEND,0/5] soc/fsl/qe: cleanups and new DT binding

Message ID 20190430133615.25721-1-rasmus.villemoes@prevas.dk (mailing list archive)
Headers show
Series soc/fsl/qe: cleanups and new DT binding | expand

Message

Rasmus Villemoes April 30, 2019, 1:36 p.m. UTC
This small series consists of some small cleanups and simplifications
of the QUICC engine driver, and introduces a new DT binding that makes
it much easier to support other variants of the QUICC engine IP block
that appears in the wild: There's no reason to expect in general that
the number of valid SNUMs uniquely determines the set of such, so it's
better to simply let the device tree specify the values (and,
implicitly via the array length, also the count).

I sent these two months ago, but mostly as POC inside another
thread. Resending as proper patch series.

Rasmus Villemoes (5):
  soc/fsl/qe: qe.c: drop useless static qualifier
  soc/fsl/qe: qe.c: reduce static memory footprint by 1.7K
  soc/fsl/qe: qe.c: introduce qe_get_device_node helper
  soc/fsl/qe: qe.c: support fsl,qe-snums property
  soc/fsl/qe: qe.c: fold qe_get_num_of_snums into qe_snums_init

 .../devicetree/bindings/soc/fsl/cpm_qe/qe.txt |   8 +-
 drivers/net/ethernet/freescale/ucc_geth.c     |   2 +-
 drivers/soc/fsl/qe/qe.c                       | 162 +++++++-----------
 include/soc/fsl/qe/qe.h                       |   2 +-
 4 files changed, 73 insertions(+), 101 deletions(-)