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: 1367241 Return-Path: X-Original-To: patchwork-linux-omap@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 1C600DF2AB for ; Thu, 23 Aug 2012 13:45:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933717Ab2HWNpo (ORCPT ); Thu, 23 Aug 2012 09:45:44 -0400 Received: from na3sys009aog134.obsmtp.com ([74.125.149.83]:53711 "EHLO na3sys009aog134.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933657Ab2HWNpm (ORCPT ); Thu, 23 Aug 2012 09:45:42 -0400 Received: from mail-lpp01m010-f42.google.com ([209.85.215.42]) (using TLSv1) by na3sys009aob134.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 lahl5 with SMTP id l5so371417lah.15 for ; Thu, 23 Aug 2012 06:45:39 -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=l1gvy5q2d2x98jtK0vIlu+7YsW8hjZb5mDOmgAH87dKZlj0HrYn+hiLODGsFWb5tmG cowmxKt120BicIP9JmntCcDvUM/vA/RHpguYhExj0AOgO5q6aAkKHMupwVFHKYKXZCGS 13wPdpLsxaUG/tFZNCdhk1YmHTAWME5D6NmqGYQfKm2ZqkHTJmMGdgbC39/4QNq5Tk+4 t8bdIyXj1rWOa5eaFWNd654jslfATlyY6ZrrAYrrJyc262iFQojjp9UfQJzUk/U5U1Lw RI/ezxbzr5hgNocl1aXI4p1A21EBg6MdSSZXs3uw6fjQYocxJ1xaHOyf46iqrmHiqa5s /bqA== 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: ALoCoQm6o/R/qBIab1iPO5bo7YJGU+IBjRxoG8yfDIDvLm7UP8TYCbZ8pIEhoenZGSmRXJGwBl2p Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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,