From patchwork Tue Apr 7 20:20:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 458798 X-Patchwork-Delegate: hdegoede@redhat.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id CEE03140213 for ; Wed, 8 Apr 2015 06:20:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 826794B652; Tue, 7 Apr 2015 22:20:35 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xnuqNSlAOBUH; Tue, 7 Apr 2015 22:20:35 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34CE34B64D; Tue, 7 Apr 2015 22:20:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C3F944B656 for ; Tue, 7 Apr 2015 22:20:30 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8arforXq-Ip3 for ; Tue, 7 Apr 2015 22:20:30 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from gagarine.paulk.fr (gagarine.paulk.fr [109.190.93.129]) by theia.denx.de (Postfix) with ESMTPS id 6C4D74B652 for ; Tue, 7 Apr 2015 22:20:29 +0200 (CEST) Received: by gagarine.paulk.fr (Postfix, from userid 65534) id D6112206E5; Tue, 7 Apr 2015 22:20:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id 3C8DA20660; Tue, 7 Apr 2015 22:20:11 +0200 (CEST) From: Paul Kocialkowski To: u-boot@lists.denx.de Date: Tue, 7 Apr 2015 22:20:00 +0200 Message-Id: <1428438001-22061-3-git-send-email-contact@paulk.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428438001-22061-1-git-send-email-contact@paulk.fr> References: <1428438001-22061-1-git-send-email-contact@paulk.fr> Cc: Ian Campbell Subject: [U-Boot] [PATCH v4 2/3] i2c: MVTWSI driver Kconfig bindings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This adds the MVTWSI I2C driver to Kconfig bindings, to allow flexible selection e.g. based on other Kconfig properties. Signed-off-by: Paul Kocialkowski --- drivers/i2c/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 692810d..71c9587 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -22,6 +22,13 @@ config DM_I2C_COMPAT to convert all code for a board in a single commit. It should not be enabled for any board in an official release. +config SYS_I2C_MVTWSI + bool "MVTWSI I2C driver" + default n + help + Support for the MVTWSI I2C controller driver. This I2C controller is + used on Orion5x, Kirkwood, Armada XP and Sunxi SoCs. + config SYS_I2C_UNIPHIER bool "UniPhier I2C driver" depends on ARCH_UNIPHIER && DM_I2C