All of lore.kernel.org
 help / color / mirror / Atom feed
From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot]  [PATCH 2/3] ARM: imx6q_logic:  Enable Pin muxing in SPL
Date: Mon, 14 Oct 2019 12:40:39 +0000 (UTC)	[thread overview]
Message-ID: <20191014124310.CE535C21C51@lists.denx.de> (raw)
In-Reply-To: <20191009175357.27445-2-aford173@gmail.com>

> With the 256KB of OCRAM available to SPL now, there should be
> enough room to enable the pinmuxing in SPL from the device tree.
> This patch enables SPL_PINCTRL et al and adds the serial and
> usdhc pin mux references to the -u-boot.dtsi file so the pins can be
> configured from the device tree.
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
> diff --git a/arch/arm/dts/imx6q-logicpd-u-boot.dtsi b/arch/arm/dts/imx6q-logicpd-u-boot.dtsi
> index 625bed8f7d..ee44ed91fe 100644
> --- a/arch/arm/dts/imx6q-logicpd-u-boot.dtsi
> +++ b/arch/arm/dts/imx6q-logicpd-u-boot.dtsi
> @@ -16,3 +16,15 @@
>  &usdhc2 {
>  	u-boot,dm-spl;
>  };
> +
> +&pinctrl_uart1 {
> +	u-boot,dm-spl;
> +};
> +
> +&pinctrl_usdhc1 {
> +	u-boot,dm-spl;
> +};
> +
> +&pinctrl_usdhc2 {
> +	u-boot,dm-spl;
> +};
> diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig
> index a9e8cbea94..c120cb2f54 100644
> --- a/configs/imx6q_logic_defconfig
> +++ b/configs/imx6q_logic_defconfig
> @@ -78,6 +78,7 @@ CONFIG_PHY_ATHEROS=y
>  CONFIG_FEC_MXC=y
>  CONFIG_MII=y
>  CONFIG_PINCTRL=y
> +CONFIG_SPL_PINCTRL=y
>  CONFIG_PINCTRL_IMX6=y
>  CONFIG_DM_PMIC_PFUZE100=y
>  CONFIG_DM_REGULATOR=y

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  parent reply	other threads:[~2019-10-14 12:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 17:53 [U-Boot] [PATCH 1/3] ARM: imx6q_logic: Enable 256KB OCRAM Adam Ford
2019-10-09 17:53 ` [U-Boot] [PATCH 2/3] ARM: imx6q_logic: Enable Pin muxing in SPL Adam Ford
2019-10-09 18:08   ` Fabio Estevam
2019-10-10  8:24   ` Peng Fan
2019-10-14 12:40   ` sbabic at denx.de [this message]
2019-10-09 17:53 ` [U-Boot] [PATCH 3/3] ARM: imx6q_logic: Remove legacy pinmuxing code from board file Adam Ford
2019-10-09 18:08   ` Fabio Estevam
2019-10-14 12:40   ` sbabic at denx.de
2019-10-09 18:07 ` [U-Boot] [PATCH 1/3] ARM: imx6q_logic: Enable 256KB OCRAM Fabio Estevam
2019-10-14 12:40 ` 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=20191014124310.CE535C21C51@lists.denx.de \
    --to=sbabic@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 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.