From patchwork Wed Aug 19 22:22:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7039731 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 807D09F358 for ; Wed, 19 Aug 2015 22:22:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A32A7206F8 for ; Wed, 19 Aug 2015 22:22:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C245B206F7 for ; Wed, 19 Aug 2015 22:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751364AbbHSWW2 (ORCPT ); Wed, 19 Aug 2015 18:22:28 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:33573 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbbHSWW1 (ORCPT ); Wed, 19 Aug 2015 18:22:27 -0400 Received: by lalv9 with SMTP id v9so11831553lal.0 for ; Wed, 19 Aug 2015 15:22:26 -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=RRja+COIcayo+8y8L4GU4Im9vGgT60d4PwInoyq+juY=; b=BV0N6WTZYFkqqYTqqwI0l8U/n+/WBPxsvOoQQXryQgS4GFs3cKaI/DR2qhJD4KOMw5 otZyqgIuZ9rIWnMOjm9Q0CLF2NSPq2t0YE9GyNUBUo/jshGdTu2U5ZB7ygBw0kn19Ohy XDpkzVjKifg5BVLYRf+K5+jApRdPORH8EimlilQqoCqbZY9Gb5YY06nU9w3yojSMRQQv n27jz0HmAWrhKs0kL0G+sct3VW3o06DflDL5EcIxNpn47Y/WSu9hxrHjyGNzH403DkJq vpXcGFqXZ9B0XeELo0I3Tus96YhLFa7CeKC4z5kYDQ1HCiT6BmbUqg4rJayXDpvYqwFd h8nQ== X-Gm-Message-State: ALoCoQkTr97g+4L8hRBvsWIU1t06IMn9/GZUCG/EgIWOWQN/S43pYYMcfTsJDjdTUvEdajGTNKhf X-Received: by 10.152.115.132 with SMTP id jo4mr13843292lab.113.1440022946417; Wed, 19 Aug 2015 15:22:26 -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 ba19sm601257lab.0.2015.08.19.15.22.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:22:25 -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 1/2] ARM: shmobile: r8a7794: add VIN DT support Date: Thu, 20 Aug 2015 01:22:24 +0300 Message-ID: <6082759.38ZG7ZtnPq@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 generic R8A7794 part of the VIN[01] device nodes. Add aliases for the VIN[01] device nodes. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 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.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -27,6 +27,8 @@ i2c4 = &i2c4; i2c5 = &i2c5; spi0 = &qspi; + vin0 = &vin0; + vin1 = &vin1; }; cpus { @@ -628,6 +630,24 @@ status = "disabled"; }; + vin0: video@e6ef0000 { + compatible = "renesas,vin-r8a7794"; + reg = <0 0xe6ef0000 0 0x1000>; + interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7794_CLK_VIN0>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; + + vin1: video@e6ef1000 { + compatible = "renesas,vin-r8a7794"; + reg = <0 0xe6ef1000 0 0x1000>; + interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7794_CLK_VIN1>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;