aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/pm/cpufreq.h
blob: b111c05ea982e50de1883f9b8782c11e01246670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (C) ST-Ericsson SA 2011
 *
 * License Terms: GNU General Public License v2
 */
#ifndef __UX500_PM_CPUFREQ_H
#define __UX500_PM_CPUFREQ_H

#include <linux/cpufreq.h>

extern int ux500_cpufreq_register(struct cpufreq_frequency_table *freq_table,
				  enum arm_opp *idx2opp);

void cpufreq_usb_connect_notify(bool connect);

/* This function lives in drivers/cpufreq/cpufreq.c */
int cpufreq_update_freq(int cpu, unsigned int min, unsigned int max);

int ux500_cpufreq_limits(int cpu, int r, unsigned int *min, unsigned int *max);

#endif