From patchwork Tue Jun 10 23:07:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4332601 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 941C09F314 for ; Tue, 10 Jun 2014 23:07:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BB3E0202BE for ; Tue, 10 Jun 2014 23:07:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E26742028D for ; Tue, 10 Jun 2014 23:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752634AbaFJXHi (ORCPT ); Tue, 10 Jun 2014 19:07:38 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:48512 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758AbaFJXHi (ORCPT ); Tue, 10 Jun 2014 19:07:38 -0400 Received: by mail-lb0-f179.google.com with SMTP id u10so958738lbd.24 for ; Tue, 10 Jun 2014 16:07:36 -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=xG5fFogzIXJaWRwQHOBdHgHkjrIBpukxx2YxjYl0NF0=; b=dc31kFPxTUl1j0yq3GSXXdt7kP4TfaiTyINnyr+7Uj9nKJ3N549Rkv4BWaDGbDTRmw lwncLO++4DwukjBQ5VbVrP230Yqw9Cg+sgVnqJZ4sIQlyhgC4a3KTi+rJomAJ4L01DRd ou7tdv5kKrynCuvMnXtCh3E17vmE4BBmf+fi2JHIbbdA69ufcTfxHW7Zeas9D8ph6IQx tjbKFAPAXb2SU6cASSRqS6NsXtw5Vb2SuU4HIsYGNMcz+JY8zVvy/hkbUntVxEt99Gxy FMX6oUiy3bra5XXEHAilmdR7F5V51bEbvIZqz9m9m69iFX+iLbSILDC8SDQrcrpR+5Nh fmwQ== X-Gm-Message-State: ALoCoQnV0Z4POBIF2fS8NwPFWuUwe1Di4tyU1CSvEWW32Lq4xrNh3L17vH/EbK1JwU9Mw204i+Yh X-Received: by 10.112.29.79 with SMTP id i15mr23714102lbh.26.1402441656699; Tue, 10 Jun 2014 16:07:36 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp29-44.pppoe.mtu-net.ru. [81.195.29.44]) by mx.google.com with ESMTPSA id ui5sm22869695lbb.32.2014.06.10.16.07.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 16:07:35 -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 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support Date: Wed, 11 Jun 2014 03:07:34 +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: <201406110304.18976.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201406110304.18976.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201406110307.35534.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.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 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 --- 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 @@ -125,6 +125,11 @@ "msiof0_tx"; renesas,function = "msiof0"; }; + + vin0_pins: vin0 { + renesas,groups = "vin0_data8", "vin0_clk"; + renesas,function = "vin0"; + }; }; &scif0 { @@ -181,6 +186,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 { @@ -230,3 +248,20 @@ spi-cpha; }; }; + +/* 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>; + }; + }; +};