drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder
authorArchit Taneja <architt@codeaurora.org>
Mon, 18 Jul 2016 03:14:04 +0000 (08:44 +0530)
committerArchit Taneja <architt@codeaurora.org>
Mon, 18 Jul 2016 03:28:45 +0000 (08:58 +0530)
commit1d926114d8f4e9f138617b95c6cd377667c36369
tree62b346351567e345600dc32010b29991c0764524
parent7caff0fc4296eba5e2e473e6719726c65f1b7c31
drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder

The hdmi output in rcar-du uses the i2c slave encoder interface to link
to the adv7511 encoder chip. The kms driver creates encoder and connector
entities that internally uses the drm_encoder_slave_funcs ops provided by
the slave encoder driver.

Change the driver such that it expects a bridge entity instead of a slave
encoder. The hdmi connector code isn't needed anymore as we expect the
adv7511 bridge driver to create/manage the connector.

Note that the kms driver still expects a connector node for hdmi to be
present in DT. This node has no connection to the connector created
by the bridge driver.

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/rcar-du/Makefile
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_encoder.h
drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c [deleted file]
drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h [deleted file]
drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c