[PATCH v9 0/2] soc: ti: k3: Introduce ringacc driver
From: Peter Ujfalusi
Date: Wed Jan 15 2020 - 05:35:28 EST
Hi Santosh,
as you have asked I have sending the ringacc driver as a separate series from
the DMA support for K3 platform.
I have picked the patches from v8 of the DMA support series.
The changelog regarding to ringacc:
Changes since v8:
- No change, picked from
v8: https://lore.kernel.org/lkml/20191223110458.30766-1-peter.ujfalusi@xxxxxx/
Changes since v7:
- Added Tested-by from Keerthy
- Do not allow it to be built as a module for now as two exports are missing
from kernel:
- devm_ti_sci_get_of_resource()
- of_msi_get_domain()
Changes since v6:
- No change
Changes since v5:
- No change
Changes since v4:
- clarify the meaning of ti,sci-dev-id in the binding document
- Remove 'default y' from Kconfig
- Fix struct comments
- Move try_module_get() earlier in k3_ringacc_request_ring()
Changes since v3:
- TODO_GS is removed from the header
- pm_runtime removed as NAVSS and it's components are always on
- Check validity of Message mode setup (element size > 8 bytes must use proxy)
Changes since v2:
- fixed up th commit message (SoB, TI-SCI)
- fixed ring reset
- CONFIG_TI_K3_RINGACC_DEBUG is removed along with the dbg_write/read functions
and use dev_dbg()
- k3_ringacc_ring_dump() is moved to static
- step numbering removed from k3_ringacc_ring_reset_dma()
- Add clarification comment for shared ring usage in k3_ringacc_ring_cfg()
- Magic shift values in k3_ringacc_ring_cfg_proxy() got defined
- K3_RINGACC_RING_MODE_QM is removed as it is not supported
Changes since v1:
- Added Rob's Reviewed-by to ringacc DT binding document patch
Regards,
Peter
---
Grygorii Strashko (2):
bindings: soc: ti: add documentation for k3 ringacc
soc: ti: k3: add navss ringacc driver
.../devicetree/bindings/soc/ti/k3-ringacc.txt | 59 +
drivers/soc/ti/Kconfig | 11 +
drivers/soc/ti/Makefile | 1 +
drivers/soc/ti/k3-ringacc.c | 1157 +++++++++++++++++
include/linux/soc/ti/k3-ringacc.h | 244 ++++
5 files changed, 1472 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-ringacc.txt
create mode 100644 drivers/soc/ti/k3-ringacc.c
create mode 100644 include/linux/soc/ti/k3-ringacc.h
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki