public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/11] imx: mx6ul: Add pins IOMUX head file
Date: Fri, 3 Jul 2015 15:38:10 +0200	[thread overview]
Message-ID: <201507031538.10116.marex@denx.de> (raw)
In-Reply-To: <20150703013108.GD12208@shlinux2>

On Friday, July 03, 2015 at 03:31:09 AM, Peng Fan wrote:
> Hi, Marek
> 
> On Thu, Jul 02, 2015 at 08:29:20PM +0200, Marek Vasut wrote:
> >On Thursday, July 02, 2015 at 01:02:59 PM, Peng Fan wrote:
> >> Add i.MX6UL pins IOMUX file which defines the IOMUX settings for choose.
> >> 
> >> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
> >> Signed-off-by: Ye.Li <B37916@freescale.com>
> >> ---
> >> 
> >>  arch/arm/include/asm/arch-mx6/mx6-pins.h   |    2 +
> >>  arch/arm/include/asm/arch-mx6/mx6ul_pins.h | 1065
> >> 
> >> ++++++++++++++++++++++++++++ 2 files changed, 1067 insertions(+)
> >> 
> >>  create mode 100644 arch/arm/include/asm/arch-mx6/mx6ul_pins.h
> >> 
> >> diff --git a/arch/arm/include/asm/arch-mx6/mx6-pins.h
> >> b/arch/arm/include/asm/arch-mx6/mx6-pins.h index 534f780..4b6bb18 100644
> >> --- a/arch/arm/include/asm/arch-mx6/mx6-pins.h
> >> +++ b/arch/arm/include/asm/arch-mx6/mx6-pins.h
> >> @@ -37,6 +37,8 @@ enum {
> >> 
> >>  #include "mx6sl_pins.h"
> >>  #elif defined(CONFIG_MX6SX)
> >>  #include "mx6sx_pins.h"
> >> 
> >> +#elif defined(CONFIG_MX6UL)
> >> +#include "mx6ul_pins.h"
> >> 
> >>  #else
> >>  #error "Please select cpu"
> >>  #endif	/* CONFIG_MX6Q */
> >
> >Would it be possible to build a single image for an entire MX6 lineup
> >of CPUs ? I think it is now possible to build a single image for MX6
> >Quad/Dual/DualLite/Solo ... do SX and UL integrate well into this too?
> >Seeing this patch, I don't think so ...
> 
> A single image you mean like linux kernel, one image cover all the
> arch/driver code, and using dts to cover board part?

Eventually yes, but this can be done without DT too.

> If so, agree to build a single image for i.MX6, but dtb is not added now.
> To kernel, pinmux header are used for dtb, but now we do need this file
> to set pinmux in uboot board file.

See arch/arm/include/asm/arch-mx6/mx6-pins.h and in particular CONFIG_MX6QDL
option. It allows defining pins for both MX6Q and DL (and solo), thus you can
build single image for a board which might use all three options. I think
it should be possible to add SX and UL into this mix too.

> SX and UL have different pinmux from others.

OK

> >> diff --git a/arch/arm/include/asm/arch-mx6/mx6ul_pins.h
> >> b/arch/arm/include/asm/arch-mx6/mx6ul_pins.h new file mode 100644
> >> index 0000000..c92b4f0
> >
> >How very different is this from Solo or SoloX ? Is the pinmux map
> >really that different that it needs a new file of it's own (I did
> >not check) ?
> 
> SX and UL have different pinmux map.

OK

Best regards,
Marek Vasut

  reply	other threads:[~2015-07-03 13:38 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 11:02 [U-Boot] [PATCH 00/11] imx: add i.MX6UL and basic board support Peng Fan
2015-07-02 11:02 ` [U-Boot] [PATCH 01/11] imx: mx6ul: Add i.MX6UL CPU type Peng Fan
2015-07-02 18:27   ` Marek Vasut
2015-07-03  1:17     ` Peng Fan
2015-07-03 13:33       ` Marek Vasut
2015-07-02 11:02 ` [U-Boot] [PATCH 02/11] imx: mx6ul: Add pins IOMUX head file Peng Fan
2015-07-02 18:29   ` Marek Vasut
2015-07-03  1:31     ` Peng Fan
2015-07-03 13:38       ` Marek Vasut [this message]
2015-07-02 11:03 ` [U-Boot] [PATCH 03/11] imx: mx6ul: Update imx registers " Peng Fan
2015-07-02 18:30   ` Marek Vasut
2015-07-02 23:55     ` Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 04/11] imx-common: add syscounter driver Peng Fan
2015-07-02 18:31   ` Marek Vasut
2015-07-03  1:09     ` Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 05/11] imx: mx6ul remove errata for i.MX6UL and use syscounter Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 06/11] imx:mx6ul add clock support Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 07/11] imx: mx6ul update soc related settings Peng Fan
2015-07-02 14:12   ` Fabio Estevam
2015-07-02 18:33   ` Marek Vasut
2015-07-03  1:36     ` Peng Fan
2015-07-03 13:39       ` Marek Vasut
2015-07-02 11:03 ` [U-Boot] [PATCH 08/11] imx: mx6 add PAD_CTL_SPEED_LOW for i.MX6SX/UL Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 09/11] mxc: gpio add i.MX6UL support Peng Fan
2015-07-02 11:03 ` [U-Boot] [PATCH 10/11] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for i.MX6UL Peng Fan
2015-07-02 18:35   ` Marek Vasut
2015-07-02 11:03 ` [U-Boot] [PATCH 11/11] imx: mx6ul_14x14_evk add basic board support Peng Fan
2015-07-02 14:15   ` Fabio Estevam
2015-07-03  1:37     ` Peng Fan
2015-07-02 18:37   ` Marek Vasut

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=201507031538.10116.marex@denx.de \
    --to=marex@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