summaryrefslogtreecommitdiffstats
path: root/src/soc/nvidia/tegra210/include/soc/power.h
blob: 171c49afc9c51b4a9cdd8f1c82d63f58d63dd2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef __SOC_NVIDIA_TEGRA210_POWER_H__
#define __SOC_NVIDIA_TEGRA210_POWER_H__

#include <soc/pmc.h>

void power_ungate_partition(uint32_t id);
void power_gate_partition(uint32_t id);

uint8_t pmc_rst_status(void);
void pmc_print_rst_status(void);
void remove_clamps(int id);
void pmc_override_pwr_det(uint32_t bits, uint32_t override);

#endif	/* __SOC_NVIDIA_TEGRA210_POWER_H__ */