summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/max732x.h
diff options
context:
space:
mode:
authorLeilei Shang <shangll@marvell.com>2013-06-07 14:38:17 +0800
committerWolfram Sang <wsa@the-dreams.de>2013-08-07 16:58:07 +0200
commit9d3dda5c0d092d6bc9911bf24de81350d47c6be6 (patch)
tree529b7d061971e6954807f74410b81e9fd5c85016 /include/linux/i2c/max732x.h
parentf480adaf1b7130ad43760f627b762f771fcfc5f5 (diff)
downloadblackbird-op-linux-9d3dda5c0d092d6bc9911bf24de81350d47c6be6.tar.gz
blackbird-op-linux-9d3dda5c0d092d6bc9911bf24de81350d47c6be6.zip
i2c: pxa: enable high speed mode for i2c bus
To enter high speed mode, following steps should be done: 1. When running in high speed mode, i2c clock rate is different from standard mode. Clock rate must be set according to specification first. 2. When i2c controller sends a master code and wins arbitration, high speed mode is entered. If you want to enable high speed mode, the following members of platform data should be set to proper value: 1. "high_mode" should be set to "1". 2. "master_code" should be set to "8'b 0000_1xxx"(x is 0 or 1). If no master_code is set, set to default value 0xe. 3. "rate" should be set according to specification. Signed-off-by: Leilei Shang <shangll@marvell.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c/max732x.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud