]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: dpio: extract the QBMAN clock frequency from the attributes
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 15 Oct 2021 09:01:23 +0000 (12:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 13:32:40 +0000 (14:32 +0100)
commitf9ea4bd02c532f921b5d91cb92e160d351071ff4
tree2c3e95f602bc3cea04b03db31544e60643a1966c
parent87e366988824023ca9a547a92864fa2fca29a4cf
soc: fsl: dpio: extract the QBMAN clock frequency from the attributes

Through the dpio_get_attributes() firmware call the dpio driver has
access to the QBMAN clock frequency. Extend the structure which holds
the firmware's response so that we can have access to this information.

This will be needed in the next patches which also add support for
interrupt coalescing which needs to be configured based on the
frequency.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/soc/fsl/dpio/dpio-cmd.h
drivers/soc/fsl/dpio/dpio-driver.c
drivers/soc/fsl/dpio/dpio-service.c
drivers/soc/fsl/dpio/dpio.c
drivers/soc/fsl/dpio/dpio.h
drivers/soc/fsl/dpio/qbman-portal.h
include/soc/fsl/dpaa2-io.h