From patchwork Mon Dec 31 16:03:12 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: 1921631 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 90CDB3FED4 for ; Mon, 31 Dec 2012 16:04:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512Ab2LaQE3 (ORCPT ); Mon, 31 Dec 2012 11:04:29 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:63082 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751471Ab2LaQE3 (ORCPT ); Mon, 31 Dec 2012 11:04:29 -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 <0MFW004IRKLQG4C0@mailout3.samsung.com>; Tue, 01 Jan 2013 01:04:28 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-da-50e1b78bb341 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EC.CA.01231.B87B1E05; Tue, 01 Jan 2013 01:04:28 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFW00BMQKLFE0A0@mmp1.samsung.com>; Tue, 01 Jan 2013 01:04:27 +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 v2 14/15] ARM: dts: Add camera pinctrl nodes for Exynos4x12 SoCs Date: Mon, 31 Dec 2012 17:03:12 +0100 Message-id: <1356969793-27268-15-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1356969793-27268-1-git-send-email-s.nawrocki@samsung.com> References: <1356969793-27268-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jAd2e7Q8DDM48Y7Ho2bCV1WLG+X1M DkwenzfJBTBGcdmkpOZklqUW6dslcGWcOcZfMEuw4ta/5UwNjJd4uxg5OSQETCRutxxjgrDF JC7cW8/WxcjFISSwiFFiZ99bJging0lizsv9rCBVbAKGEr1H+xhBbBEBeYknvTfAOpgFVjFJ zNj3BCwhLBAm0TV/DRuIzSKgKrFi41ywZl4Bd4kZ87uB4hxA6xQk5kyyAQlzAoW/ve4Au0JI wE3i17e3rBMYeRcwMqxiFE0tSC4oTkrPNdQrTswtLs1L10vOz93ECPb9M6kdjCsbLA4xCnAw KvHwcjE9DBBiTSwrrsw9xCjBwawkwpu0DCjEm5JYWZValB9fVJqTWnyIUZqDRUmct9kjJUBI ID2xJDU7NbUgtQgmy8TBKdXA6L/mN5dc3XLnF+q+dQ1BLDvSuJe77tc5sXL6qQf9DC6PRAv8 D/0QbjkZGdng8KjMPrfEy4HtskjZA3FZqcPrH+05uUtSSGTJ3b3lc0SiyoXexe1celRW9fT5 We0Xfh3jbEvMe2SnVW203S3Zt3bWMs6g0jeLrjmIrHZ5GtpyQCpdaEFlGm+0EktxRqKhFnNR cSIADnNYYfkBAAA= 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>;