From patchwork Wed Aug 19 22:24:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7039751 Return-Path: X-Original-To: patchwork-linux-sh@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 D1F9CC05AC for ; Wed, 19 Aug 2015 22:24:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01EE420773 for ; Wed, 19 Aug 2015 22:24:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C3FBC20706 for ; Wed, 19 Aug 2015 22:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbbHSWYv (ORCPT ); Wed, 19 Aug 2015 18:24:51 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:34617 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbbHSWYu (ORCPT ); Wed, 19 Aug 2015 18:24:50 -0400 Received: by laba3 with SMTP id a3so11885507lab.1 for ; Wed, 19 Aug 2015 15:24:49 -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=x1BiAsIiLtNp9F8IFCB373VFhtvLRUH4SsFjdLcEiks=; b=Cc5o+tSOrq+6Rc3BYxEmict+feYiiAEuwj6qXPF+MsYMVVCzga3M/7FJliGQV0QZXZ El5DlZASZZ4EiZLBXegrGNyfOS7Qf7i9cijMqbhrubyaj3WfNZ5zkGiBOxqr7IU4tcvw BVZcZ5J7dIM+oFrOCVBSzlb83DZ8F7mQamr0GU3Qd4iKAAC7GISZVqHtGT9lcxbl/bpU 9yo1IpxNaPRKjvEzNW7yGwwCl9thJZTJlZuvA/0JlUY7r9STqNBKU0WqOZi3F7h2L3LD ohYWWUDcdjEeYlPtYRX9dGWNOURpfvN/YgDkfilWAi5AT4pV7ruOEoovu5yHvT53+ryN oCuw== X-Gm-Message-State: ALoCoQkZ1O338/vc6NJFn+Bcz+qoWZzxipSNuC+4p/8ipJYFiv1mREb0o6AY1AzYLXUPUWArdRCt X-Received: by 10.112.126.69 with SMTP id mw5mr13692558lbb.111.1440023089068; Wed, 19 Aug 2015 15:24:49 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-250-51.pppoe.mtu-net.ru. [83.237.250.51]) by smtp.gmail.com with ESMTPSA id n8sm601051lbk.8.2015.08.19.15.24.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:24:48 -0700 (PDT) From: Sergei Shtylyov 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: shmobile: silk: add VIN0/ADV7180 DT support Date: Thu, 20 Aug 2015 01:24:47 +0300 Message-ID: <4017919.utiMzpz6ED@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.4-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1750082.WpWf34HsI6@wasted.cogentembedded.com> References: <1750082.WpWf34HsI6@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.5 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 SILK board dependent part of the VIN0 device node. Add the device node for Analog Devices ADV7180 video decoder to I2C1 bus. Add the necessary subnodes to interconnect VIN0 and ADV7180 devices. Based on the Henninger VIN0/ADV8170 device tree patch by myself. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794-silk.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/r8a7794-silk.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts @@ -104,6 +104,11 @@ renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,function = "qspi"; }; + + vin0_pins: vin0 { + renesas,groups = "vin0_data8", "vin0_clk"; + renesas,function = "vin0"; + }; }; &scif2 { @@ -135,6 +140,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>; + }; + }; + }; }; &mmcif0 { @@ -193,3 +211,20 @@ }; }; }; + +/* composite video input */ +&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>; + }; + }; +};