[PATCH v2 0/6] soc/fsl/qe: cleanups and new DT binding
From: Rasmus Villemoes
Date: Wed May 01 2019 - 05:29:24 EST
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).
v2:
- Address comments from Christophe Leroy
- Add his Reviewed-by to 1/6 and 3/6
- Split DT binding update to separate patch as per
Documentation/devicetree/bindings/submitting-patches.txt
Rasmus Villemoes (6):
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
dt-bindings: soc/fsl: qe: document new fsl,qe-snums binding
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/soc/fsl/qe/qe.c | 164 +++++++-----------
2 files changed, 72 insertions(+), 100 deletions(-)
--
2.20.1