Texas Instruments K3 NavigatorSS Ring Accelerator
Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/k3-ringacc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Santosh Shilimkar <ssantosh@kernel.org>", "Grygorii Strashko <grygorii.strashko@ti.com>"
The Ring Accelerator (RA) is a machine which converts read/write accesses from/to a constant address into corresponding read/write accesses from/to a circular data structure in memory. The RA eliminates the need for each DMA controller which needs to access ring elements from having to know the current state of the ring (base address, current offset). The DMA controller performs a read or write access to a specific address range (which maps to the source interface on the RA) and the RA replaces the address for the transaction with a new address which corresponds to the head or tail element of the ring (head for reads, tail for writes).
The Ring Accelerator is a hardware module that is responsible for accelerating management of the packet queues. The K3 SoCs can have more than one RA instances
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/arm/keystone/ti,k3-sci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ti,am654-navss-ringacc"
reg — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
real time registers regions
Item 2
fifos registers regions
Item 3
proxy gcfg registers regions
Item 4
proxy target registers regions
Item 5
configuration registers region
reg-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"rt"
Item 2
Exact value (
const):"fifos"
Item 3
Exact value (
const):"proxy_gcfg"
Item 4
Exact value (
const):"proxy_target"
Item 5
Exact value (
const):"cfg"
msi-parent — required here #
true — No constraints added by this property rule.
ti,num-rings — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of rings supported by RA
ti,sci-rm-range-gp-rings — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
TI-SCI RM subtype for GP ring range
Required in this object (required): "compatible", "reg", "reg-names", "msi-parent", "ti,num-rings", "ti,sci-rm-range-gp-rings", "ti,sci", "ti,sci-dev-id"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
ringacc: ringacc@3c000000 {
compatible = "ti,am654-navss-ringacc";
reg = <0x0 0x3c000000 0x0 0x400000>,
<0x0 0x38000000 0x0 0x400000>,
<0x0 0x31120000 0x0 0x100>,
<0x0 0x33000000 0x0 0x40000>,
<0x0 0x31080000 0x0 0x40000>;
reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
ti,num-rings = <818>;
ti,sci-rm-range-gp-rings = <0x2>; /* GP ring range */
ti,sci = <&dmsc>;
ti,sci-dev-id = <187>;
msi-parent = <&inta_main_udmass>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/