blob: 660886f86c5965bc967347c199d7a0ffbe5ee7ad [file] [log] [blame]
Jani Nikulad5f9db22019-04-29 15:29:38 +03001/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2019 Intel Corporation
4 */
5
6#ifndef __INTEL_COMBO_PHY_H__
7#define __INTEL_COMBO_PHY_H__
8
Imre Deakbd60a562019-04-25 21:52:52 +03009#include <linux/types.h>
Imre Deakbd60a562019-04-25 21:52:52 +030010
Jani Nikulad5f9db22019-04-29 15:29:38 +030011struct drm_i915_private;
Matt Roperdc867bc2019-07-09 11:39:32 -070012enum phy;
Jani Nikulad5f9db22019-04-29 15:29:38 +030013
Jani Nikulac9fd9162019-05-02 17:52:34 +030014void intel_combo_phy_init(struct drm_i915_private *dev_priv);
15void intel_combo_phy_uninit(struct drm_i915_private *dev_priv);
Imre Deakbd60a562019-04-25 21:52:52 +030016void intel_combo_phy_power_up_lanes(struct drm_i915_private *dev_priv,
Matt Roperdc867bc2019-07-09 11:39:32 -070017 enum phy phy, bool is_dsi,
Imre Deakbd60a562019-04-25 21:52:52 +030018 int lane_count, bool lane_reversal);
Jani Nikulad5f9db22019-04-29 15:29:38 +030019
20#endif /* __INTEL_COMBO_PHY_H__ */