diff options
author | Marek Vasut <marex@denx.de> | 2022-04-03 19:10:04 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2022-04-13 16:24:37 +0200 |
commit | fb47723aba6fb62a6dce34eb108c886d9d469f9c (patch) | |
tree | bf1f80b5515db7d41205d3347ac71045a191a186 /drivers/gpu/drm/bridge/Kconfig | |
parent | 84ab41db1734c7764a4f29a99d3106586495638c (diff) | |
download | lwn-fb47723aba6fb62a6dce34eb108c886d9d469f9c.tar.gz lwn-fb47723aba6fb62a6dce34eb108c886d9d469f9c.zip |
drm: bridge: icn6211: Convert to regmap
To make debugging easier, convert driver to regmap. Implement read and write
regmap tables for known registers, keep all known register readable and mark
those which are obviously read-only as not writeable.
Use common I2C regmap for the I2C configuration, implement custom regmap bus
for DSI configuration. The later is mandatory as this chip requires one extra
byte set to read access length between register address and data.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220403171004.368464-1-marex@denx.de
Diffstat (limited to 'drivers/gpu/drm/bridge/Kconfig')
-rw-r--r-- | drivers/gpu/drm/bridge/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 658837caaf39..7ac920a57d26 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -32,6 +32,7 @@ config DRM_CHIPONE_ICN6211 select DRM_KMS_HELPER select DRM_MIPI_DSI select DRM_PANEL_BRIDGE + select REGMAP_I2C help ICN6211 is MIPI-DSI/RGB Converter bridge from chipone. |