From patchwork Tue Aug 12 20:18:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4714951 Return-Path: X-Original-To: patchwork-linux-sh@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 A028E9F375 for ; Tue, 12 Aug 2014 20:18:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4963E201F5 for ; Tue, 12 Aug 2014 20:18:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD39B201BF for ; Tue, 12 Aug 2014 20:18:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbaHLUSb (ORCPT ); Tue, 12 Aug 2014 16:18:31 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:63580 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754179AbaHLUSa (ORCPT ); Tue, 12 Aug 2014 16:18:30 -0400 Received: by mail-lb0-f169.google.com with SMTP id s7so7588229lbd.28 for ; Tue, 12 Aug 2014 13:18:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=P0H1D2VG9JYv168Ka+7zeMuknbr9YOPvsKnf08kyqNI=; b=gURVzTddAb8W6Z02FDOmGW/0rLFxnSRuFFilcXTECR9C90doFzQX6dSDzx+h6Lc3rd bP0qkpgcHTEB5vg2GoaC4ok/58o+/qaFikc9yhCtkWaEss/1wtYQvRlO+aFDGH7e65FO I1II2xfc5bukFwox7qIU/O4FG0ST8I6elQUo2WDYsbVImnCWk78DQOV/9aN/rSCoRrmI KHDsabrpUfA4dFctSVu6bnFnAFyo4dHPcssNujfC814kWpjZ/7m4CsBljJYz3AWoKwPe R7aaCTUV1G5sOCIt/dHmPSICSjSoUTtYBVjt6F9eiPzFKyNi10gVyn7SCHwR85MwTyo2 bMkA== X-Gm-Message-State: ALoCoQlMBz0swj77mcvMeIxVb5OaQI9/EstYQpt3/y/jn0T0db09ET6NRgTl0ek4+BItV0Saw4Gl X-Received: by 10.112.50.230 with SMTP id f6mr82147lbo.56.1407874708876; Tue, 12 Aug 2014 13:18:28 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp27-19.pppoe.mtu-net.ru. [81.195.27.19]) by mx.google.com with ESMTPSA id a1sm1118200lak.45.2014.08.12.13.18.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Aug 2014 13:18:28 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: mark.rutland@arm.com, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk Subject: [PATCH v5 2/2] ARM: shmobile: lager: add VIN1/ADV7180 device nodes Date: Wed, 13 Aug 2014 00:18:26 +0400 Message-ID: <703960137.fSsccWupA3@wasted.cogentembedded.com> Organization: Cohent Embedded Inc. User-Agent: KMail/4.13.3 (Linux/3.11.10-301.fc20.x86_64; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1793694.Z8xUpkGDQx@wasted.cogentembedded.com> References: <1793694.Z8xUpkGDQx@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 From: Ben Dooks Add the Lager board specific device node part for VIN1 (composite video in); add the device node for Analog Devices ADV7180 video decoder to IIC2 bus. Add the necessary subnodes to interconnect VIN1 and ADV7180 devices. Signed-off-by: Ben Dooks [Sergei: rebased, edited changelog and summary] Signed-off-by: Sergei Shtylyov --- Changes in version 5: - edited changelog and summary; - resolved reject, refreshed patch. arch/arm/boot/dts/r8a7790-lager.dts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts +++ renesas/arch/arm/boot/dts/r8a7790-lager.dts @@ -234,6 +234,11 @@ renesas,groups = "usb2"; renesas,function = "usb2"; }; + + vin1_pins: vin { + renesas,groups = "vin1_data8", "vin1_clk"; + renesas,function = "vin1"; + }; }; ðer { @@ -370,6 +375,19 @@ status = "ok"; pinctrl-0 = <&iic2_pins>; pinctrl-names = "default"; + + composite-in@20 { + compatible = "adi,adv7180"; + reg = <0x20>; + remote = <&vin1>; + + port { + adv7180: endpoint { + bus-width = <8>; + remote-endpoint = <&vin1ep0>; + }; + }; + }; }; &iic3 { @@ -405,3 +423,21 @@ pinctrl-0 = <&usb2_pins>; pinctrl-names = "default"; }; + +/* composite video input */ +&vin1 { + pinctrl-0 = <&vin1_pins>; + pinctrl-names = "default"; + + status = "ok"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vin1ep0: endpoint { + remote-endpoint = <&adv7180>; + bus-width = <8>; + }; + }; +};