]> 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)
commit343111b23ef86d56020b4ad0f73017cc12a14959
tree2c3e95f602bc3cea04b03db31544e60643a1966c
parent3636635460339d4683532be451e79c71fdf974d3
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