[PATCH 0/2] ti-sn65dsi86 DSI configuration support
Jeffrey Hugo
jeffrey.l.hugo at gmail.com
Wed Jul 3 21:43:26 UTC 2019
The ti-sn65dsi86 bridge on the Lenovo Miix 630 does not appear to be
wired to an I2C bus - there is no indication from the FW which bus to
use and scanning all of the busses does not result in an unknown device
being discovered.
As a result, we must utilize the ability of the ti-sn65dsi86 to be
configured "inband" via the DSI connection. Since the driver already
utilizes regmap (over I2C), adding the ability of the driver to
configure via DSI is rather minimal effort once we have established a
regmap over DSI handle.
However, regmap currently doesn't support the MIPI DSI bus, so add that
option first.
Jeffrey Hugo (2):
regmap: Add DSI bus support
drm/bridge: ti-sn65dsi86: Add support to be a DSI device
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile | 1 +
drivers/base/regmap/regmap-dsi.c | 62 ++++++++++
drivers/gpu/drm/bridge/Kconfig | 1 +
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 160 +++++++++++++++++++-------
include/linux/regmap.h | 37 ++++++
6 files changed, 222 insertions(+), 45 deletions(-)
create mode 100644 drivers/base/regmap/regmap-dsi.c
--
2.17.1
More information about the dri-devel
mailing list