blob: c85b650c4d2520b90dcf1070d95e15e435aee1cf [file] [log] [blame]
Jan Altensene0dd3292020-02-01 06:21:33 +01001/*
2 * Copyright (C) 2016 The CyanogenMod Project
3 * Copyright (C) 2020 The LineageOS Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#ifndef SAMSUNG_POWER_H
19#define SAMSUNG_POWER_H
20
21/*
22 * Board specific nodes
23 *
24 * If your kernel exposes these controls in another place, you can either
25 * symlink to the locations given here, or override this header in your
26 * device tree.
27 */
28
29static const std::vector<std::string> cpuSysfsPaths = {
30 "/sys/devices/system/cpu/cpu0",
31 "/sys/devices/system/cpu/cpu4"
32};
33
34static const std::vector<std::string> cpuInteractivePaths = {
35 "/sys/devices/system/cpu/cpu0/cpufreq/interactive",
36 "/sys/devices/system/cpu/cpu4/cpufreq/interactive"
37};
38
39/* double tap to wake node */
40//#define TAP_TO_WAKE_NODE "/sys/class/sec/tsp/dt2w_enable"
41
42#endif // SAMSUNG_POWER_H