All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] ARM: imx: udoo: Enable OF_CONTROL and DM gpio/pin control
Date: Fri,  2 Apr 2021 17:52:48 +0100	[thread overview]
Message-ID: <20210402165251.1018596-2-pbrobinson@gmail.com> (raw)
In-Reply-To: <20210402165251.1018596-1-pbrobinson@gmail.com>

Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6 based Udoo boards.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 configs/udoo_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
index f72b9645da..bcc88356ce 100644
--- a/configs/udoo_defconfig
+++ b/configs/udoo_defconfig
@@ -5,10 +5,13 @@ CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
+CONFIG_DEFAULT_DEVICE_TREE="imx6q-udoo"
+CONFIG_OF_LIST="imx6q-udoo imx6dl-udoo"
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0x60000
 CONFIG_MX6QDL=y
 CONFIG_TARGET_UDOO=y
+CONFIG_OF_CONTROL=y
 CONFIG_SPL_TEXT_BASE=0x00908000
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
@@ -24,6 +27,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MMC=y
+# CONFIG_CMD_PINMUX is not set
 CONFIG_CMD_SATA=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -32,9 +36,12 @@ CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_DM=y
+CONFIG_DM_GPIO=y
 CONFIG_BOUNCE_BUFFER=y
 CONFIG_DWC_AHSATA=y
 CONFIG_FSL_USDHC=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_IMX6=y
 CONFIG_MTD=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_MICREL=y
-- 
2.31.1

  reply	other threads:[~2021-04-02 16:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02 16:52 [PATCH 1/5] ARM: board: udoo: Import UDOO dts files Peter Robinson
2021-04-02 16:52 ` Peter Robinson [this message]
2021-04-08 20:59   ` [PATCH 2/5] ARM: imx: udoo: Enable OF_CONTROL and DM gpio/pin control sbabic at denx.de
2021-04-02 16:52 ` [PATCH 3/5] ARM: imx: udoo: drop MTD config Peter Robinson
2021-04-08 20:57   ` sbabic at denx.de
2021-04-02 16:52 ` [PATCH 4/5] ARM: imx: udoo: Convert block devices to DM Peter Robinson
2021-04-08 20:58   ` sbabic at denx.de
2021-04-02 16:52 ` [PATCH 5/5] ARM: imx: udoo: convert to DM_ETH Peter Robinson
2021-04-08 20:57   ` sbabic at denx.de
2021-04-03 14:13 ` [PATCH 1/5] ARM: board: udoo: Import UDOO dts files Fabio Estevam
2021-04-08 20:59 ` sbabic at denx.de

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=20210402165251.1018596-2-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.