From patchwork Wed Jul 24 13:17:21 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: 2832724 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 34FD29F4E2 for ; Wed, 24 Jul 2013 13:19:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F359C201B2 for ; Wed, 24 Jul 2013 13:19:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 70C3B201B9 for ; Wed, 24 Jul 2013 13:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752026Ab3GXNTh (ORCPT ); Wed, 24 Jul 2013 09:19:37 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:9051 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902Ab3GXNTg (ORCPT ); Wed, 24 Jul 2013 09:19:36 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQF00D7PZONWBH0@mailout1.samsung.com>; Wed, 24 Jul 2013 22:19:35 +0900 (KST) X-AuditID: cbfee61a-b7f196d000007dfa-7f-51efd467456c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 94.90.32250.764DFE15; Wed, 24 Jul 2013 22:19:35 +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 <0MQF004OOZLALE70@mmp1.samsung.com>; Wed, 24 Jul 2013 22:19:35 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Cc: kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrzej Hajda Subject: [PATCH v4 09/13] ARM: dts: Add SPI1 controller and s5c73m3 sensor node for TRATS2 Date: Wed, 24 Jul 2013 15:17:21 +0200 Message-id: <1374671845-30373-10-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1374671845-30373-1-git-send-email-s.nawrocki@samsung.com> References: <1374671845-30373-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkluLIzCtJLcpLzFFi42I5/e+xgG76lfeBBq09sha31p1jtZh/BEj0 LrjKZnG26Q27xabH11gtZpzfx+TA5rF5Sb1H35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVwZczZ 9Z+5YDVHxZ6td9kbGO+ydTFyckgImEis/j6BFcIWk7hwbz1QnItDSGARo0T7ollgRUICHUwS 317EgdhsAoYSvUf7GEFsEQFJiaaGP8wgDcwCqxklTp49wAySEBaIkVixtR+siEVAVWLd1wlg g3gF3CX+7JgDVMMBtE1BYs4kGxCTEyh8c08iiCkk4CYx4X7iBEbeBYwMqxhFUwuSC4qT0nMN 9YoTc4tL89L1kvNzNzGCA+aZ1A7GlQ0WhxgFOBiVeHgLZr0LFGJNLCuuzD3EKMHBrCTCazX/ faAQb0piZVVqUX58UWlOavEhRmkOFiVx3gOt1oFCAumJJanZqakFqUUwWSYOTqkGRrV9+2T2 hiwzK9nbaVjwam/04rqWvaVsLG4u1efaPz3RWNy+ePHNbG83G55fEQErU997MG+rEbFfIem+ /NeaXS2+DKJs/Q+ZujVnRZt7XVnywSf+xa2+SH1nlxsbP6g8lprsYXjnks3tw+JW31t0rFWu Lk/qeq16pVtw1rIFWx/nFfMevXF+sRJLcUaioRZzUXEiAEuyMrwUAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andrzej Hajda This patch add dts entries required for the SPI bus used for firware upload by the S5C73M3 camera. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4412-trats2.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 5558e5a..fb7b9ae 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -482,6 +482,22 @@ }; }; + spi_1: spi@13930000 { + pinctrl-names = "default"; + pinctrl-0 = <&spi1_bus>; + status = "okay"; + + s5c73m3_spi: s5c73m3 { + compatible = "samsung,s5c73m3"; + spi-max-frequency = <50000000>; + reg = <0>; + controller-data { + cs-gpio = <&gpb 5 0>; + samsung,spi-feedback-delay = <2>; + }; + }; + }; + camera { pinctrl-0 = <&cam_port_b_clk_active>; pinctrl-names = "default";