mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
phy: dphy: Add lane_positions to DPHY config struct
Add lane_positions to the DPHY configuration struct. This data-field represents the physical positions of the data-lanes indexed by lane number. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://patch.msgid.link/20260325-dphy-params-extension-v1-1-c6df5599284a@linaro.org Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
This commit is contained in:
committed by
Abel Vesa
parent
fe2fd761b2
commit
ba8dacb320
@@ -6,6 +6,8 @@
|
||||
#ifndef __PHY_MIPI_DPHY_H_
|
||||
#define __PHY_MIPI_DPHY_H_
|
||||
|
||||
#define PHY_MIPI_DPHY_MAX_DATA_LANES 4
|
||||
|
||||
/**
|
||||
* struct phy_configure_opts_mipi_dphy - MIPI D-PHY configuration set
|
||||
*
|
||||
@@ -269,10 +271,19 @@ struct phy_configure_opts_mipi_dphy {
|
||||
/**
|
||||
* @lanes:
|
||||
*
|
||||
* Number of active, consecutive, data lanes, starting from
|
||||
* lane 0, used for the transmissions.
|
||||
* Number of active data lanes used for the transmission.
|
||||
* When @lane_positions is not populated, lanes are consecutive
|
||||
* starting from lane 0.
|
||||
*/
|
||||
unsigned char lanes;
|
||||
|
||||
/**
|
||||
* @lane_positions:
|
||||
*
|
||||
* Array representing the physical positions of the data-lanes.
|
||||
* Indexed by logical lane number.
|
||||
*/
|
||||
unsigned char lane_positions[PHY_MIPI_DPHY_MAX_DATA_LANES];
|
||||
};
|
||||
|
||||
int phy_mipi_dphy_get_default_config(unsigned long pixel_clock,
|
||||
|
||||
Reference in New Issue
Block a user