Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Wolfram Sang
f5005f78 28c0a843

+18
+18
include/dt-bindings/i2c/i2c.h
··· 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