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: 4332591 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 06CD6BEEAA for ; Tue, 10 Jun 2014 23:06:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E3E02028D for ; Tue, 10 Jun 2014 23:06:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69634202DD for ; Tue, 10 Jun 2014 23:06:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753143AbaFJXGM (ORCPT ); Tue, 10 Jun 2014 19:06:12 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:58154 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751504AbaFJXGL (ORCPT ); Tue, 10 Jun 2014 19:06:11 -0400 Received: by mail-la0-f41.google.com with SMTP id e16so4443066lan.0 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=IQkc8B23mLNZkGWaoK3NuZOtjN+5Y9Q/G65eaWPXmL8in34eF9onduWxIASLkntYEg OWL9ge3Jy6m+Vh9ek89fcEplHbK0/vWk6ss1AuMoA1nsnXgV1qgayyXf7zPWlhqx8bGZ 5uyPoE1+yRRq0cdtZTTCIx1ifetD6EvFI1B//fyTCCVxVkavbYJ1NlvbUy6PEvefGrOg csPLId2iGiQHdHX+tQEIBgY+JKQSefZWFzo2Pyght3c1Pduq2nen6nHligz870SeHrG4 +obv9lnoMjGsEvyin/4gBZ0w7qzN6o9kqCPUzYUtnJHQal4uAnj3tYCLPzGoDg6NmCCj pzxQ== X-Gm-Message-State: ALoCoQnfpjLjlYC7y5bI2iv4yqZ117ELjhsU6uSEILJREK+31dTNDio7srVLVS8as1JADiOhpftW 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; ; ) 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: <201406110306.08759.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 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(+) -- 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.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>;