blob: 6e4edc5b362d105ef698d07f24557fb9413b67c0 [file] [log] [blame]
Paul Keith464c0c92016-12-10 09:30:32 -06001/*
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_CONSUMERIR_H
18#define SAMSUNG_CONSUMERIR_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 IR_PATH "/sys/class/sec/sec_ir/ir_send"
28
29/*
30 * Board specific configs
31 *
32 * If your device needs a different configuration, you
33 * can override this header in your device tree
34 */
35// Some devices need MS_IR_SIGNAL to avoid ms to pulses conversionn
36//#define MS_IR_SIGNAL
37
38static const consumerir_freq_range_t consumerir_freqs[] = {
39 {.min = 30000, .max = 30000},
40 {.min = 33000, .max = 33000},
41 {.min = 36000, .max = 36000},
42 {.min = 38000, .max = 38000},
43 {.min = 40000, .max = 40000},
44 {.min = 56000, .max = 56000},
45};
46
47#endif // SAMSUNG_CONSUMERIR_H