Specify the polarity of the clock lane in DPHY mode. When true this bool
means the polarity is inverted.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
include/linux/phy/phy-mipi-dphy.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/linux/phy/phy-mipi-dphy.h b/include/linux/phy/phy-mipi-dphy.h
index 76d41580e225a..f7b4ad29e6f83 100644
--- a/include/linux/phy/phy-mipi-dphy.h
+++ b/include/linux/phy/phy-mipi-dphy.h
@@ -299,6 +299,13 @@ struct phy_configure_opts_mipi_dphy {
* Physical lane number used as the clock lane.
*/
unsigned char clock_lane_position;
+
+ /**
+ * @clock_lane_polarity:
+ *
+ * Clock lane polarity. True means inverted.
+ */
+ bool clock_lane_polarity;
};
int phy_mipi_dphy_get_default_config(unsigned long pixel_clock,
--
2.52.0