From patchwork Wed Mar 19 19:29:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 3860601 Return-Path: X-Original-To: patchwork-linux-omap@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 861FA9F369 for ; Wed, 19 Mar 2014 19:31:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BBB4A201E7 for ; Wed, 19 Mar 2014 19:31:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB119201FA for ; Wed, 19 Mar 2014 19:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbaCSTbL (ORCPT ); Wed, 19 Mar 2014 15:31:11 -0400 Received: from moutng.kundenserver.de ([212.227.17.24]:65331 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbaCSTbK (ORCPT ); Wed, 19 Mar 2014 15:31:10 -0400 Received: from wuerfel.lan (HSI-KBW-134-3-135-108.hsi14.kabel-badenwuerttemberg.de [134.3.135.108]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0M2d6r-1XHmIK3fDJ-00sKmZ; Wed, 19 Mar 2014 20:30:38 +0100 From: Arnd Bergmann To: arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Tony Lindgren , linux-omap@vger.kernel.org Subject: [PATCH 24/62] ARM: omap1: select I2C where needed for PMIC Date: Wed, 19 Mar 2014 20:29:21 +0100 Message-Id: <1395257399-359545-25-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395257399-359545-1-git-send-email-arnd@arndb.de> References: <1395257399-359545-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:EUx6uQ/dPjWGKz7Fh7dlcQHvQAmgiLDTsg0n9bnYZ9U g8hPS/lpzRwGLKFN641iVXHLhtkKpjXAfTSEe8vytQDn8vJAb+ lSbP3wSU4dS3iQVtOS97Khrw12e8nVv9WSWUGgbKQB5ITkUk/w dIy1OxoGgHoMVIIio2HOTNGK5Qi1Br2wmislC38PY1pRemUYIr uyHmafBID6rB0y0KQbi5IocrcLfIkzVWRm5XfxNT1rc7lHdxJ3 2Snq/trqasZDwSYJ1SuDrQilxLWIUbl8c3J8Snk+6rYsxvCewu lkVcG28diIPIm76r8l8+8H1JHm7vMZzJKFNbAeV3Q3Nf1dJQSe UFeyAifrgL5BWV9vruiUHxqfCixLkdyPosIZ33yKT Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 The OMAP H2, OSK and OSIRIS machines cannot build without I2C and TPS65010 both enabled unconditionally. In each case, failing to enable CONFIG_I2C results in a build or link error, so most consistent solution is to ensure that it is impossible to disable those options. It would be nice to leave CONFIG_I2C as user-selectable, but doing that properly would require more work. Signed-off-by: Arnd Bergmann Cc: Tony Lindgren Cc: linux-omap@vger.kernel.org --- arch/arm/mach-omap1/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig index cdd05f2..23ab1d5 100644 --- a/arch/arm/mach-omap1/Kconfig +++ b/arch/arm/mach-omap1/Kconfig @@ -44,6 +44,8 @@ config MACH_OMAP_INNOVATOR config MACH_OMAP_H2 bool "TI H2 Support" depends on ARCH_OMAP1 && ARCH_OMAP16XX + select TPS65010 + select I2C help TI OMAP 1610/1611B H2 board support. Say Y here if you have such a board. @@ -64,6 +66,8 @@ config MACH_HERALD config MACH_OMAP_OSK bool "TI OSK Support" depends on ARCH_OMAP1 && ARCH_OMAP16XX + select TPS65010 + select I2C help TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here if you have such a board.