On Mon, Apr 02, 2018 at 10:37:51AM -0400, Murali Karicheri wrote: > Navigator Subsystem (NAVSS) available on K2G SoC has a cut down > version of QMSS with less number of queues, internal linking ram > with lesser number of buffers etc. It doesn't have status and > explicit push register space as in QMSS available on other K2 SoCs. > So define reg indices specific to QMSS on K2G. This patch introduces > "ti,66ak2g-navss-qm" compatibility to identify QMSS on K2G NAVSS > and to customize the dts handling code. Per Device manual, > descriptors with index less than or equal to regions0_size is in region 0 > in the case of K2 QMSS where as for QMSS on K2G, descriptors with index > less than regions0_size is in region 0. So update the size accordingly in > the regions0_size bits of the linking ram size 0 register. > > Signed-off-by: Murali Karicheri <m-kariche...@ti.com> > Signed-off-by: WingMan Kwok <w-kw...@ti.com> > --- > .../bindings/soc/ti/keystone-navigator-qmss.txt | 9 ++-
Reviewed-by: Rob Herring <r...@kernel.org> > drivers/soc/ti/knav_qmss.h | 6 ++ > drivers/soc/ti/knav_qmss_queue.c | 90 > ++++++++++++++++------ > 3 files changed, 82 insertions(+), 23 deletions(-)