From patchwork Fri Mar 29 16:18:08 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: 2365981 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 97807400E6 for ; Fri, 29 Mar 2013 16:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756142Ab3C2QTW (ORCPT ); Fri, 29 Mar 2013 12:19:22 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:20590 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755518Ab3C2QTU (ORCPT ); Fri, 29 Mar 2013 12:19:20 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MKF006E5K07WZ60@mailout2.samsung.com>; Sat, 30 Mar 2013 01:19:19 +0900 (KST) X-AuditID: cbfee61a-b7fa86d0000045ae-59-5155bf078517 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 41.C1.17838.70FB5515; Sat, 30 Mar 2013 01:19:19 +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 <0MKF0003UJYE5E20@mmp2.samsung.com>; Sat, 30 Mar 2013 01:19:19 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, kgene.kim@samsung.com, thomas.abraham@linaro.org, mturquette@linaro.org, t.figa@samsung.com, myungjoo.ham@samsung.com, dh09.lee@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Sylwester Nawrocki Subject: [PATCH v3 5/7] exynos4-is: Add Exynos4x12 FIMC-IS device tree binding documentation Date: Fri, 29 Mar 2013 17:18:08 +0100 Message-id: <1364573890-31536-6-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1364573890-31536-1-git-send-email-s.nawrocki@samsung.com> References: <1364573890-31536-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJLMWRmVeSWpSXmKPExsVy+t9jQV32/aGBBtfaRCwOzH7IanH9vJ1F 74KrbBZnm96wW2x6fI3VomfDVlaLGef3MVk8nXCRzeJ24wo2i8Nv2lkt1s94zWJxbMYSRgce jzvX9rB5bF5S73F+xkJGj74tqxg9Pm+SC2CN4rJJSc3JLEst0rdL4MpYevoKU8E50YrZO/ex NjC2CnUxcnJICJhItPZuYYWwxSQu3FvP1sXIxSEkMJ1R4tXPCYwQTgeTRFPTIyaQKjYBQ4ne o32MILaIgLzEk94bYB3MAueZJBovzGcBSQgLxEl0ztvPBmKzCKhKzPv0FWwFr4CbxPNzr9m7 GDmA1ilIzJlkA2JyCrhLHN8iD2IKAVUc2J41gZF3ASPDKkbR1ILkguKk9FxDveLE3OLSvHS9 5PzcTYzgAHwmtYNxZYPFIUYBDkYlHl7JVaGBQqyJZcWVuYcYJTiYlUR45VcAhXhTEiurUovy 44tKc1KLDzFKc7AoifMeaLUOFBJITyxJzU5NLUgtgskycXBKNTDGJzp/vS2c7X3o+LsrZ5be ePTCtKZ66bIML/fFeo9krSdmrVj98+AO/edsMmueH7E5MeVV+yY1h5tSZ1XnTTMrnMauX8ts PEdUuHjVt3NBhUHaCTfnqBkXe56z9mVcqH3jzxs3nqnztvfuCZl18q1Vz/6e/u6g+V4FTXMN 2tkFT22u1Vj0t1xSiaU4I9FQi7moOBEASgndUDwCAAA= 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 v2: - added missing clocks at the binding documentation; - added clocks/clock-names properties to isp-i2c node. --- .../devicetree/bindings/media/exynos4-fimc-is.txt | 46 ++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/exynos4-fimc-is.txt 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..2660cd1 --- /dev/null +++ b/Documentation/devicetree/bindings/media/exynos4-fimc-is.txt @@ -0,0 +1,46 @@ +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 size of the device memory mapped + registers; +- interrupts : must contain FIMC-IS interrupts; +- 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 size of the device memory mapped + registers; +- 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.