1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019 Cadence Design Systems Inc.
9 #include <linux/types.h>
12 * struct phy_configure_opts_dp - DisplayPort PHY configuration set
14 * This structure is used to represent the configuration state of a
17 struct phy_configure_opts_dp {
21 * Link Rate, in Mb/s, of the main link.
23 * Allowed values: 1620, 2160, 2430, 2700, 3240, 4320, 5400, 8100 Mb/s
25 unsigned int link_rate;
30 * Number of active, consecutive, data lanes, starting from
31 * lane 0, used for the transmissions on main link.
33 * Allowed values: 1, 2, 4
40 * Voltage swing levels, as specified by DisplayPort specification,
41 * to be used by particular lanes. One value per lane.
42 * voltage[0] is for lane 0, voltage[1] is for lane 1, etc.
46 unsigned int voltage[4];
51 * Pre-emphasis levels, as specified by DisplayPort specification, to be
52 * used by particular lanes. One value per lane.
61 * Flag indicating, whether or not to enable spread-spectrum clocking.
69 * Flag indicating, whether or not reconfigure link rate and SSC to
78 * Flag indicating, whether or not reconfigure lane count to
87 * Flag indicating, whether or not reconfigure voltage swing
88 * and pre-emphasis to requested values. Only lanes specified
89 * by "lanes" parameter will be affected.
95 #endif /* __PHY_DP_H_ */