From patchwork Thu Aug 23 13:45:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1367231 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 07A14DF2AB for ; Thu, 23 Aug 2012 13:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933047Ab2HWNpo (ORCPT ); Thu, 23 Aug 2012 09:45:44 -0400 Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:52342 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933717Ab2HWNpm (ORCPT ); Thu, 23 Aug 2012 09:45:42 -0400 Received: from mail-lpp01m010-f54.google.com ([209.85.215.54]) (using TLSv1) by na3sys009aob104.postini.com ([74.125.148.12]) with SMTP ID DSNKUDY0BdvWFHmE+2Xnht/2swI+KDHnyFgU@postini.com; Thu, 23 Aug 2012 06:45:42 PDT Received: by lage12 with SMTP id e12so523602lag.13 for ; Thu, 23 Aug 2012 06:45:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=ijDJNDia9SRXVLerjPMg69vnxPMvEX+cg0Q27CFcg0A=; b=VJAEHDSuFXWmfLAoEBln/uAfGkVNuINKQoxugJEZ9WIgdCsMf3rJOEUQWFRTuHy8BV 36sc6HP3yNFuF39LgLwyzJB/JwjRIsTk/jDSPd8UsRTaj05TZJHX64s9leKs/kIM3Xio dT43KBoZgWTEC9luotKUwtNC6f7/Q5jroo9GCQl1nZlygmzwLc2xWStaKGmS1TvzADBv CMDu/taXTLxrmwA7d/s9h4201F1m1ZuKu2JNKm+W5HSv4OwCBRijUOkZFJYWAOf8cIgw ZCxa5GilHMxB3yrc1okfUn5E4CL8r4Ykv4nj/bu0kAiFXFWZGrYWxEFrC2MlwibJ5us3 5ETQ== Received: by 10.112.86.200 with SMTP id r8mr925549lbz.87.1345729539899; Thu, 23 Aug 2012 06:45:39 -0700 (PDT) Received: from localhost.localdomain (a91-156-160-115.elisa-laajakaista.fi. [91.156.160.115]) by mx.google.com with ESMTPS id fz8sm466816lbb.9.2012.08.23.06.45.38 (version=SSLv3 cipher=OTHER); Thu, 23 Aug 2012 06:45:39 -0700 (PDT) From: Tomi Valkeinen To: archit@ti.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Tomi Valkeinen Subject: [PATCH 5/8] OMAPDSS: Add DSI fclk maximum to dss_features Date: Thu, 23 Aug 2012 16:45:11 +0300 Message-Id: <1345729514-2441-6-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345729514-2441-1-git-send-email-tomi.valkeinen@ti.com> References: <1345729514-2441-1-git-send-email-tomi.valkeinen@ti.com> X-Gm-Message-State: ALoCoQnPCCDq4TZf0rM++LiF2VV6ZhLuqBe6VblucDUGr2M4F+O8wJzrJ09hg2B3vod/8ADb3W5C Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Add max value of DSI functional clock to dss_features, so that DSI driver can use it. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dss_features.c | 2 ++ drivers/video/omap2/dss/dss_features.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c index 2fe39d6..c26fc1f 100644 --- a/drivers/video/omap2/dss/dss_features.c +++ b/drivers/video/omap2/dss/dss_features.c @@ -326,6 +326,7 @@ static const struct dss_param_range omap3_dss_param_range[] = { [FEAT_PARAM_DSIPLL_REGM_DSI] = { 0, (1 << 4) - 1 }, [FEAT_PARAM_DSIPLL_FINT] = { 750000, 2100000 }, [FEAT_PARAM_DSIPLL_LPDIV] = { 1, (1 << 13) - 1}, + [FEAT_PARAM_DSI_FCK] = { 0, 173000000 }, [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, [FEAT_PARAM_LINEWIDTH] = { 1, 1024 }, [FEAT_PARAM_MGR_WIDTH] = { 1, 2048 }, @@ -341,6 +342,7 @@ static const struct dss_param_range omap4_dss_param_range[] = { [FEAT_PARAM_DSIPLL_REGM_DSI] = { 0, (1 << 5) - 1 }, [FEAT_PARAM_DSIPLL_FINT] = { 500000, 2500000 }, [FEAT_PARAM_DSIPLL_LPDIV] = { 0, (1 << 13) - 1 }, + [FEAT_PARAM_DSI_FCK] = { 0, 170000000 }, [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, [FEAT_PARAM_LINEWIDTH] = { 1, 2048 }, [FEAT_PARAM_MGR_WIDTH] = { 1, 2048 }, diff --git a/drivers/video/omap2/dss/dss_features.h b/drivers/video/omap2/dss/dss_features.h index 26d43a4..b81d603 100644 --- a/drivers/video/omap2/dss/dss_features.h +++ b/drivers/video/omap2/dss/dss_features.h @@ -92,6 +92,7 @@ enum dss_range_param { FEAT_PARAM_DSIPLL_REGM_DSI, FEAT_PARAM_DSIPLL_FINT, FEAT_PARAM_DSIPLL_LPDIV, + FEAT_PARAM_DSI_FCK, FEAT_PARAM_DOWNSCALE, FEAT_PARAM_LINEWIDTH, FEAT_PARAM_MGR_WIDTH,