diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-12-20 15:17:49 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-31 02:09:39 +0300 |
commit | e53537653791b4aaa9ec88a9eb5fd187d44ff6ac (patch) | |
tree | a812a43d7b823d3e7ff33669ba2d67a848c0ff65 /include/linux/platform_data/i2c-davinci.h | |
parent | 7d42762d8cdff2974c3cfddeb480d467018f55fe (diff) | |
download | linux-e53537653791b4aaa9ec88a9eb5fd187d44ff6ac.tar.xz |
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/i2c-davinci.h')
-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 @@ struct davinci_i2c_platform_data { unsigned int bus_freq; /* standard bus frequency (kHz) */ unsigned int bus_delay; /* post-transaction delay (usec) */ - unsigned int sda_pin; /* GPIO pin ID to use for SDA */ - unsigned int scl_pin; /* GPIO pin ID to use for SCL */ - bool has_pfunc; /*chip has a ICPFUNC register */ + bool gpio_recovery; /* Use GPIO recovery method */ + bool has_pfunc; /* Chip has a ICPFUNC register */ }; /* for board setup code */ |