diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2018-07-02 06:21:59 -0400 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-07-03 15:40:06 -0400 |
commit | d00a8741fd8fab2dc82f1c44d4111a337d505e60 (patch) | |
tree | 6c36a99da5a0b9c8ef0f44f9bc5e5a661a311b7b /drivers/mfd/Kconfig | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) |
platform/chrome: Move cros-ec transport drivers to drivers/platform.
There are some cros-ec transport drivers (I2C, SPI) living in MFD, while
others (LPC) living in drivers/platform. The transport drivers are more
platform specific. So, move the I2C and SPI transport drivers to the
platform/chrome directory. The patch also removes the MFD_ prefix of
their Kconfig symbols.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index b860eb5aa194..013458e728dc 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -202,26 +202,6 @@ config MFD_CROS_EC | |||
202 | You also need to enable the driver for the bus you are using. The | 202 | You also need to enable the driver for the bus you are using. The |
203 | protocol for talking to the EC is defined by the bus driver. | 203 | protocol for talking to the EC is defined by the bus driver. |
204 | 204 | ||
205 | config MFD_CROS_EC_I2C | ||
206 | tristate "ChromeOS Embedded Controller (I2C)" | ||
207 | depends on MFD_CROS_EC && I2C | ||
208 | |||
209 | help | ||
210 | If you say Y here, you get support for talking to the ChromeOS | ||
211 | EC through an I2C bus. This uses a simple byte-level protocol with | ||
212 | a checksum. Failing accesses will be retried three times to | ||
213 | improve reliability. | ||
214 | |||
215 | config MFD_CROS_EC_SPI | ||
216 | tristate "ChromeOS Embedded Controller (SPI)" | ||
217 | depends on MFD_CROS_EC && SPI | ||
218 | |||
219 | ---help--- | ||
220 | If you say Y here, you get support for talking to the ChromeOS EC | ||
221 | through a SPI bus, using a byte-level protocol. Since the EC's | ||
222 | response time cannot be guaranteed, we support ignoring | ||
223 | 'pre-amble' bytes before the response actually starts. | ||
224 | |||
225 | config MFD_CROS_EC_CHARDEV | 205 | config MFD_CROS_EC_CHARDEV |
226 | tristate "Chrome OS Embedded Controller userspace device interface" | 206 | tristate "Chrome OS Embedded Controller userspace device interface" |
227 | depends on MFD_CROS_EC | 207 | depends on MFD_CROS_EC |