From patchwork Mon Dec 10 19:46:05 2012 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: 1859761 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 5B771E0147 for ; Mon, 10 Dec 2012 19:47:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263Ab2LJTrI (ORCPT ); Mon, 10 Dec 2012 14:47:08 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:17382 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752230Ab2LJTrF (ORCPT ); Mon, 10 Dec 2012 14:47:05 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MET00KVFYX43HT0@mailout3.samsung.com>; Tue, 11 Dec 2012 04:47:04 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-38-50c63c38b519 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 06.E1.01231.83C36C05; Tue, 11 Dec 2012 04:47:04 +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 <0MET000K7YWW7YB0@mmp2.samsung.com>; Tue, 11 Dec 2012 04:47:04 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: g.liakhovetski@gmx.de, grant.likely@secretlab.ca, rob.herring@calxeda.com, thomas.abraham@linaro.org, t.figa@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com, devicetree-discuss@lists.ozlabs.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki Subject: [PATCH RFC 11/12] ARM: dts: Add camera pinctrl nodes for Exynos4x12 SoCs Date: Mon, 10 Dec 2012 20:46:05 +0100 Message-id: <1355168766-6068-12-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1355168766-6068-1-git-send-email-s.nawrocki@samsung.com> References: <1355168766-6068-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jQV0Lm2MBBt0LuCx6NmxltZhxfh+T A5PH501yAYxRXDYpqTmZZalF+nYJXBlnjvEXzBKsuPVvOVMD4yXeLkZODgkBE4n3feuYIGwx iQv31rN1MXJxCAlMZ5SYMes6E4TTwSTxYcNyFpAqNgFDid6jfYwgtoiAvMST3htgHcwCq5gk Zux7ApYQFgiW+LF0ATOIzSKgKnF22xZWEJtXwE1iwdzPQIM4gNYpSMyZZAMS5gQKP1r7DOwK IQFXiZf9v9gnMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iRHs+2dSOxhXNlgcYhTg YFTi4dXQOhYgxJpYVlyZe4hRgoNZSYQ3QgIoxJuSWFmVWpQfX1Sak1p8iFGag0VJnLfZIyVA SCA9sSQ1OzW1ILUIJsvEwSnVwFj1+s/Gu8/inSqyREuaCp3Z965bxzLv6r6ISR7bP7Vc9562 Pjk3ZfWhTMFe1ks747etTWhdo6LPMFXqh9njDnfTN87vo7v9FnHMZLnPvqex/U+QgHRBoqPU pGaJi8n3J4TV2edvXyK+1WzS9VWcc3YXb2pfyvGlJ+GDtFXilviZk8+/Fz28PFWJpTgj0VCL uag4EQC13F+q+QEAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add separate nodes for the CAMCLK pin and turn off pull-up on camera port A. Default driver strength for CAMCLK pin is increased to maximum. The driver strength change can be moved to board specific part if it is considered more appropriate. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4x12-pinctrl.dtsi | 33 +++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi index 56f4669..e3225d0 100644 --- a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi @@ -401,15 +401,28 @@ samsung,pin-drv = <0>; }; - cam_port_a: cam-port-a { + cam_port_a_io: cam-port-a-io { samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", - "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-3", - "gpj1-4"; + "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; samsung,pin-function = <2>; - samsung,pin-pud = <3>; + samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + cam_port_a_clk_active: cam-port-a-clk-active { + samsung,pins = "gpj1-3"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <3>; + }; + + cam_port_a_clk_idle: cam-port-a-clk-idle { + samsung,pins = "gpj1-3"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <3>; + }; }; pinctrl@11000000 { @@ -834,11 +847,17 @@ samsung,pin-drv = <0>; }; - cam_port_b: cam-port-b { + cam_port_b_io: cam-port-b-io { samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", - "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1", - "gpm2-2"; + "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; + samsung,pin-function = <3>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; + + cam_port_b_clk: cam-port-b-clk { + samsung,pins = "gpm2-2"; samsung,pin-function = <3>; samsung,pin-pud = <3>; samsung,pin-drv = <0>;