drm/bridge: DRM_CROS_EC_ANX7688 should depend on I2C_CROS_EC_TUNNEL
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 26 May 2021 07:50:58 +0000 (09:50 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 27 May 2021 12:09:27 +0000 (14:09 +0200)
commit5ccbb2ee039f0bd81e2b34b670718186753a4e17
treeb5b7f72cfb6895913701afda9ef175a7688bbdcd
parent2986d2763daaaa9280ac499ea17e7031a81ac0b7
drm/bridge: DRM_CROS_EC_ANX7688 should depend on I2C_CROS_EC_TUNNEL

The ChromeOS EC ANX7688 bridge is connected to a ChromeOS Embedded
Controller, and is accessed using I2C tunneling through the Embedded
Controller.  Hence add a dependency on I2C_CROS_EC_TUNNEL, to prevent
asking the user about this driver when configuring a kernel without
support for the ChromeOS EC tunnel I2C bus.

Fixes: 44602b10d7f2a5f7 ("drm/bridge: Add ChromeOS EC ANX7688 bridge driver support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/d107d1840b83607baee8571cc5d88973fc32b519.1622015323.git.geert+renesas@glider.be
drivers/gpu/drm/bridge/Kconfig