// SPDX-License-Identifier: GPL-2.0+ /* * RZ/G2L Display Unit Encoder * * Copyright (C) 2023 Renesas Electronics Corporation * * Based on rcar_du_encoder.c */ #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 "rzg2l_du_drv.h" #include "rzg2l_du_encoder.h" /* ----------------------------------------------------------------------------- * Encoder */ static const struct drm_encoder_funcs rzg2l_du_encoder_funcs = …; int rzg2l_du_encoder_init(struct rzg2l_du_device *rcdu, enum rzg2l_du_output output, struct device_node *enc_node) { … }