summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-08-28 17:45:53 +0200
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:35:14 +0900
commit36be47a300814d30ff8db8c46d00b629c7b739e4 (patch)
tree60b3c4b1da152f622f62420964176e2cb97c05b3 /Documentation
parente85c0fa76079bacd8ecbea99ab3fa8e8ea8443a9 (diff)
downloadlinux-3.10-36be47a300814d30ff8db8c46d00b629c7b739e4.tar.gz
linux-3.10-36be47a300814d30ff8db8c46d00b629c7b739e4.tar.bz2
linux-3.10-36be47a300814d30ff8db8c46d00b629c7b739e4.zip
exynos4-is: Add clock provider for the external clocks
This patch adds clock provider to expose the sclk_cam0/1 clocks for image sensor subdevs. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> --- Changes since v2: - embed #clocks-property into 'camera' node rather than creating separate subnode for the clock provider, edited the binding's documentation.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/media/samsung-fimc.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt
index 96312f6c4c2..137d5407f6f 100644
--- a/Documentation/devicetree/bindings/media/samsung-fimc.txt
+++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt
@@ -32,6 +32,15 @@ way around.
The 'camera' node must include at least one 'fimc' child node.
+Optional properties:
+
+- #clock-cells: from the common clock bindings (../clock/clock-bindings.txt),
+ must be 1. A clock provider is associated with the camera node and it should
+ be referenced by external sensors that use clocks provided by the SoC on
+ CAM_*_CLKOUT pins. The second cell of the clock specifier is a clock's index.
+ The indexes are 0, 1 for CAM_A_CLKOUT, CAM_B_CLKOUT clocks respectively.
+
+
'fimc' device nodes
-------------------
@@ -114,7 +123,7 @@ Example:
vddio-supply = <...>;
clock-frequency = <24000000>;
- clocks = <...>;
+ clocks = <&camclk 1>;
clock-names = "mclk";
port {
@@ -135,7 +144,7 @@ Example:
vddio-supply = <...>;
clock-frequency = <24000000>;
- clocks = <...>;
+ clocks = <&camclk 0>;
clock-names = "mclk";
port {
@@ -151,8 +160,8 @@ Example:
compatible = "samsung,fimc", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
+ #clock-cells = <1>;
status = "okay";
-
pinctrl-names = "default";
pinctrl-0 = <&cam_port_a_clk_active>;