From patchwork Tue Jun 10 23:06:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4332611 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7915BEEAA for ; Tue, 10 Jun 2014 23:08:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F3ED42028D for ; Tue, 10 Jun 2014 23:08:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BA342012F for ; Tue, 10 Jun 2014 23:08:38 +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 1WuV7j-0001EL-Er; Tue, 10 Jun 2014 23:06:35 +0000 Received: from mail-lb0-f180.google.com ([209.85.217.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuV7g-0001BT-HA for linux-arm-kernel@lists.infradead.org; Tue, 10 Jun 2014 23:06:33 +0000 Received: by mail-lb0-f180.google.com with SMTP id p9so4374214lbv.11 for ; Tue, 10 Jun 2014 16:06:09 -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=BXft0q1GANJsAFn4rhqZS44k46313bVu6tsQzAuJ4XY=; b=jCZS3Jo9p/SlOb2tUqyONgNH4CIDUQfTBuAdcSneh58Rcd3hMG4pfMEQr/T9ZFs5yx CDqSCks43YJU5JRNbvuW0a/NLPC7u4LgdXG/3xbAhyA7aAvenRMRVKc1yDuvHtpfatND 5UzSzon9FXDWxaN2mGOatr1dUCTd2TZoEDOfYwKMxieXJdmb6fegkbJFilJasHI+qvfJ 4BcLgeg1GWG/EYhPTiW1XDY7/Eeh4xMrZodLhDCZVileL9TsY1/ATd533qYYx5ZzEcDW AFWFklsJjK7Fmixmg+LdvtzX41WMvXqAF4h4JqKpvbKsCbTKpzJNe2ecf86uVHvkCrOT xcjg== X-Gm-Message-State: ALoCoQkomS1a3tI31N5BpTiSiAZG6YoWTj+ULqcVDLY/tKqFA5G/Rn41PWBmOSQcjcgGn28hYyX/ X-Received: by 10.152.21.130 with SMTP id v2mr24666960lae.1.1402441569666; Tue, 10 Jun 2014 16:06:09 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp29-44.pppoe.mtu-net.ru. [81.195.29.44]) by mx.google.com with ESMTPSA id s10sm19838709lal.22.2014.06.10.16.06.08 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 16:06:09 -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 1/2] ARM: shmobile: r8a7791: add VIN DT support Date: Wed, 11 Jun 2014 03:06:07 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) References: <201406110304.18976.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201406110304.18976.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201406110306.08759.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140610_160632_753305_5EEBB881 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 generic R8A7791 parts of the VIN[0-2] device nodes. Add aliases for the VIN[0-2] device nodes. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -34,6 +34,9 @@ spi1 = &msiof0; spi2 = &msiof1; spi3 = &msiof2; + vin0 = &vin0; + vin1 = &vin1; + vin2 = &vin2; }; cpus { @@ -518,6 +521,30 @@ status = "disabled"; }; + vin0: video@e6ef0000 { + compatible = "renesas,vin-r8a7790"; + clocks = <&mstp8_clks R8A7791_CLK_VIN0>; + reg = <0 0xe6ef0000 0 0x1000>; + interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + vin1: video@e6ef1000 { + compatible = "renesas,vin-r8a7790"; + clocks = <&mstp8_clks R8A7791_CLK_VIN1>; + reg = <0 0xe6ef1000 0 0x1000>; + interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + vin2: video@e6ef2000 { + compatible = "renesas,vin-r8a7790"; + clocks = <&mstp8_clks R8A7791_CLK_VIN2>; + reg = <0 0xe6ef2000 0 0x1000>; + interrupts = <0 190 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;