From: Maxime Ripard Date: Fri, 7 Dec 2018 13:55:30 +0000 (+0100) Subject: phy: Add MIPI D-PHY configuration options X-Git-Tag: v5.4-rc1~1927^2~17^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ed869990e14bc5528aeb00c45e42793c5406637;p=platform%2Fkernel%2Flinux-rpi.git phy: Add MIPI D-PHY configuration options Now that we have some infrastructure for it, allow the MIPI D-PHY phy's to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are the ones defined in the MIPI D-PHY spec, plus the number of lanes in use. The current set of parameters should cover all the potential users. Signed-off-by: Maxime Ripard Signed-off-by: Kishon Vijay Abraham I --- diff --git a/include/linux/phy/phy-mipi-dphy.h b/include/linux/phy/phy-mipi-dphy.h new file mode 100644 index 0000000..29bf94d --- /dev/null +++ b/include/linux/phy/phy-mipi-dphy.h @@ -0,0 +1,279 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Cadence Design Systems Inc. + */ + +#ifndef __PHY_MIPI_DPHY_H_ +#define __PHY_MIPI_DPHY_H_ + +#include