From patchwork Sat May 18 17:12:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2589261 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id DB4913FD85 for ; Sat, 18 May 2013 22:05:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BBD20E5D20 for ; Sat, 18 May 2013 15:05:51 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by gabe.freedesktop.org (Postfix) with ESMTP id 9D3F9E5C5D for ; Sat, 18 May 2013 10:12:29 -0700 (PDT) Received: by mail-ee0-f44.google.com with SMTP id b57so3285808eek.31 for ; Sat, 18 May 2013 10:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=QH49A2mmG8DblDDFV7gicR8npUGXgcQsQOo8u9WYPOs=; b=orsmQ/K2QO0vD4mKfV8L3ZrvuW/ll7qz6MgjnIUKKowOtCIvi2qb1YX64t57VKFPIy sbcLBP+Q7AMUQ2HYj+jhpAf/JhI4CiBHeWte3pChHox01b2jeX4pcCVVn3KJ6IoxeEDO ZjlrxPdw8SvTidOEHaUiIItxmr1eBabKa7aJ1C5a1e5nKCUwkWy++zGq1UeqLm+RiyvG BG+QX7FiK47hMbeST9Fs25ubhUvFn6CUrLECEa5Yksyq0mtDCSKpj2ldTjhvqN4CF76K yFfQhM2W4b/1iXDCIutNLghIrFRAEjb6KmXKRfA0g7jJ8oUA8qU7mN/3czeKXjt7Tc2f HXdA== X-Received: by 10.15.94.131 with SMTP id bb3mr93129682eeb.20.1368897148780; Sat, 18 May 2013 10:12:28 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-181.pools.arcor-ip.net. [82.83.251.181]) by mx.google.com with ESMTPSA id g7sm26760103eew.15.2013.05.18.10.12.26 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 10:12:27 -0700 (PDT) Received: from edge.lan (magicgate.lan [192.168.1.1]) by topkick.lan (Postfix) with ESMTPSA id B008B605EE; Sat, 18 May 2013 19:11:43 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [RFC 2/4] ARM: dove: add video card node for SolidRun CuBox Date: Sat, 18 May 2013 19:12:17 +0200 Message-Id: <1368897139-25485-3-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368897139-25485-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <20130516192510.GV18614@n2100.arm.linux.org.uk> <1368897139-25485-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailman-Approved-At: Sat, 18 May 2013 15:03:35 -0700 Cc: Jean-Francois Moine , Russell King , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Jason Cooper X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This adds a video card node required for rmk's dove_drm driver. Reg property matches reserved memory region (currently 16M at top of memory), clocks property should carry extclk0 for now. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: dri-devel@lists.freedesktop.org Cc: Jason Cooper Cc: Jean-Francois Moine --- arch/arm/boot/dts/dove-cubox.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts index ed2b7b2..f26d0d2 100644 --- a/arch/arm/boot/dts/dove-cubox.dts +++ b/arch/arm/boot/dts/dove-cubox.dts @@ -8,7 +8,7 @@ memory { device_type = "memory"; - reg = <0x00000000 0x40000000>; + reg = <0x00000000 0x3f000000>; }; chosen { @@ -52,10 +52,24 @@ #clock-cells = <0>; }; }; + + video { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + vcard: video-card { + compatible = "marvell,dove-video-card"; + reg = <0x3f000000 0x1000000>; + clocks = <&si5351 0>, <&si5351 0>; + }; + }; }; &uart0 { status = "okay"; }; &sata0 { status = "okay"; }; +&lcd0 { status = "okay"; }; &i2c0 { status = "okay";