From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx: Select the pinctrl drivers when DM is used
Date: Fri, 24 May 2019 15:02:22 +0200 [thread overview]
Message-ID: <20190524150222.4586ab06@jawa> (raw)
In-Reply-To: <20190524125053.32300-1-festevam@gmail.com>
On Fri, 24 May 2019 09:50:53 -0300
Fabio Estevam <festevam@gmail.com> wrote:
> When using device model it is required to select the pinctrl
> drivers so that the pins can be properly configured via
> devicetree.
>
> mx6sabreauto board is an example of a target that uses DM and does
> not select the pinctrl drivers.
>
> Instead of doing the pinctrl driver selection in each individual
> defconfig file, select it at SoC level when DM is used.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> arch/arm/Kconfig | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index efb9aab390..4c361c9a1d 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -787,6 +787,8 @@ config ARCH_MX31
> config ARCH_MX7ULP
> bool "NXP MX7ULP"
> select CPU_V7A
> + select PINCTRL if DM
> + select PINCTRL_IMX7ULP if DM
> select ROM_UNIFIED_SECTIONS
> imply MXC_GPIO
>
> @@ -795,6 +797,8 @@ config ARCH_MX7
> select ARCH_MISC_INIT
> select BOARD_EARLY_INIT_F
> select CPU_V7A
> + select PINCTRL if DM
> + select PINCTRL_IMX7 if DM
> select SYS_FSL_HAS_SEC if SECURE_BOOT
> select SYS_FSL_SEC_COMPAT_4
> select SYS_FSL_SEC_LE
> @@ -803,6 +807,8 @@ config ARCH_MX7
> config ARCH_MX6
> bool "Freescale MX6"
> select CPU_V7A
> + select PINCTRL if DM
> + select PINCTRL_IMX6 if DM
> select SYS_FSL_HAS_SEC if SECURE_BOOT
> select SYS_FSL_SEC_COMPAT_4
> select SYS_FSL_SEC_LE
> @@ -818,6 +824,8 @@ config ARCH_MX5
> bool "Freescale MX5"
> select BOARD_EARLY_INIT_F
> select CPU_V7A
> + select PINCTRL if DM
> + select PINCTRL_IMX5 if DM
> imply MXC_GPIO
>
> config ARCH_OWL
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190524/ec8328ab/attachment.sig>
next prev parent reply other threads:[~2019-05-24 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 12:50 [U-Boot] [PATCH] imx: Select the pinctrl drivers when DM is used Fabio Estevam
2019-05-24 13:02 ` Lukasz Majewski [this message]
2019-06-05 13:48 ` Lukasz Majewski
2019-06-04 20:08 ` Sjoerd Simons
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=20190524150222.4586ab06@jawa \
--to=lukma@denx.de \
--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