summaryrefslogtreecommitdiffstats
path: root/kernel/include/dt-bindings/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/dt-bindings/i2c')
-rw-r--r--kernel/include/dt-bindings/i2c/i2c.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/i2c/i2c.h b/kernel/include/dt-bindings/i2c/i2c.h
new file mode 100644
index 000000000..1d5da81d9
--- /dev/null
+++ b/kernel/include/dt-bindings/i2c/i2c.h
@@ -0,0 +1,18 @@
+/*
+ * This header provides constants for I2C bindings
+ *
+ * Copyright (C) 2015 by Sang Engineering
+ * Copyright (C) 2015 by Renesas Electronics Corporation
+ *
+ * Wolfram Sang <wsa@sang-engineering.com>
+ *
+ * GPLv2 only
+ */
+
+#ifndef _DT_BINDINGS_I2C_I2C_H
+#define _DT_BINDINGS_I2C_I2C_H
+
+#define I2C_TEN_BIT_ADDRESS (1 << 31)
+#define I2C_OWN_SLAVE_ADDRESS (1 << 30)
+
+#endif