Tizen 2.1 base
[platform/adaptation/intel_mfld/device-manager-plugin-mfld-blackbay.git] / include / devman_define_node_path.h
1 /*
2 * Copyright (c) 2012 Intel Co., Ltd All Rights Reserved
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
18 #ifndef __DEVMAN_DEFINE_NODE_PATH_H
19 #define __DEVMAN_DEFINE_NODE_PATH_H
20
21 #define BACKLIGHT_PATH "/sys/class/backlight/"
22 #define BACKLIGHT_MAX_BRIGHTNESS_PATH   BACKLIGHT_PATH"%s/max_brightness"
23 #define BACKLIGHT_MIN_BRIGHTNESS_PATH   BACKLIGHT_PATH"%s/min_brightness"
24 #define BACKLIGHT_BRIGHTNESS_PATH       BACKLIGHT_PATH"%s/brightness"
25 #define BACKLIGHT_DIMMING_PATH  BACKLIGHT_PATH"%s/dimming"
26 #define LCD_PATH  "/sys/class/lcd/"
27 #define LCD_ACL_CONTROL_PATH    LCD_PATH"%s/acl_control"
28 #define LCD_POWER_PATH                  LCD_PATH"%s/lcd_power"
29 #define IMAGE_ENHANCE_PATH                      "/sys/class/extension/mdnie/%s"
30 #define IMAGE_ENHANCE_PATH_INFO                 "/sys/class/extension/mdnie"
31
32 #define DISPLAY_FRAME_RATE_PATH                 "/sys/devices/platform/mfld4412-display/devfreq/mfld4412-display/max_freq"
33
34 #define UART_PATH                       "/sys/devices/virtual/sec/switch/uart_sel"
35 #define USB_PATH                        "/sys/devices/virtual/sec/switch/usb_sel"
36 #define UART_PATH_TRATS                 "/sys/devices/platform/uart-select/path"
37 #define USB_PATH_TRATS                  "/sys/devices/platform/usb-select/path"
38
39 #define HAPTIC_MOTOR_LEVEL_PATH "/sys/class/haptic/motor/level"
40 #define HAPTIC_MOTOR_LEVEL_MAX_PATH     "/sys/class/haptic/motor/level_max"
41 #define HAPTIC_MOTOR_ENABLE_PATH        "/sys/class/haptic/motor/enable"
42 #define HAPTIC_MOTOR_ONESHOT_PATH       "/sys/class/haptic/motor/oneshot"
43
44 #define BATTERY_CAPACITY_PATH           "/sys/class/power_supply/max170xx_battery/capacity"
45 #define BATTERY_CAPACITY_RAW_PATH       "/sys/class/power_supply/max170xx_battery/capacity_raw"
46 #define BATTERY_CHARGE_FULL_PATH        "/sys/class/power_supply/max170xx_battery/charge_full"
47 #define BATTERY_CHARGE_NOW_PATH         "/sys/class/power_supply/max170xx_battery/charge_now"
48 #define BATTERY_CHARGE_STATUS_PATH  "/sys/class/power_supply/max170xx_battery/status"
49 #define BATTERY_PRESENT_PATH            "/sys/class/power_supply/max170xx_battery/present"
50 #define BATTERY_HEALTH_PATH             "/sys/class/power_supply/max170xx_battery/health"
51
52 #define JACK_CHARGER_ONLINE_PATH        "/sys/class/power_supply/msic_charger/online"
53 #define JACK_EARJACK_ONLINE_PATH        "/sys/devices/platform/jack/earjack_online"
54 #define JACK_EARKEY_ONLINE_PATH         "/sys/devices/platform/jack/earkey_online"
55 #define JACK_HDMI_ONLINE_PATH           "/sys/devices/platform/jack/hdmi_online"
56 #define JACK_USB_ONLINE_PATH            "/sys/devices/platform/jack/usb_online"
57 #define JACK_CRADLE_ONLINE_PATH         "/sys/devices/platform/jack/cradle_online"
58 #define JACK_TVOUT_ONLINE_PATH          "/sys/devices/platform/jack/tvout_online"
59 #define JACK_KEYBOARD_ONLINE_PATH               "/sys/devices/platform/jack/keyboard_online"
60
61 #define LEDS_TORCH_MAX_BRIGHTNESS_PATH  "/sys/class/camera/flash/max_brightness"
62 #define LEDS_TORCH_BRIGHTNESS_PATH      "/sys/class/camera/flash/rear_flash"
63
64 #define POWER_STATE_PATH                "/sys/power/state"
65 #define POWER_WAKEUP_COUNT_PATH         "/sys/power/wakeup_count"
66
67 #define MEMNOTIFY_NODE                  "/dev/memnotify"
68 #define MEMNOTIFY_VICTIM_TASK_PATH      "/sys/class/memnotify/victim_task"
69 #define MEMNOTIFY_THRESHOLD_LV1_PATH    "/sys/class/memnotify/threshold_lv1"
70 #define MEMNOTIFY_THRESHOLD_LV2_PATH    "/sys/class/memnotify/threshold_lv2"
71
72 #define TOUCH_EVENT_NODE                "/dev/event2"
73
74 #define PROCESS_MONITOR_NODE            "/dev/pmon"
75 #define PROCESS_MONITOR_MP_PNP_PATH     "/sys/class/pmon/mp_pnp"
76 #define PROCESS_MONITOR_MP_VIP_PATH     "/sys/class/pmon/mp_vip"
77
78 #define CPUFREQ_CPUINFO_MAX_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq"
79 #define CPUFREQ_CPUINFO_MIN_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq"
80 #define CPUFREQ_SCALING_MAX_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
81 #define CPUFREQ_SCALING_MIN_FREQ_PATH   "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
82
83 #endif /* __DEVMAN_DEFINE_NODE_PATH_H */