From patchwork Sat Aug 2 00:05:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4664611 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 B57FD9F319 for ; Sat, 2 Aug 2014 00:05:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96F9D201F7 for ; Sat, 2 Aug 2014 00:05:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C197E2020A for ; Sat, 2 Aug 2014 00:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751723AbaHBAFy (ORCPT ); Fri, 1 Aug 2014 20:05:54 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:47070 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbaHBAFx (ORCPT ); Fri, 1 Aug 2014 20:05:53 -0400 Received: by mail-la0-f52.google.com with SMTP id e16so3806522lan.11 for ; Fri, 01 Aug 2014 17:05:51 -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:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Bg6vhrqs1pp08qtpN66uDFwLEu08IEy86Mli9NuMCko=; b=P593/g0Km7ourDzaZA9I7rAwXWMcjTh+TQY/KXJYwoajAAPLxLtGPWigMPGCqrCcJr AFE0uNXZ2WlayFbGtsxntSqZH6OsAuT9pLDy0qoM6LMHnrt5GggEN6/vW+fECPg4Ibtf A1qtPWhMmKJP0Rq1q3NALGOxWAz53Y+pXsw9Yae81JeOsM9v6764xfw1PncVa+YMdNCX uyi8J4xL/m0ay32+muUcoZQvpoRfdhEmxoDKGB3N9BFBmg3wAKx9a2uMFCAXq+LLCrWV yCKMhwl/BqbrlSkZXDZ6673qwxpk8VrWUNyg4zSXXUhDjbJ8eBaxK1P7/a0SOTaBD2SC 48og== X-Gm-Message-State: ALoCoQnPIen3FOq53tB5jYzWb0JWPxzHfeFoZqiWridWyZsO9BDnzox4DExKkaai7Q15jsD+lbMX X-Received: by 10.153.5.44 with SMTP id cj12mr9917955lad.36.1406937951884; Fri, 01 Aug 2014 17:05:51 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp24-38.pppoe.mtu-net.ru. [81.195.24.38]) by mx.google.com with ESMTPSA id q8sm5527661laj.33.2014.08.01.17.05.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 01 Aug 2014 17:05:50 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support Date: Sat, 2 Aug 2014 04:05:54 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201408020402.14560.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201408020402.14560.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201408020405.54978.sergei.shtylyov@cogentembedded.com> 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 Define the Henninger board dependent part of the VIN0 device node. Add the device node for Analog Devices ADV7180 video decoder to I2C2 bus. Add the necessary subnodes to interconnect VIN0 and ADV7180 devices. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - refreshed the patch. arch/arm/boot/dts/r8a7791-henninger.dts | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 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/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -135,6 +135,11 @@ renesas,groups = "usb1"; renesas,function = "usb1"; }; + + vin0_pins: vin0 { + renesas,groups = "vin0_data8", "vin0_clk"; + renesas,function = "vin0"; + }; }; &scif0 { @@ -191,6 +196,19 @@ status = "okay"; clock-frequency = <400000>; + + composite-in@20 { + compatible = "adi,adv7180"; + reg = <0x20>; + remote = <&vin0>; + + port { + adv7180: endpoint { + bus-width = <8>; + remote-endpoint = <&vin0ep>; + }; + }; + }; }; &qspi { @@ -260,3 +278,20 @@ &pciec { status = "okay"; }; + +/* composite video input */ +&vin0 { + status = "ok"; + pinctrl-0 = <&vin0_pins>; + pinctrl-names = "default"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vin0ep: endpoint { + remote-endpoint = <&adv7180>; + bus-width = <8>; + }; + }; +};