| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. |
|---|
| 3 | 4 | * Copyright (C) 2017 Linaro Ltd. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 7 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | | - * |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | #ifndef __VENUS_HFI_VENUS_IO_H__ |
|---|
| 16 | 7 | #define __VENUS_HFI_VENUS_IO_H__ |
|---|
| .. | .. |
|---|
| 112 | 103 | #define WRAPPER_CPU_STATUS (WRAPPER_BASE + 0x2014) |
|---|
| 113 | 104 | #define WRAPPER_CPU_STATUS_WFI BIT(0) |
|---|
| 114 | 105 | #define WRAPPER_SW_RESET (WRAPPER_BASE + 0x3000) |
|---|
| 106 | +#define WRAPPER_CPA_START_ADDR (WRAPPER_BASE + 0x1020) |
|---|
| 107 | +#define WRAPPER_CPA_END_ADDR (WRAPPER_BASE + 0x1024) |
|---|
| 108 | +#define WRAPPER_FW_START_ADDR (WRAPPER_BASE + 0x1028) |
|---|
| 109 | +#define WRAPPER_FW_END_ADDR (WRAPPER_BASE + 0x102C) |
|---|
| 110 | +#define WRAPPER_NONPIX_START_ADDR (WRAPPER_BASE + 0x1030) |
|---|
| 111 | +#define WRAPPER_NONPIX_END_ADDR (WRAPPER_BASE + 0x1034) |
|---|
| 112 | +#define WRAPPER_A9SS_SW_RESET (WRAPPER_BASE + 0x3000) |
|---|
| 113 | +#define WRAPPER_A9SS_SW_RESET_BIT BIT(4) |
|---|
| 115 | 114 | |
|---|
| 116 | 115 | /* Venus 4xx */ |
|---|
| 117 | 116 | #define WRAPPER_VCODEC0_MMCC_POWER_STATUS (WRAPPER_BASE + 0x90) |
|---|