[PATCH 0/4] soc/fsl/qe: qe.c: cleanups and support for MPC8309
From: Rasmus Villemoes
Date: Thu Feb 28 2019 - 05:30:50 EST
This is what I have in mind for a fsl,qe-snums property. The second
patch in the series has the side effect of making it very easy to
introduce that, since the of_property_read_variable_u8_array helper
does exactly what we need in terms of verifying the array length and
copying out the values to the snums array.
This should make it easier to support all of the QE variants out
there, instead of teaching the qe driver some magic mapping from
qe-num-snums to actual snum values.
Rasmus Villemoes (4):
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
.../devicetree/bindings/soc/fsl/cpm_qe/qe.txt | 8 +-
drivers/soc/fsl/qe/qe.c | 124 ++++++++----------
2 files changed, 62 insertions(+), 70 deletions(-)
--
2.20.1