summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-09-04 11:39:36 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:44:39 +0900
commit98522905f54f4c05caa013c76f7d9d2ddd3fee4e (patch)
treef64910237e056096b73a9dfdf4ae1cc186dc3014 /include
parentb5361e0ac79cf5be270fa51b17515ef7d7a6f2fd (diff)
downloadlinux-3.10-98522905f54f4c05caa013c76f7d9d2ddd3fee4e.tar.gz
linux-3.10-98522905f54f4c05caa013c76f7d9d2ddd3fee4e.tar.bz2
linux-3.10-98522905f54f4c05caa013c76f7d9d2ddd3fee4e.zip
Revert "[media] exynos4-is: Use the generic MIPI CSIS PHY driver"
This reverts commit 88d0875e5d8cb005a3c21dff52581b08b6fd22eb. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/mipi-csis.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/platform_data/mipi-csis.h b/include/linux/platform_data/mipi-csis.h
index 92143173472..bf34e17cee7 100644
--- a/include/linux/platform_data/mipi-csis.h
+++ b/include/linux/platform_data/mipi-csis.h
@@ -17,14 +17,21 @@
* @wclk_source: CSI wrapper clock selection: 0 - bus clock, 1 - ext. SCLK_CAM
* @lanes: number of data lanes used
* @hs_settle: HS-RX settle time
- * @phy_label: the generic PHY label
*/
struct s5p_platform_mipi_csis {
unsigned long clk_rate;
u8 wclk_source;
u8 lanes;
u8 hs_settle;
- const char *phy_label;
};
+/**
+ * s5p_csis_phy_enable - global MIPI-CSI receiver D-PHY control
+ * @id: MIPI-CSIS harware instance index (0...1)
+ * @on: true to enable D-PHY and deassert its reset
+ * false to disable D-PHY
+ * @return: 0 on success, or negative error code on failure
+ */
+int s5p_csis_phy_enable(int id, bool on);
+
#endif /* __PLAT_SAMSUNG_MIPI_CSIS_H_ */