platform: dce: Halify HSP functions

This patch Halify HSP access functions. SOC-specific HSP functions
are assigned during driver prob based on of_device_is_compatible check.

Jira TDS-15438

Change-Id: Ia8d68cd658eaa06dd5d06e8ba92f32907a31fd4f
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3225858
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mahesh Kumar
2024-10-04 10:57:07 +00:00
committed by Jon Hunter
parent 46b8dfe796
commit 9a401f8077
11 changed files with 193 additions and 103 deletions

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#ifndef TEGRA_DCE_H
@@ -179,6 +179,10 @@ struct tegra_dce {
* @hsp_id - HSP instance id used for dce communication
*/
u32 hsp_id;
/**
* @hsp - Struct to store function pointers for HSP access.
*/
struct dce_hsp_fn hsp;
/**
* @boot_status - u32 variable to store dce's boot status.
*/