[Openpvrsgx-devgroup] CI20/JZ4780 HDMI (was Re: Status & HW to bring)
Paul Boddie
paul at boddie.org.uk
Thu Nov 14 14:41:48 CET 2019
On Tuesday 12. November 2019 22.44.56 H. Nikolaus Schaller wrote:
> > Am 11.11.2019 um 13:32 schrieb Paul Boddie <paul at boddie.org.uk>:
> >
> > So, the Ingenic driver would need to be augmented with port/endpoint
> > support, and there would need to be a way of activating the Synopsys
> > driver in the device tree. Exactly how the latter should be done remains
> > a mystery to me at the moment.
>
> Same for me...
Well, as far as the Synopsys driver is concerned, Paul's references to other
drivers have helped me find an example:
Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
In drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c the Synopsys driver code is
referenced and a device is defined:
#include <drm/bridge/dw_hdmi.h>
...
static const struct of_device_id rcar_dw_hdmi_of_table[] = {
{ .compatible = "renesas,rcar-gen3-hdmi" },
{ /* Sentinel */ },
};
MODULE_DEVICE_TABLE(of, rcar_dw_hdmi_of_table);
The specialised device is mostly forwarding operations to the general device
code. Presumably something similar would be needed for the JZ4780.
Paul
More information about the openpvrsgx-devgroup
mailing list