]> git.ipfire.org Git - thirdparty/linux.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)
commit2cf0b6fe9bd3c05b499b26ba871651d7860c10f4
tree2c3e95f602bc3cea04b03db31544e60643a1966c
parentf3fafbcbe873cb4bf45d62623bf39897ab5f46b4
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