public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 08/33] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs
Date: Thu,  4 May 2017 20:41:17 +0530	[thread overview]
Message-ID: <1493910702-6751-9-git-send-email-jagan@openedev.com> (raw)
In-Reply-To: <1493910702-6751-1-git-send-email-jagan@openedev.com>

From: Jagan Teki <jagan@amarulasolutions.com>

Moved CONFIG_SYS_I2C_MXC from include/configs/mxsabresd.h
to imx6 sabresd defconfigs.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 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
-- 
1.9.1

  parent reply	other threads:[~2017-05-04 15:11 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 15:11 [U-Boot] [PATCH v5 00/33] ARM: i.MX6: SabreSD: Add dts support Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 01/33] mx6sabresd: README: Fix to add space on dd command Jagan Teki
2017-05-11 17:15   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 02/33] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi Jagan Teki
2017-05-11 17:14   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 03/33] ARM: dts: imx6qdl-sabresd: Add imx6q-sabresd.dts Jagan Teki
2017-05-11 17:16   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 04/33] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT Jagan Teki
2017-05-11 17:17   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 05/33] ARM: i.MX6Q: sabresd: Add initial devicetree support Jagan Teki
2017-05-11 17:18   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 06/33] ARM: dts: imx6qdl-sabresd: Add imx6qp-sabresd.dts Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 07/33] ARM: i.MX6QP: sabresd: Add initial devicetree support Jagan Teki
2017-05-04 15:11 ` Jagan Teki [this message]
2017-05-11 17:19   ` [U-Boot] [PATCH v5 08/33] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 09/33] ARM: dts: imx6qdl-sabresd: Add I2C node's Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 10/33] ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 11/33] ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC Jagan Teki
2017-05-11 17:20   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 12/33] ARM: i.MX6: sabresd: defconfig move - CONFIG_USB_EHCI(_MX6) Jagan Teki
2017-05-11 17:21   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 13/33] ARM: dts: imx6qdl-sabresd: Add usb host node Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 14/33] ARM: dts: imx6qdl-sabresd: Add usb otg node Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 15/33] ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 16/33] ARM: i.MX6: sabresd: Enable DM_USB Jagan Teki
2017-05-11 17:21   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 17/33] ARM: dts: imx6qdl-sabresd: Add FEC node Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 18/33] ARM: i.MX6: sabre: Move CONFIG_FEC_MXC to defconfigs Jagan Teki
2017-05-11 17:22   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 19/33] ARM: i.MX6: sabresd: Enable DM_ETH Jagan Teki
2017-05-11 17:23   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 20/33] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight Jagan Teki
2017-05-11 17:23   ` Fabio Estevam
2017-05-18  8:30     ` Jagan Teki
2017-05-18 10:38       ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 21/33] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power Jagan Teki
2017-05-11 17:25   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 22/33] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 23/33] ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 24/33] ARM: i.MX6: %s/mx6[dl|q]sabresd_defconfig/imx6[dl|q]_sabresd_defconfig Jagan Teki
2017-05-11 17:26   ` Fabio Estevam
2017-05-18  4:48     ` Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 25/33] ARM: i.MX6Q: sabresd: Add dts support for imx6q_sabresd Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 26/33] ARM: i.MX6DL: sabresd: Add dts support for imx6dl_sabresd Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 27/33] ARM: i.MX6: sabresd: Drop legacy non-fdt code Jagan Teki
2017-05-11 17:28   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 28/33] ARM: i.MX6: %s/mx6sabresd/imx6sabresd Jagan Teki
2017-05-11 17:30   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 29/33] ARM: i.MX6: %s/MX6SABRESD/IMX6SABRESD Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 30/33] ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig Jagan Teki
2017-05-04 15:11 ` [U-Boot] [PATCH v5 31/33] ARM: i.MX6: sabresd: Drop checkboard Jagan Teki
2017-05-11 17:31   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 32/33] ARM: i.MX6: sabresd: Cleanup board code Jagan Teki
2017-05-11 17:32   ` Fabio Estevam
2017-05-04 15:11 ` [U-Boot] [PATCH v5 33/33] imx6sabresd: README: Update with dtb changes Jagan Teki
2017-05-04 22:10 ` [U-Boot] [PATCH v5 00/33] ARM: i.MX6: SabreSD: Add dts support Fabio Estevam
2017-05-11 17:12   ` Fabio Estevam
2017-05-12 23:09 ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493910702-6751-9-git-send-email-jagan@openedev.com \
    --to=jagan@openedev.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox