1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2022 Renesas Electronics Corporation
7 * Contact: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
10 #ifndef __RCAR_MIPI_DSI_H__
11 #define __RCAR_MIPI_DSI_H__
13 struct drm_atomic_state;
16 #if IS_ENABLED(CONFIG_DRM_RCAR_MIPI_DSI)
17 void rcar_mipi_dsi_pclk_enable(struct drm_bridge *bridge,
18 struct drm_atomic_state *state);
19 void rcar_mipi_dsi_pclk_disable(struct drm_bridge *bridge);
21 static inline void rcar_mipi_dsi_pclk_enable(struct drm_bridge *bridge,
22 struct drm_atomic_state *state)
26 static inline void rcar_mipi_dsi_pclk_disable(struct drm_bridge *bridge)
29 #endif /* CONFIG_DRM_RCAR_MIPI_DSI */
31 #endif /* __RCAR_MIPI_DSI_H__ */