diff options
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr1')
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr1/i2c-target.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr1/i2c-target.h b/firmware/target/hosted/samsungypr/ypr1/i2c-target.h new file mode 100644 index 0000000000..f1fed01cc7 --- /dev/null +++ b/firmware/target/hosted/samsungypr/ypr1/i2c-target.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Module wrapper for SI4709 FM Radio Chip, using /dev/si470x (si4709.ko) | ||
10 | * Samsung YP-R0 & Samsung YP-R1 | ||
11 | * | ||
12 | * Copyright (c) 2017 Lorenzo Miori | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | |||
24 | #ifndef I2C_TARGET_H_ | ||
25 | #define I2C_TARGET_H_ | ||
26 | |||
27 | /** Define the FM Radio Chip I2C bus */ | ||
28 | #define I2C_BUS_FM_RADIO ("/dev/i2c-1") | ||
29 | |||
30 | #endif /* I2C_TARGET_H_ */ | ||