summaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru/pwm_regulator.h
blob: 3afb9d7eefb1e7a64a97139640dd5b6d41c0136b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef __COREBOOT_SRC_MAINBOARD_GOOGLE_GRU_PWM_REGULATOR_H
#define __COREBOOT_SRC_MAINBOARD_GOOGLE_GRU_PWM_REGULATOR_H

enum pwm_regulator {
	PWM_REGULATOR_GPU = 0,
	PWM_REGULATOR_BIG,
	PWM_REGULATOR_LIT,
	PWM_REGULATOR_CENTERLOG
};

void pwm_regulator_configure(enum pwm_regulator pwm, int millivolt);

#endif /* ! __COREBOOT_SRC_MAINBOARD_GOOGLE_GRU_PWM_REGULATOR_H */