From patchwork Mon Oct 14 21:02:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 3040491 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 2112F9F243 for ; Mon, 14 Oct 2013 21:04:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44BFC2020E for ; Mon, 14 Oct 2013 21:04:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58EAC20218 for ; Mon, 14 Oct 2013 21:04:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758982Ab3JNVDz (ORCPT ); Mon, 14 Oct 2013 17:03:55 -0400 Received: from mail-ea0-f172.google.com ([209.85.215.172]:62231 "EHLO mail-ea0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932203Ab3JNVC6 (ORCPT ); Mon, 14 Oct 2013 17:02:58 -0400 Received: by mail-ea0-f172.google.com with SMTP id r16so3653545ead.17 for ; Mon, 14 Oct 2013 14:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=OXJSpV31tm6GTq52GOmAql7u6fQrRASF0MDJAPVW3Ek=; b=XVC+Cg5zE79QcPcK2eAMsCxwCLv9NEbzGW/0wf5mtyBkWUMpqku2w/x5t+sisCZ1dU OqokyXuXDUYzlE8W+T6y9AD04sYFaep+7O7SKI+e5WGfU5jW8Hd6tpftLsMkhiCA7C7l gbX8pUqdhzyU7eMvzbm0/ETWbbKY/2EtEUvoldB3GojIOIqZwQj6J7fozFm+mK9JxrCt aoDNcMQCWn0R297EPDTXgtY6T5X15aK9IIbYXYTRnQa+SQbrUG2RM7iR5dXT7d345KDl sf0PqLVkTeRnYnApmuF/+D6uowHsrBp0dKU4mbJ7Ef+qanFKY2MXxpLcc30RgTgiOdCw 7k4Q== X-Received: by 10.15.44.8 with SMTP id y8mr19676091eev.38.1381784577378; Mon, 14 Oct 2013 14:02:57 -0700 (PDT) Received: from nb.lan (ip-85.162.84.16.o2inet.sk. [85.162.84.16]) by mx.google.com with ESMTPSA id r48sm157935743eev.14.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 14:02:56 -0700 (PDT) From: Marek Belisko To: tony@atomide.com, linux@arm.linux.org.uk, tomi.valkeinen@ti.com, plagnioj@jcrosoft.com Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, neilb@suse.de, hns@goldelico.com, Marek Belisko Subject: [PATCH 2/3] video: venc: Add new callback and handling for bypass and acbias setup. Date: Mon, 14 Oct 2013 23:02:34 +0200 Message-Id: <1381784555-18344-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1381784555-18344-1-git-send-email-marek@goldelico.com> References: <1381784555-18344-1-git-send-email-marek@goldelico.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 Add new callback to set bypass and acbias. During venc enble disable those bit are updated in devconf1 register. Signed-off-by: Marek Belisko --- drivers/video/omap2/dss/venc.c | 21 +++++++++++++++++++++ include/video/omapdss.h | 2 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 5f88ac4..17bd45b 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c @@ -34,6 +34,7 @@ #include #include #include +#include #include