blob: ab0630e8dceae69193089a86b4c055753533af06 [file] [log] [blame]
Christopher N. Hesseae271482016-12-01 15:51:12 +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_LIGHTS_H
18#define SAMSUNG_LIGHTS_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 */
27#define PANEL_BRIGHTNESS_NODE "/sys/class/backlight/panel/brightness"
Christopher N. Hessef3c6a422016-12-05 22:11:55 +010028#define PANEL_MAX_BRIGHTNESS_NODE "/sys/class/backlight/panel/max_brightness"
Christopher N. Hesseae271482016-12-01 15:51:12 +010029#define BUTTON_BRIGHTNESS_NODE "/sys/class/sec/sec_touchkey/brightness"
30#define LED_BLINK_NODE "/sys/class/sec/led/led_blink"
31
32#endif // SAMSUNG_LIGHTS_H