From patchwork Thu Aug 23 13:45:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1367211 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 6503CDF2AB for ; Thu, 23 Aug 2012 13:45:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933870Ab2HWNpm (ORCPT ); Thu, 23 Aug 2012 09:45:42 -0400 Received: from na3sys009aog120.obsmtp.com ([74.125.149.140]:55476 "EHLO na3sys009aog120.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933047Ab2HWNpl (ORCPT ); Thu, 23 Aug 2012 09:45:41 -0400 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) (using TLSv1) by na3sys009aob120.postini.com ([74.125.148.12]) with SMTP ID DSNKUDY0A6HpjXMiFh3auFJMaHdw/4A98YcB@postini.com; Thu, 23 Aug 2012 06:45:40 PDT Received: by lagu2 with SMTP id u2so419617lag.36 for ; Thu, 23 Aug 2012 06:45:38 -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=dQJpbE85vgHiK4Gy5CXE1uukaw7llz9w+ZzjlO/hcKQ=; b=TKQjqzQhjG8wFb14Ra4ZOgRf/FF63oDCPfEab9byWm5k1l4du8dClGoDr1XBej6fTV z2wvIcWZ3uy28cxg7AmW6bEUlci4FXR2aL9JtQZz4V8pcS0kr0XEZBPkxMCYUR9Fxspl uaEIsLgL/eQMxi8k07KTeu45Nd+rvl/7jcEwnATc2rfRNAthq4ndBkKYlaWE+KVU7vFx dy9ZNIa25R3OXuW6yp3I++IqzR/lXZpudKq7eXXMPpYzEMbLtWmeebu29/d3GFJ/SALC gi24frHoXp6eXzdYovUM2Th7m2UqFWW7tIMKjbfEOF25+3gpcYEtSeZ7vF5ISFUC05QP tiSQ== Received: by 10.112.28.7 with SMTP id x7mr937402lbg.54.1345729538434; Thu, 23 Aug 2012 06:45:38 -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.36 (version=SSLv3 cipher=OTHER); Thu, 23 Aug 2012 06:45:37 -0700 (PDT) From: Tomi Valkeinen To: archit@ti.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Tomi Valkeinen Subject: [PATCH 4/8] OMAPDSS: HDMI: use vdda_hdmi_dac Date: Thu, 23 Aug 2012 16:45:10 +0300 Message-Id: <1345729514-2441-5-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: ALoCoQngV2xpm8pTl7rzwj0hsMvzffVcakAMocPhgfq43qN6/TZe5cOT1DP15vZNdPjNHk2NSvFB Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The HDMI driver requires vdda_hdmi_dac power for operation, but does not enable it. This has worked because the regulator has been always enabled. But this may not always be the case, as I encountered when implementing HDMI device tree support. This patch changes the HDMI driver to use the vdda_hdmi_dac. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/hdmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 96a6e29..ccfc677 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -33,6 +33,7 @@ #include #include #include +#include #include