summaryrefslogtreecommitdiffstats
path: root/include/media/i2c/sr030pc30.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/media/i2c/sr030pc30.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/media/i2c/sr030pc30.h b/include/media/i2c/sr030pc30.h
new file mode 100644
index 000000000..84c602d68
--- /dev/null
+++ b/include/media/i2c/sr030pc30.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Driver header for SR030PC30 camera sensor
+ *
+ * Copyright (c) 2010 Samsung Electronics, Co. Ltd
+ * Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
+ */
+
+#ifndef SR030PC30_H
+#define SR030PC30_H
+
+struct sr030pc30_platform_data {
+ unsigned long clk_rate; /* master clock frequency in Hz */
+ int (*set_power)(struct device *dev, int on);
+};
+
+#endif /* SR030PC30_H */