// SPDX-License-Identifier: GPL-2.0+ /* * R-Car Display Unit Encoder * * Copyright (C) 2013-2014 Renesas Electronics Corporation * * Contact: Laurent Pinchart ([email protected]) */ #include <linux/export.h> #include <linux/of.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_panel.h> #include "rcar_du_drv.h" #include "rcar_du_encoder.h" #include "rcar_lvds.h" /* ----------------------------------------------------------------------------- * Encoder */ static unsigned int rcar_du_encoder_count_ports(struct device_node *node) { … } static const struct drm_encoder_funcs rcar_du_encoder_funcs = …; int rcar_du_encoder_init(struct rcar_du_device *rcdu, enum rcar_du_output output, struct device_node *enc_node) { … }