From patchwork Wed Jun 11 20:17:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: franck.jullien@gmail.com X-Patchwork-Id: 4338261 Return-Path: X-Original-To: patchwork-linux-fbdev@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 1B0E19F314 for ; Wed, 11 Jun 2014 20:18:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D6132025B for ; Wed, 11 Jun 2014 20:18:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40771201E4 for ; Wed, 11 Jun 2014 20:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750958AbaFKUSQ (ORCPT ); Wed, 11 Jun 2014 16:18:16 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:54325 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbaFKUSP (ORCPT ); Wed, 11 Jun 2014 16:18:15 -0400 Received: by mail-we0-f180.google.com with SMTP id x48so277323wes.11 for ; Wed, 11 Jun 2014 13:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2EO/33h5gzHH9deC/U/KBU8ghmEvwcfQgkriYBU7cLI=; b=0aJvEnI2bFi5cu2eZuL8QGrRGMR463cKwut7XoIDC2ENrNQRC6voEEMry4ojq9oAAW +r+WRsxczITf8KXKj86aXhQ3l+12ZR2DOnp6LqNG80cDeE6fL+HF6yjp+PWoRQmoIiXx 3qaQ47RS3kQI/FAVlIHc2MIYpuATqwuvbeaRSFb2fPjeYgX7MLUnMUYSS6Q8b32y2RMN OezLk1hNO9/eDYtwaeIbDA5LzTrJD4tec7DaVig1yK3Kc8WsdzRiWDEGjVSs9n5LrEF3 Y4cILBDG+FxD26getUAEeAs0Um0CuvycG9UMGs0qa9xB3nC9aJkjD0qDtEmyiUh/idQb MOfQ== X-Received: by 10.194.57.225 with SMTP id l1mr55628000wjq.25.1402517894100; Wed, 11 Jun 2014 13:18:14 -0700 (PDT) Received: from localhost.localdomain (mx306-1-88-173-33-123.fbx.proxad.net. [88.173.33.123]) by mx.google.com with ESMTPSA id lo18sm29170479wic.1.2014.06.11.13.18.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 13:18:13 -0700 (PDT) From: Franck Jullien To: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, stefan.kristiansson@saunalahti.fi, Franck Jullien Subject: [PATCH] video: OF display-timings support for ocfb Date: Wed, 11 Jun 2014 22:17:51 +0200 Message-Id: <1402517871-27503-1-git-send-email-franck.jullien@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Signed-off-by: Franck Jullien Acked-by: Stefan Kristiansson --- drivers/video/fbdev/Kconfig | 2 ++ drivers/video/fbdev/ocfb.c | 31 ++++++++++++++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index e1f4727..b4ac6bb 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -942,6 +942,8 @@ config FB_OPENCORES select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT + select VIDEOMODE_HELPERS + select FB_MODE_HELPERS help This enables support for the OpenCores VGA/LCD core. diff --git a/drivers/video/fbdev/ocfb.c b/drivers/video/fbdev/ocfb.c index 7f9dc9b..6d15565 100644 --- a/drivers/video/fbdev/ocfb.c +++ b/drivers/video/fbdev/ocfb.c @@ -22,6 +22,8 @@ #include #include +#include