From 4f18337d8908c99d82387e72286130cad9109240 Mon Sep 17 00:00:00 2001 From: Denis Efremov Date: Thu, 19 Apr 2018 11:36:30 +0300 Subject: sys/linux: add i2c generic description Basic description of i2c from SIL2LinuxMP workshop. --- sys/linux/i2c_arm.const | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys/linux/i2c_arm.const (limited to 'sys/linux/i2c_arm.const') diff --git a/sys/linux/i2c_arm.const b/sys/linux/i2c_arm.const new file mode 100644 index 000000000..70ba6e768 --- /dev/null +++ b/sys/linux/i2c_arm.const @@ -0,0 +1,23 @@ +# AUTOGENERATED FILE +I2C_FUNCS = 1797 +I2C_MAX_BLOCK = 34 +I2C_M_DMA_SAFE = 512 +I2C_M_IGNORE_NAK = 4096 +I2C_M_NOSTART = 16384 +I2C_M_NO_RD_ACK = 2048 +I2C_M_RD = 1 +I2C_M_RECV_LEN = 1024 +I2C_M_REV_DIR_ADDR = 8192 +I2C_M_STOP = 32768 +I2C_M_TEN = 16 +I2C_PEC = 1800 +I2C_RDWR = 1799 +I2C_RETRIES = 1793 +I2C_SLAVE = 1795 +I2C_SLAVE_FORCE = 1798 +I2C_SMBUS = 1824 +I2C_SMBUS_I2C_BLOCK_DATA = 8 +I2C_SMBUS_QUICK = 0 +I2C_TENBIT = 1796 +I2C_TIMEOUT = 1794 +__NR_ioctl = 54 -- cgit mrf-deployment