mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
rtcpu: set op point via sysfs
Create and register set and get operating point sysfs functions. The operating point notification will contain the requested operating point. The nvcap resource manager will extract the operating point from the notfication and send it to rce via the hsp command interface. In turn, rce will apply the operating point by adjusting the functional clock frequencies for the following camera ip: - rce hardware - vi hardware - isp hardware - nvcsi Jira CAMERASW-26378 Signed-off-by: Robert Kelly <rkelly@nvidia.com> Change-Id: Ia814b2716d3738efb3cbc37307a267140b555f42 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3179593 (cherry picked from commit d259727a57ecf4b9463030b3418715891b3b1209) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3189078 Reviewed-by: Semi Malinen <smalinen@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d7a9c5b734
commit
98be04181c
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef INCLUDE_RTCPU_HSP_COMBO_H
|
||||
@@ -29,6 +29,8 @@ int camrtc_hsp_ch_setup(struct camrtc_hsp *camhsp, dma_addr_t iova);
|
||||
int camrtc_hsp_ping(struct camrtc_hsp *camhsp, u32 data, long timeout);
|
||||
int camrtc_hsp_get_fw_hash(struct camrtc_hsp *camhsp,
|
||||
u8 hash[], size_t hash_size);
|
||||
int camrtc_hsp_set_operating_point(struct camrtc_hsp *camhsp,
|
||||
uint32_t operating_point);
|
||||
|
||||
|
||||
#endif /* INCLUDE_RTCPU_HSP_COMBO_H */
|
||||
|
||||
Reference in New Issue
Block a user