提交 f5005f78 编写于 作者: W Wolfram Sang 提交者: Wolfram Sang

dt-bindings: add header for generic I2C flags in bindings

Tested-by: NAndrey Danin <danindrey@mail.ru>
Acked-by: NStephen Warren <swarren@nvidia.com>
Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 28c0a843
/*
* 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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册