From patchwork Thu Apr 24 12:28:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 28966 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 397FD203AC for ; Thu, 24 Apr 2014 12:29:12 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id vb8sf13758981obc.7 for ; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=+/j2GvKSo77A1fFLq5FwoclntK196ue+MuzsG17sx3c=; b=kOUe5wVEOuaJv78G0oQfDt9udiOHMUNhfvyC0sWuw6JJvACS7VGOg/M4M9uGjk08kG eLH/0H0xy75nZ+izfIAx6tyO8jgdOqK8qVQeX4IjfbsLBa9glKCFoH9laJPwpGkNRY33 uuxaW8pZqs9l0Ux5jMXqSQLquZYIQFuId3ytJNjbp57hBoZdhnCMDv5Ab9f84ZX0PXVU cp0B3dImzDG4ogAAFVk5NGw+NAv/mFRsos13G4YDoga5qDmJlIHPXtFYR8IRN8D5rJTy Idz822uCmH+slFsnJXDTRJha5eWJrQQjGOvJ/s6iDILkPmZXmBBZoCV+JtkkrvIyEQOt Zzfw== X-Gm-Message-State: ALoCoQlF9ra1BAS1Lc7WI3VDOS1bY64gtHnuZKBoVJbse7HEqjqLJoySLUjJw+QgOsR4LzUNNmmP X-Received: by 10.42.87.140 with SMTP id y12mr833283icl.31.1398342551707; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.229 with SMTP id o92ls996726qge.95.gmail; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) X-Received: by 10.58.1.97 with SMTP id 1mr1058630vel.23.1398342551563; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id d12si880433vco.83.2014.04.24.05.29.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:29:11 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so2778170veb.8 for ; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) X-Received: by 10.220.92.135 with SMTP id r7mr1052575vcm.11.1398342551488; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp11870vcb; Thu, 24 Apr 2014 05:29:11 -0700 (PDT) X-Received: by 10.68.184.66 with SMTP id es2mr2850064pbc.19.1398342549889; Thu, 24 Apr 2014 05:29:09 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id as3si2601671pbc.178.2014.04.24.05.29.09; Thu, 24 Apr 2014 05:29:09 -0700 (PDT) Received-SPF: none (google.com: linux-fbdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757031AbaDXM3B (ORCPT + 1 other); Thu, 24 Apr 2014 08:29:01 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:61501 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756993AbaDXM27 (ORCPT ); Thu, 24 Apr 2014 08:28:59 -0400 Received: by mail-wg0-f50.google.com with SMTP id x13so2135566wgg.33 for ; Thu, 24 Apr 2014 05:28:58 -0700 (PDT) X-Received: by 10.194.188.41 with SMTP id fx9mr1493558wjc.56.1398342538524; Thu, 24 Apr 2014 05:28:58 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id y20sm35144777wiv.14.2014.04.24.05.28.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:28:58 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, Arnd Bergmann , Peter Griffin , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org, Russell King , Anatolij Gustschin Subject: [PATCH 03/13] video: clarify I2C dependencies Date: Thu, 24 Apr 2014 13:28:19 +0100 Message-Id: <1398342509-10243-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org> References: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann We can only use I2C support in frame buffer drivers if Either I2C is built-in, or both I2C and the driver itself are loadable modules. Fix this dependency for MB862XX and CyberPro frame buffers. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Cc: Russell King Cc: Anatolij Gustschin --- drivers/video/fbdev/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index a4116bf..5577a94 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -360,6 +360,7 @@ config FB_CYBER2000_DDC config FB_CYBER2000_I2C bool "CyberPro 2000/2010/5000 I2C support" depends on FB_CYBER2000 && I2C && ARCH_NETWINDER + depends on I2C=y || FB_CYBER2000=m select I2C_ALGOBIT help Enable support for the I2C video decoder interface on the @@ -2296,6 +2297,7 @@ endchoice config FB_MB862XX_I2C bool "Support I2C bus on MB862XX GDC" depends on FB_MB862XX && I2C + depends on FB_MB862XX=m || I2C=y default y help Selecting this option adds Coral-P(A)/Lime GDC I2C bus adapter