diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2017-12-20 07:17:49 -0500 |
|---|---|---|
| committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-30 18:09:39 -0500 |
| commit | e53537653791b4aaa9ec88a9eb5fd187d44ff6ac (patch) | |
| tree | a812a43d7b823d3e7ff33669ba2d67a848c0ff65 /include/linux/platform_data | |
| parent | 7d42762d8cdff2974c3cfddeb480d467018f55fe (diff) | |
i2c/ARM: davinci: Deep refactoring of I2C recovery
Alter the DaVinci GPIO recovery fetch to use descriptors
all the way down into the board files.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/i2c-davinci.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/platform_data/i2c-davinci.h b/include/linux/platform_data/i2c-davinci.h index 89fd34727a24..98967df07468 100644 --- a/include/linux/platform_data/i2c-davinci.h +++ b/include/linux/platform_data/i2c-davinci.h | |||
| @@ -16,9 +16,8 @@ | |||
| 16 | struct davinci_i2c_platform_data { | 16 | struct davinci_i2c_platform_data { |
| 17 | unsigned int bus_freq; /* standard bus frequency (kHz) */ | 17 | unsigned int bus_freq; /* standard bus frequency (kHz) */ |
| 18 | unsigned int bus_delay; /* post-transaction delay (usec) */ | 18 | unsigned int bus_delay; /* post-transaction delay (usec) */ |
| 19 | unsigned int sda_pin; /* GPIO pin ID to use for SDA */ | 19 | bool gpio_recovery; /* Use GPIO recovery method */ |
| 20 | unsigned int scl_pin; /* GPIO pin ID to use for SCL */ | 20 | bool has_pfunc; /* Chip has a ICPFUNC register */ |
| 21 | bool has_pfunc; /*chip has a ICPFUNC register */ | ||
| 22 | }; | 21 | }; |
| 23 | 22 | ||
| 24 | /* for board setup code */ | 23 | /* for board setup code */ |
