diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2015-05-19 11:40:55 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-24 08:05:09 -0400 |
commit | f5005f7835e0da9ea6f203f8acc356bef9b331da (patch) | |
tree | f4e0088951962551941d9c83e735d30e2f08b14a | |
parent | 28c0a8433dd56146627d00907ad99084654741e8 (diff) |
dt-bindings: add header for generic I2C flags in bindings
Tested-by: Andrey Danin <danindrey@mail.ru>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | include/dt-bindings/i2c/i2c.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/i2c/i2c.h b/include/dt-bindings/i2c/i2c.h new file mode 100644 index 000000000000..1d5da81d90f1 --- /dev/null +++ b/include/dt-bindings/i2c/i2c.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | * This header provides constants for I2C bindings | ||
3 | * | ||
4 | * Copyright (C) 2015 by Sang Engineering | ||
5 | * Copyright (C) 2015 by Renesas Electronics Corporation | ||
6 | * | ||
7 | * Wolfram Sang <wsa@sang-engineering.com> | ||
8 | * | ||
9 | * GPLv2 only | ||
10 | */ | ||
11 | |||
12 | #ifndef _DT_BINDINGS_I2C_I2C_H | ||
13 | #define _DT_BINDINGS_I2C_I2C_H | ||
14 | |||
15 | #define I2C_TEN_BIT_ADDRESS (1 << 31) | ||
16 | #define I2C_OWN_SLAVE_ADDRESS (1 << 30) | ||
17 | |||
18 | #endif | ||