public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: mingming lee <mingming.lee@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 3/5] configs: mt8512: Enable I2C related configs
Date: Fri, 16 Oct 2020 11:27:13 +0800	[thread overview]
Message-ID: <1602818835-19149-4-git-send-email-mingming.lee@mediatek.com> (raw)
In-Reply-To: <1602818835-19149-1-git-send-email-mingming.lee@mediatek.com>

From: Mingming Lee <Mingming.Lee@mediatek.com>

Enable MTK I2C
Enable I2C basic command

Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mingming Lee <Mingming.Lee@mediatek.com>
---
Changes for v3:
   - fixed the config order
   - add Reviewed-by info
---
 configs/mt8512_bm1_emmc_defconfig | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configs/mt8512_bm1_emmc_defconfig b/configs/mt8512_bm1_emmc_defconfig
index 10a2083..a509cfe 100644
--- a/configs/mt8512_bm1_emmc_defconfig
+++ b/configs/mt8512_bm1_emmc_defconfig
@@ -3,21 +3,24 @@ CONFIG_POSITION_INDEPENDENT=y
 CONFIG_ARCH_MEDIATEK=y
 CONFIG_SYS_TEXT_BASE=0x44e00000
 CONFIG_SYS_MALLOC_F_LEN=0x4000
+CONFIG_NR_DRAM_BANKS=1
 CONFIG_ENV_SIZE=0x1000
 CONFIG_DM_GPIO=y
 CONFIG_TARGET_MT8512=y
-CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_DEVICE_TREE="mt8512-bm1-emmc"
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_DEFAULT_FDT_FILE="mt8512-bm1-emmc.dtb"
 CONFIG_SYS_PROMPT="MT8512> "
 CONFIG_CMD_BOOTMENU=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_MTK=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_HS200_SUPPORT=y
 CONFIG_MMC_MTK=y
@@ -33,3 +36,6 @@ CONFIG_MTK_TIMER=y
 CONFIG_WDT=y
 CONFIG_WDT_MTK=y
 CONFIG_LZO=y
+CONFIG_CMD_I2C=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_MTK=y
-- 
1.8.1.1.dirty

  parent reply	other threads:[~2020-10-16  3:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16  3:27 [PATCH v3 0/5] Add i2c support for MediaTek mt8512 mingming lee
2020-10-16  3:27 ` [PATCH v3 1/5] i2c: mediatek: add basic driver support mingming lee
2020-10-26 19:22   ` Simon Glass
2020-11-23 11:04   ` Heiko Schocher
2020-10-16  3:27 ` [PATCH v3 2/5] ARM: dts: Mediatek: add i2c node support for mt8512 mingming lee
2020-10-16  3:27 ` mingming lee [this message]
2020-10-16  3:27 ` [PATCH v3 4/5] dt-binding: i2c: add bindings for mediatek i2c driver mingming lee
2020-10-16  3:27 ` [PATCH v3 5/5] MAINTAINERS: add i2c driver to ARM MEDIATEK mingming lee

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=1602818835-19149-4-git-send-email-mingming.lee@mediatek.com \
    --to=mingming.lee@mediatek.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