projects
/
firefly-linux-kernel-4.4.55.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM64: DTS: Add rk3399-firefly uart4 device, node as /dev/ttyS1
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
mfd
/
rk1000.h
1
#ifndef __RK1000_H__
2
#define __RK1000_H__
3
4
#define I2C_ADDR_CTRL 0x40
5
#define I2C_ADDR_TVE 0x42
6
7
#define RK1000_I2C_RATE (100*1000)
8
9
struct ioctrl {
10
int gpio;
11
int active;
12
};
13
14
int rk1000_i2c_send(const u8 addr, const u8 reg, const u8 value);
15
int rk1000_i2c_recv(const u8 addr, const u8 reg, const char *buf);
16
17
#endif