All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] ARM: dts: at91: Add dts files for at91sam9x5ek
Date: Sun, 16 Apr 2017 13:30:35 -0600	[thread overview]
Message-ID: <CAPnjgZ0UMzFBbMtRfhaZu8BkCJnNKepuTwBmR4o5r+2xY0d9gg@mail.gmail.com> (raw)
In-Reply-To: <20170412081203.12303-2-wenyou.yang@atmel.com>

On 12 April 2017 at 02:11, Wenyou Yang <wenyou.yang@atmel.com> wrote:
> The device tree source files of at91sam9x5ek board are copied from
> the Linux v4.10, do the changes below.
>  - Add the reg property for the pinctrl node.
>  - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's
>    slibling nodes, instead of the child nodes.
>  - Add the "u-boot,dm-pre-reloc" property to determine which nodes
>    are used by the board_init_f stage.
>  - Change the compatible of the spi flash to "spi-flash".
>  - Add the spi0 aliases.
>  - Fix the compilation warnings.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> ---
>
>  arch/arm/dts/Makefile               |    7 +
>  arch/arm/dts/at91sam9g15.dtsi       |   29 +
>  arch/arm/dts/at91sam9g15ek.dts      |   26 +
>  arch/arm/dts/at91sam9g25.dtsi       |   31 +
>  arch/arm/dts/at91sam9g25ek.dts      |   69 ++
>  arch/arm/dts/at91sam9g35.dtsi       |   30 +
>  arch/arm/dts/at91sam9g35ek.dts      |   31 +
>  arch/arm/dts/at91sam9x25.dtsi       |   32 +
>  arch/arm/dts/at91sam9x25ek.dts      |   30 +
>  arch/arm/dts/at91sam9x35.dtsi       |   31 +
>  arch/arm/dts/at91sam9x35ek.dts      |   30 +
>  arch/arm/dts/at91sam9x5.dtsi        | 1302 +++++++++++++++++++++++++++++++++++
>  arch/arm/dts/at91sam9x5_can.dtsi    |   71 ++
>  arch/arm/dts/at91sam9x5_isi.dtsi    |   72 ++
>  arch/arm/dts/at91sam9x5_lcd.dtsi    |  146 ++++
>  arch/arm/dts/at91sam9x5_macb0.dtsi  |   67 ++
>  arch/arm/dts/at91sam9x5_macb1.dtsi  |   55 ++
>  arch/arm/dts/at91sam9x5_usart3.dtsi |   69 ++
>  arch/arm/dts/at91sam9x5cm.dtsi      |  100 +++
>  arch/arm/dts/at91sam9x5dm.dtsi      |   66 ++
>  arch/arm/dts/at91sam9x5ek.dtsi      |  167 +++++
>  21 files changed, 2461 insertions(+)
>  create mode 100644 arch/arm/dts/at91sam9g15.dtsi
>  create mode 100644 arch/arm/dts/at91sam9g15ek.dts
>  create mode 100644 arch/arm/dts/at91sam9g25.dtsi
>  create mode 100644 arch/arm/dts/at91sam9g25ek.dts
>  create mode 100644 arch/arm/dts/at91sam9g35.dtsi
>  create mode 100644 arch/arm/dts/at91sam9g35ek.dts
>  create mode 100644 arch/arm/dts/at91sam9x25.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x25ek.dts
>  create mode 100644 arch/arm/dts/at91sam9x35.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x35ek.dts
>  create mode 100644 arch/arm/dts/at91sam9x5.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_can.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_isi.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_lcd.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_macb0.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_macb1.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5_usart3.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5cm.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5dm.dtsi
>  create mode 100644 arch/arm/dts/at91sam9x5ek.dtsi

Reviewed-by: Simon Glass <sjg@chromium.org>

BTW it is possible now to put the U-Boot-specific changes that you
can't get upstream in a separate file with a -u-boot.dtsi suffix. See
'Automatic .dtsi inclusion' in the binman README.

Also with your move of the pio nodes to be siblings, you should be
able to make the GPIO a child of the pinctrl driver by having
something like:

        .post_bind      = dm_scan_fdt_dev,

in your pinctrl driver.

- Simon

  reply	other threads:[~2017-04-16 19:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12  8:11 [U-Boot] [PATCH 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards Wenyou Yang
2017-04-12  8:11 ` [U-Boot] [PATCH 1/6] ARM: dts: at91: Add dts files for at91sam9x5ek Wenyou Yang
2017-04-16 19:30   ` Simon Glass [this message]
2017-04-12  8:11 ` [U-Boot] [PATCH 2/6] ARM: dts: at91: Add dts files for at91sam9n12ek Wenyou Yang
2017-04-16 19:30   ` Simon Glass
2017-04-12  8:12 ` [U-Boot] [PATCH 3/6] ARM: dts: at91: Add dts files for at91sam9m10g45ek Wenyou Yang
2017-04-16 19:30   ` Simon Glass
2017-04-12  8:12 ` [U-Boot] [PATCH 4/6] ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek Wenyou Yang
2017-04-16 19:30   ` Simon Glass
2017-04-12  8:12 ` [U-Boot] [PATCH 5/6] ARM: dts: at91: Add dts files for at91sam9rlek Wenyou Yang
2017-04-16 19:30   ` Simon Glass
2017-04-12  8:12 ` [U-Boot] [PATCH 6/6] ARM: dts: at91: Add dts files for at91sam9263ek Wenyou Yang
2017-04-16 19:30   ` Simon Glass

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=CAPnjgZ0UMzFBbMtRfhaZu8BkCJnNKepuTwBmR4o5r+2xY0d9gg@mail.gmail.com \
    --to=sjg@chromium.org \
    --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.