From patchwork Sat Aug 2 00:04:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4664601 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 A440E9F319 for ; Sat, 2 Aug 2014 00:04:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC2AB20200 for ; Sat, 2 Aug 2014 00:04:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CDA0320218 for ; Sat, 2 Aug 2014 00:04:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751889AbaHBAEV (ORCPT ); Fri, 1 Aug 2014 20:04:21 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:43183 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbaHBAEU (ORCPT ); Fri, 1 Aug 2014 20:04:20 -0400 Received: by mail-la0-f54.google.com with SMTP id hz20so3808722lab.13 for ; Fri, 01 Aug 2014 17:04:18 -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=ORsLwoOKuV3T3Swbr2mZdtZv+g8c5NS4bwCCqBW786c=; b=GCI8Tss1YomReKavmEfe16WvSJ3GlJv6OcQ0cv/zvkPRoHL/fBi26z3vuZEKTBx4dK KbAK9n76TwojzHQLMmHxUJTrvWQUF01ZAKRub91ZHd/ig0DKhVAU0x75yACFyEH/IGGy ExoIrYbfQi+qwaJIdTmR8Htp41d2G7RE80Pn52ZMxnckz2YzYr141OinXFEHPtXZ3Oui kskdziVIPU/7F9PTfq/2iYPbd2IGPbQUx6R2MDbleLfNXL9hD+64ZsSNjeF8fS1dJ/rT Q1LNFIwp1blJHVus7HQ8C9SGnbUmD+vPgeHGbK4iNzj4ecJe3742MjJoFjqmcJ6c2rdF alzQ== X-Gm-Message-State: ALoCoQn0keXIxwFma4fBb4pW3XdV0yzENU4ElIMvl//Wc+C8DjP29CqIWFtpa4UvWEwTp6kOMTh5 X-Received: by 10.112.119.142 with SMTP id ku14mr9193766lbb.34.1406937858694; Fri, 01 Aug 2014 17:04:18 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp24-38.pppoe.mtu-net.ru. [81.195.24.38]) by mx.google.com with ESMTPSA id xu8sm5523516lab.41.2014.08.01.17.04.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 01 Aug 2014 17:04:17 -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 1/2] ARM: shmobile: r8a7791: add VIN DT support Date: Sat, 2 Aug 2014 04:04:21 +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: <201408020404.21944.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 generic R8A7791 parts of the VIN[0-2] device nodes. Add aliases for the VIN[0-2] device nodes. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - fixed the "compatible" properties; - refreshed the patch. 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 { @@ -550,6 +553,30 @@ status = "disabled"; }; + vin0: video@e6ef0000 { + compatible = "renesas,vin-r8a7791"; + 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-r8a7791"; + 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-r8a7791"; + 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>;