[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228103026.9566-1-rasmus.villemoes@prevas.dk>
Date: Thu, 28 Feb 2019 10:30:39 +0000
From: Rasmus Villemoes <rasmus.villemoes@...vas.dk>
To: Qiang Zhao <qiang.zhao@....com>, Leo Li <leoyang.li@....com>
CC: Scott Wood <oss@...error.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Timur Tabi <timur@...escale.com>,
Rasmus Villemoes <Rasmus.Villemoes@...vas.se>
Subject: [PATCH 0/4] soc/fsl/qe: qe.c: cleanups and support for MPC8309
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
Powered by blists - more mailing lists