mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-21 06:50:25 +00:00

Implement runtime power management for iris, including a platform specific power on/off sequence. Tested-by: Stefan Schmidt <stefan.schmidt@linaro.org> # x1e80100 (Dell XPS 13 9345) Reviewed-by: Stefan Schmidt <stefan.schmidt@linaro.org> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-HDK Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
18 lines
669 B
C
18 lines
669 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __IRIS_RESOURCES_H__
|
|
#define __IRIS_RESOURCES_H__
|
|
|
|
struct iris_core;
|
|
|
|
int iris_enable_power_domains(struct iris_core *core, struct device *pd_dev);
|
|
int iris_disable_power_domains(struct iris_core *core, struct device *pd_dev);
|
|
int iris_unset_icc_bw(struct iris_core *core);
|
|
int iris_set_icc_bw(struct iris_core *core, unsigned long icc_bw);
|
|
int iris_disable_unprepare_clock(struct iris_core *core, enum platform_clk_type clk_type);
|
|
int iris_prepare_enable_clock(struct iris_core *core, enum platform_clk_type clk_type);
|
|
|
|
#endif
|