aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-09-09 09:32:39 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2015-09-09 09:32:39 +1000
commitfc9b7308f1ba2387c0c61da993e32b858bc4a41e (patch)
treedfe32d0c14926b0a4c3ce7b082dcb8dcd800d0bd /include/dt-bindings
parentac7ef3bfaf94da61ab5a63dd6d96beba178c35a3 (diff)
parentf5956abbe4301c11216527422b7904a492b5f9a8 (diff)
Merge remote-tracking branch 'i2c/i2c/for-next'
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/i2c/i2c.h18
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 @@
+/*
+ * 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