blob: 93752df62548da90c5b2c842a36ccd63b911aa6e [file] [log] [blame]
Christopher N. Hesse4139d852016-12-07 12:21:44 +01001/*
2 * Copyright (C) 2016 The CyanogenMod Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef SAMSUNG_POWER_H
18#define SAMSUNG_POWER_H
19
20/*
21 * Board specific nodes
22 *
23 * If your kernel exposes these controls in another place, you can either
24 * symlink to the locations given here, or override this header in your
25 * device tree.
26 */
Christopher N. Hesse5fada9b2017-01-16 23:39:48 +010027#define BOOST_PATH "/sys/devices/system/cpu/cpu0/cpufreq/interactive/boost"
Christopher N. Hesse4139d852016-12-07 12:21:44 +010028#define BOOSTPULSE_PATH "/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse"
29
30#define IO_IS_BUSY_PATH "/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy"
31
32#define CPU0_HISPEED_FREQ_PATH "/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq"
33#define CPU0_MAX_FREQ_PATH "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
34#define CPU4_HISPEED_FREQ_PATH "/sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq"
35#define CPU4_MAX_FREQ_PATH "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq"
36
37#endif // SAMSUNG_POWER_H