From patchwork Tue Apr 2 16:03:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2378961 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 44717DF2A1 for ; Tue, 2 Apr 2013 16:06:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932815Ab3DBQGk (ORCPT ); Tue, 2 Apr 2013 12:06:40 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:21678 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932514Ab3DBQGj (ORCPT ); Tue, 2 Apr 2013 12:06:39 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MKM00K6VY2K17S0@mailout3.samsung.com>; Wed, 03 Apr 2013 01:06:38 +0900 (KST) X-AuditID: cbfee61b-b7f076d0000034b6-0a-515b020ee50e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 87.8D.13494.E020B515; Wed, 03 Apr 2013 01:06:38 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MKM007QWXY9N020@mmp2.samsung.com>; Wed, 03 Apr 2013 01:06:38 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: yhwan.joo@samsung.com, kyungmin.park@samsung.com, kgene.kim@samsung.com, myungjoo.ham@samsung.com, dh09.lee@samsung.com, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Sylwester Nawrocki Subject: [PATCH v4 5/7] exynos4-is: Add Exynos4x12 FIMC-IS device tree binding documentation Date: Tue, 02 Apr 2013 18:03:37 +0200 Message-id: <1364918619-9118-6-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1364918619-9118-1-git-send-email-s.nawrocki@samsung.com> References: <1364918619-9118-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t9jQV0+puhAg2ktFhYHZj9ktbh+3s6i d8FVNouzTW/YLXo2bGW1mHF+H5PF7cYVbBaH37SzWsw+sZjVgdPj/IyFjB59W1YxenzeJBfA HMVlk5Kak1mWWqRvl8CV8XH+PLaCqxIVDw59ZW1gPC3SxcjJISFgItEz4zQrhC0mceHeerYu Ri4OIYHpjBIbm9eBJYQEOpgkfs/2A7HZBAwleo/2MYLYIgLyEk96b4A1MAt8Y5S4vOYlWIOw QJzEnbv7WUBsFgFViSXTLoPFeQVcJQ5ePgTUwAG0TUFiziQbkDCngJvE6qdbWCB2uUocmnyV dQIj7wJGhlWMoqkFyQXFSem5RnrFibnFpXnpesn5uZsYwSH1THoH46oGi0OMAhyMSjy8J75E BQqxJpYVV+YeYpTgYFYS4Y3bCRTiTUmsrEotyo8vKs1JLT7EKM3BoiTOe7DVOlBIID2xJDU7 NbUgtQgmy8TBKdXAWDNVdU/f65KE4kUW857c5tbYkX/w11veJV9jA5akPf21bMKDG9pvIp0u Kq5JTzzsfXzBBt+N3oasdwVrd39Vmrx9WeI/a4EU/innrzbt5WvzWKjRyth24liu0+Kqzwus nL5r+J2uYrnreXAef+Op/0fn53q5O3xdznsuvevGXb/u2zpLo71WNiqxFGckGmoxFxUnAgCO vbIPJQIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patch adds DT binding documentaton for the Imaging Subsystem (camera ISP) found on Samsung Exynos4x12 SoCs. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v3: - specified order of the interrupts, - added a note about image sensor device nodes. Changes since v2: - added missing clocks at the binding documentation; - added clocks/clock-names properties to isp-i2c node. --- .../devicetree/bindings/media/exynos4-fimc-is.txt | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/exynos4-fimc-is.txt 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/media/exynos4-fimc-is.txt b/Documentation/devicetree/bindings/media/exynos4-fimc-is.txt new file mode 100644 index 0000000..55c9ad6 --- /dev/null +++ b/Documentation/devicetree/bindings/media/exynos4-fimc-is.txt @@ -0,1 +1,49 @@ +Exynos4x12 SoC series Imaging Subsystem (FIMC-IS) + +The FIMC-IS is a subsystem for processing image signal from an image sensor. +The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 +processor, ISP, DRC and FD IP blocks and peripheral devices such as UART, I2C +and SPI bus controllers, PWM and ADC. + +fimc-is node +------------ + +Required properties: +- compatible : should be "samsung,exynos4212-fimc-is" for Exynos4212 and + Exynos4412 SoCs; +- reg : physical base address and length of the registers set; +- interrupts : must contain two FIMC-IS interrupts, in order: ISP0, ISP1; +- clocks : list of clock specifiers, corresponding to entries in + clock-names property; +- clock-names : must contain "ppmuispx", "ppmuispx", "lite0", "lite1" + "mpll", "sysreg", "isp", "drc", "fd", "mcuisp", "uart", + "ispdiv0", "ispdiv1", "mcuispdiv0", "mcuispdiv1", "aclk200", + "div_aclk200", "aclk400mcuisp", "div_aclk400mcuisp" entries, + matching entries in the clocks property. +pmu subnode +----------- + +Required properties: + - reg : must contain PMU physical base address and size of the register set. + +The following are the FIMC-IS peripheral device nodes and can be specified +either standalone or as the fimc-is node child nodes. + +i2c-isp (ISP I2C bus controller) nodes +------------------------------------------ + +Required properties: + +- compatible : should be "samsung,exynos4212-i2c-isp" for Exynos4212 and + Exynos4412 SoCs; +- reg : physical base address and length of the registers set; +- clocks : must contain gate clock specifier for this controller; +- clock-names : must contain "i2c_isp" entry. + +For the above nodes it is required to specify a pinctrl state named "default", +according to the pinctrl bindings defined in ../pinctrl/pinctrl-bindings.txt. + +Device tree nodes of the image sensors controlled directly by the FIMC-IS +firmware must be child nodes of their corresponding ISP I2C bus controller node. +The data link of these image sensors must be specified using the common video +interfaces bindings, defined in video-interfaces.txt. --