diff options
author | Måns Rullgård | 2015-11-02 02:03:36 +0000 |
---|---|---|
committer | Wolfram Sang | 2015-12-15 13:13:00 +0100 |
commit | 75d31c2372e4a08319919b14bd160c48305373a1 (patch) | |
tree | 080f7a0592d7b64798ee20fd6a5a2820ceddeb0e /drivers/misc | |
parent | 51549c087f2eb5788de48a7278c3eb169d66f554 (diff) |
i2c: xlr: add support for Sigma Designs controller variant
Sigma Designs chips use a variant of this controller with the following
differences:
- The BUSY bit in the STATUS register is inverted
- Bit 8 of the CONFIG register must be set
- The controller can generate interrupts
This patch adds support for the first two of these. It also calculates
and sets the correct clock divisor if a clk is provided. The bus
frequency is optionally speficied in the device tree node.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions