From patchwork Thu May 4 15:11:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 758651 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wJf9G33Rgz9s2P for ; Fri, 5 May 2017 01:30:10 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2824BC21C93; Thu, 4 May 2017 15:19:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BF7EDC21C79; Thu, 4 May 2017 15:18:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8ABF6C21C67; Thu, 4 May 2017 15:17:43 +0000 (UTC) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by lists.denx.de (Postfix) with ESMTPS id 66211C21C61 for ; Thu, 4 May 2017 15:17:39 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id v1so2676687pgv.3 for ; Thu, 04 May 2017 08:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ED5Ko+4rKJlZE4J/ObR98I9cspVNcnsTr2a/EurVT00=; b=oKnpq6tqD94bOjNwoYvoJUaGJbaNksSpRlvPrxtHlV47r9HZa97gCnddLbFSoWV+aP Y+ysUoD381EbxH9xRtKUhb/7+puR1z+jfwq6wFgkknriFHv8c/fhZWxJLlCn+2kEm8VW BU14j+xf56jnG7QBZVuHHtx0RGItMJkcAz6q0WmsZu0VSIkd6tAdNkOfI00nVhGkz1ii HkduuYrxgaleOIq2NtDfaWGe705MrzQ2PljX1N9cSTKaD7SVTCuSA9+ap9C5X2G3/1gz 88yW8dMCd7VaRWRi99XL9VlWWvCaD3HU79CqwMV/uJdoI2N2UHpPqyixOpD11/CSMcaO FlYw== X-Gm-Message-State: AN3rC/6R5nHyYh7ZwPhwKeQXs9ZgKQTl2tXx7Ga7+2b1PViI5UCbyl59 y4wetGmnLHodtQ== X-Received: by 10.99.2.9 with SMTP id 9mr44819369pgc.69.1493911058124; Thu, 04 May 2017 08:17:38 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.120]) by smtp.gmail.com with ESMTPSA id d3sm6803661pgc.37.2017.05.04.08.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 May 2017 08:17:37 -0700 (PDT) From: Jagan Teki To: Stefano Babic Date: Thu, 4 May 2017 20:41:17 +0530 Message-Id: <1493910702-6751-9-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493910702-6751-1-git-send-email-jagan@openedev.com> References: <1493910702-6751-1-git-send-email-jagan@openedev.com> Cc: Fabio Estevam , u-boot@lists.denx.de Subject: [U-Boot] [PATCH v5 08/33] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" From: Jagan Teki Moved CONFIG_SYS_I2C_MXC from include/configs/mxsabresd.h to imx6 sabresd defconfigs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki Reviewed-by: Fabio Estevam --- configs/imx6qdl_sabresd_spl_defconfig | 1 + configs/mx6dlsabresd_defconfig | 1 + configs/mx6qsabresd_defconfig | 1 + configs/mx6sabresd_spl_defconfig | 1 + include/configs/mx6sabresd.h | 3 ++- 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/imx6qdl_sabresd_spl_defconfig b/configs/imx6qdl_sabresd_spl_defconfig index a292518..dc06b50 100644 --- a/configs/imx6qdl_sabresd_spl_defconfig +++ b/configs/imx6qdl_sabresd_spl_defconfig @@ -58,5 +58,6 @@ CONFIG_DM_GPIO=y CONFIG_DM_MMC=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_SYS_I2C_MXC=y CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX6=y diff --git a/configs/mx6dlsabresd_defconfig b/configs/mx6dlsabresd_defconfig index 0254a53..56f629f 100644 --- a/configs/mx6dlsabresd_defconfig +++ b/configs/mx6dlsabresd_defconfig @@ -42,3 +42,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y +CONFIG_SYS_I2C_MXC=y diff --git a/configs/mx6qsabresd_defconfig b/configs/mx6qsabresd_defconfig index cef7f1a..e598dc8 100644 --- a/configs/mx6qsabresd_defconfig +++ b/configs/mx6qsabresd_defconfig @@ -42,3 +42,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y +CONFIG_SYS_I2C_MXC=y diff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig index c89c3c6..d52e48f 100644 --- a/configs/mx6sabresd_spl_defconfig +++ b/configs/mx6sabresd_spl_defconfig @@ -48,3 +48,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y +CONFIG_SYS_I2C_MXC=y diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 9885a5c..7c0e7a5 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -52,12 +52,13 @@ #endif /* I2C Configs */ +#ifdef CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 +#endif /* PMIC */ #define CONFIG_POWER