| .. | .. |
|---|
| 57 | 57 | #define SIP_WDT_CFG 0x82000026 |
|---|
| 58 | 58 | #define SIP_HDMIRX_CFG 0x82000027 |
|---|
| 59 | 59 | #define SIP_MCU_CFG 0x82000028 |
|---|
| 60 | +#define SIP_PVTPLL_CFG 0x82000029 |
|---|
| 60 | 61 | |
|---|
| 61 | 62 | #define TRUSTED_OS_HDCPKEY_INIT 0xB7000003 |
|---|
| 62 | 63 | |
|---|
| .. | .. |
|---|
| 226 | 227 | HDMIRX_INFO_NOTIFY = 2, |
|---|
| 227 | 228 | }; |
|---|
| 228 | 229 | |
|---|
| 230 | +/* SIP_PVTPLL_CFG child configs */ |
|---|
| 231 | +enum { |
|---|
| 232 | + PVTPLL_GET_INFO = 0, |
|---|
| 233 | + PVTPLL_ADJUST_TABLE = 1, |
|---|
| 234 | + PVTPLL_LOW_TEMP = 2, |
|---|
| 235 | +}; |
|---|
| 236 | + |
|---|
| 229 | 237 | struct pt_regs; |
|---|
| 230 | 238 | typedef void (*sip_fiq_debugger_uart_irq_tf_cb_t)(struct pt_regs *_pt_regs, unsigned long cpu); |
|---|
| 231 | 239 | |
|---|
| .. | .. |
|---|
| 256 | 264 | struct dram_addrmap_info *sip_smc_get_dram_map(void); |
|---|
| 257 | 265 | int sip_smc_amp_config(u32 sub_func_id, u32 arg1, u32 arg2, u32 arg3); |
|---|
| 258 | 266 | struct arm_smccc_res sip_smc_get_amp_info(u32 sub_func_id, u32 arg1); |
|---|
| 267 | +struct arm_smccc_res sip_smc_get_pvtpll_info(u32 sub_func_id, u32 arg1); |
|---|
| 268 | +struct arm_smccc_res sip_smc_pvtpll_config(u32 sub_func_id, u32 arg1, u32 arg2, |
|---|
| 269 | + u32 arg3, u32 arg4, u32 arg5, u32 arg6); |
|---|
| 259 | 270 | |
|---|
| 260 | 271 | void __iomem *sip_hdcp_request_share_memory(int id); |
|---|
| 261 | 272 | struct arm_smccc_res sip_hdcp_config(u32 arg0, u32 arg1, u32 arg2); |
|---|
| .. | .. |
|---|
| 365 | 376 | return tmp; |
|---|
| 366 | 377 | } |
|---|
| 367 | 378 | |
|---|
| 379 | +static inline struct arm_smccc_res sip_smc_get_pvtpll_info(u32 sub_func_id, |
|---|
| 380 | + u32 arg1) |
|---|
| 381 | +{ |
|---|
| 382 | + struct arm_smccc_res tmp = { .a0 = SIP_RET_NOT_SUPPORTED, }; |
|---|
| 383 | + |
|---|
| 384 | + return tmp; |
|---|
| 385 | +} |
|---|
| 386 | + |
|---|
| 387 | +static inline struct arm_smccc_res sip_smc_pvtpll_config(u32 sub_func_id, |
|---|
| 388 | + u32 arg1, u32 arg2, |
|---|
| 389 | + u32 arg3, u32 arg4, |
|---|
| 390 | + u32 arg5, u32 arg6) |
|---|
| 391 | +{ |
|---|
| 392 | + struct arm_smccc_res tmp = { .a0 = SIP_RET_NOT_SUPPORTED, }; |
|---|
| 393 | + |
|---|
| 394 | + return tmp; |
|---|
| 395 | +} |
|---|
| 396 | + |
|---|
| 368 | 397 | static inline void __iomem *sip_hdcp_request_share_memory(int id) |
|---|
| 369 | 398 | { |
|---|
| 370 | 399 | return NULL; |
|---|