apply FSL(Flora Software License)
[platform/adaptation/emulator/device-manager-plugin-emul.git] / include / devman_define_node_path.h
1 /*
2 Copyright 2012  Samsung Electronics Co., Ltd
3
4 Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 __DEVMAN_DEFINE_NODE_PATH_H
18 #define __DEVMAN_DEFINE_NODE_PATH_H
19
20 #define BACKLIGHT_PATH "/sys/class/backlight/"
21 #define BACKLIGHT_MAX_BRIGHTNESS_PATH   BACKLIGHT_PATH"%s/max_brightness"
22 #define BACKLIGHT_BRIGHTNESS_PATH       BACKLIGHT_PATH"%s/brightness"
23 #define LCD_PATH  "/sys/class/lcd/"
24 #define LCD_ACL_CONTROL_PATH    LCD_PATH"%s/acl_control"
25 #define LCD_POWER_PATH                  LCD_PATH"%s/lcd_power"
26
27 #define UART_PATH                       "/sys/devices/platform/uart-select/path"
28 #define USB_PATH                        "/sys/devices/platform/usb-switch/path"
29
30 #define HAPTIC_VIBETONES_LEVEL_PATH     "/sys/class/haptic/vibetones/level"
31 #define HAPTIC_VIBETONES_LEVEL_MAX_PATH "/sys/class/haptic/vibetones/level_max"
32 #define HAPTIC_VIBETONES_ENABLE_PATH    "/sys/class/haptic/vibetones/enable"
33 #define HAPTIC_VIBETONES_ONESHOT_PATH   "/sys/class/haptic/vibetones/oneshot"
34
35 #define BATTERY_CAPACITY_PATH           "/sys/class/power_supply/battery/capacity"
36 #define BATTERY_CHARGE_FULL_PATH        "/sys/class/power_supply/battery/charge_full"
37 #define BATTERY_CHARGE_NOW_PATH         "/sys/class/power_supply/battery/charge_now"
38 #define BATTERY_PRESENT_PATH            "/sys/class/power_supply/battery/present"
39 #define BATTERY_HEALTH_PATH             "/sys/class/power_supply/battery/health"
40
41 #define JACK_CHARGER_ONLINE_PATH        "/sys/devices/platform/jack/charger_online"
42 #define JACK_EARJACK_ONLINE_PATH        "/sys/devices/platform/jack/earjack_online"
43 #define JACK_EARKEY_ONLINE_PATH         "/sys/devices/platform/jack/earkey_online"
44 #define JACK_HDMI_ONLINE_PATH           "/sys/devices/platform/jack/hdmi_online"
45 #define JACK_USB_ONLINE_PATH            "/sys/devices/platform/jack/usb_online"
46 #define JACK_CRADLE_ONLINE_PATH         "/sys/devices/platform/jack/cradle_online"
47 #define JACK_TVOUT_ONLINE_PATH          "/sys/devices/platform/jack/tvout_online"
48 #define JACK_KEYBOARD_ONLINE_PATH               "/sys/devices/platform/jack/keyboard_online"
49
50 #define LEDS_TORCH_MAX_BRIGHTNESS_PATH  "/sys/class/leds/leds-torch/max_brightness"
51 #define LEDS_TORCH_BRIGHTNESS_PATH      "/sys/class/leds/leds-torch/brightness"
52
53 #define POWER_STATE_PATH                "/sys/power/state"
54 #define POWER_WAKEUP_COUNT_PATH         "/sys/power/wakeup_count"
55
56 #define MEMNOTIFY_NODE                  "/dev/memnotify"
57 #define MEMNOTIFY_VICTIM_TASK_PATH      "/sys/class/memnotify/victim_task"
58 #define MEMNOTIFY_THRESHOLD_LV1_PATH    "/sys/class/memnotify/threshold_lv1"
59 #define MEMNOTIFY_THRESHOLD_LV2_PATH    "/sys/class/memnotify/threshold_lv2"
60
61 #define TOUCH_EVENT_NODE                "/dev/event2"
62
63 #define PROCESS_MONITOR_NODE            "/dev/pmon"
64 #define PROCESS_MONITOR_MP_PNP_PATH     "/sys/class/pmon/mp_pnp"
65 #define PROCESS_MONITOR_MP_VIP_PATH     "/sys/class/pmon/mp_vip"
66
67 #define CPUFREQ_CPUINFO_MAX_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq"
68 #define CPUFREQ_CPUINFO_MIN_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq"
69 #define CPUFREQ_SCALING_MAX_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
70 #define CPUFREQ_SCALING_MIN_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
71
72 #endif /* __DEVMAN_DEFINE_NODE_PATH_H */