diff options
| author | 2020-10-25 12:10:03 -0700 | |
|---|---|---|
| committer | 2020-11-01 19:37:59 -0800 | |
| commit | 519c5c0c558b529f835c9bb30f9a1eb2034d585c (patch) | |
| tree | bb6df60a7d28ac6a5955cb556e411ce88dc34c38 /include | |
| parent | firmware: ti_sci: Use struct ti_sci_resource_desc in get_range ops (diff) | |
| download | linux-dev-519c5c0c558b529f835c9bb30f9a1eb2034d585c.tar.xz linux-dev-519c5c0c558b529f835c9bb30f9a1eb2034d585c.zip | |
firmware: ti_sci: rm: Add support for second resource range
Sysfw added support for a second range in the resource range API to be able
to describe complex allocations mainly for DMA channels.
Update the ti_sci part to consider the second range as well.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/soc/ti/ti_sci_protocol.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/soc/ti/ti_sci_protocol.h b/include/linux/soc/ti/ti_sci_protocol.h index 6cd537db4d33..9699b260de59 100644 --- a/include/linux/soc/ti/ti_sci_protocol.h +++ b/include/linux/soc/ti/ti_sci_protocol.h @@ -197,13 +197,17 @@ struct ti_sci_clk_ops { /** * struct ti_sci_resource_desc - Description of TI SCI resource instance range. - * @start: Start index of the resource. - * @num: Number of resources. + * @start: Start index of the first resource range. + * @num: Number of resources in the first range. + * @start_sec: Start index of the second resource range. + * @num_sec: Number of resources in the second range. * @res_map: Bitmap to manage the allocation of these resources. */ struct ti_sci_resource_desc { u16 start; u16 num; + u16 start_sec; + u16 num_sec; unsigned long *res_map; }; |
