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>
This commit is contained in:
parent
28c0a8433d
commit
f5005f7835
1 changed files with 18 additions and 0 deletions
18
include/dt-bindings/i2c/i2c.h
Normal file
18
include/dt-bindings/i2c/i2c.h
Normal file
|
@ -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
|
Loading…
Reference in a new issue