From patchwork Wed Nov 18 12:51:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7648541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 377C4BF90C for ; Wed, 18 Nov 2015 12:53:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 585782062A for ; Wed, 18 Nov 2015 12:53:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 81EA3205EE for ; Wed, 18 Nov 2015 12:53:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zz2DN-00063d-OW; Wed, 18 Nov 2015 12:51:57 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zz2D4-0005u6-VP for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2015 12:51:40 +0000 Received: by wmdw130 with SMTP id w130so197157200wmd.0 for ; Wed, 18 Nov 2015 04:51:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=T6nm9sMq1O4jPP/oXPSco/t1aOWGCzQ7G91ClRg1Bu8=; b=cjszSaHpdsNQbc1Wk/zKO1XMZWW9zr3Ic/xsZS7eozx+3ToO6EGaHQA4bxq9ZLmLvC UDdUSStbJ5ZkbixlhLkdsEMrtJJJPXlsYFj3LlZdYCsrRN3S2YJ541jywgwFReH6CitT cbXMtPpAbV1I/kV2mecmtanFqLPP8fBAlSSM3XjSkHc1vLswg6Zr2ucOrpOcu51ml17h iFdoyTdQo5haqW24pbLlLUDoXQi35fDhBKhWkdEj7DQCpFbIbaF0C26pcdfvgVhxfALw nfubMTGHemSeZFRgzf0Jlmhk39/tYYB7Ed/T7EFpyCnLK87AO3LRJnJEsczjgKCmYSWn w4aw== X-Received: by 10.194.203.106 with SMTP id kp10mr1752990wjc.86.1447851076886; Wed, 18 Nov 2015 04:51:16 -0800 (PST) Received: from groucho.site (ipbcc0ddf2.dynamic.kabel-deutschland.de. [188.192.221.242]) by smtp.gmail.com with ESMTPSA id kd8sm2732578wjc.27.2015.11.18.04.51.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Nov 2015 04:51:16 -0800 (PST) From: Ulrich Hecht To: linux-sh@vger.kernel.org, horms@verge.net.au Subject: [PATCH 2/2] ARM: shmobile: alt: add VIN0, ADV7180 DT support Date: Wed, 18 Nov 2015 13:51:07 +0100 Message-Id: <1447851067-8214-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1447851067-8214-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1447851067-8214-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151118_045139_311070_7B17461E X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sergei.shtylyov@cogentembedded.com, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, Ulrich Hecht , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Adds the device board-dependent part of the VIN0 device and its ADV7180 video decoder on I2C1, and the interconnection between them. Based on silk patch by Sergei Shtylyov. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7794-alt.dts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index 88ed017..fd1cfcd 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -120,6 +120,11 @@ renesas,groups = "i2c1"; renesas,function = "i2c1"; }; + + vin0_pins: vin0 { + renesas,groups = "vin0_data8", "vin0_clk"; + renesas,function = "vin0"; + }; }; &cmt0 { @@ -145,6 +150,35 @@ status = "okay"; clock-frequency = <400000>; + + composite-in@20 { + compatible = "adi,adv7180"; + reg = <0x20>; + remote = <&vin0>; + + port { + adv7180: endpoint { + bus-width = <8>; + remote-endpoint = <&vin0ep>; + }; + }; + }; +}; + +&vin0 { + status = "okay"; + pinctrl-0 = <&vin0_pins>; + pinctrl-names = "default"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vin0ep: endpoint { + remote-endpoint = <&adv7180>; + bus-width = <8>; + }; + }; }; &scif2 {