public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/14] dm: arm: zynq: Convert serial driver to driver model
Date: Fri, 30 Oct 2015 14:29:52 +0100	[thread overview]
Message-ID: <563370D0.2010002@monstr.eu> (raw)
In-Reply-To: <1445132487-13172-1-git-send-email-sjg@chromium.org>

On 10/18/2015 03:41 AM, Simon Glass wrote:
> This series updates the Zynq serial driver to use driver model. Along the
> way several problems are fixed:
> 
> - Support for /chosen/stdout-path using an alias
> - Fix to fdtgrep which is currently breaking alias building
> - Avoid building u-boot-spl-dtb.bin when it is not requested
> - Deal with boards which have BSS in SDRAM
> 
> For zynq this series makes a few changes:
> - Use the new SPL init procedure, which just involves a few tweaks for zynq
> - Add debug UART support
> - Move to using a separate device tree instead of embedded
> 
> Only zybo has been tested. Testing on other zynq boards is welcome. They are
> all set up roughly the same so I expect only minor problems.
> 
> This serial includes Michal's zynqmp device tree patch.
> 
> Changes in v2:
> - Extend list of compatible strings with cadence compatible string.
> 
> Michal Simek (1):
>   ARM: zynqmp: Enable DM and OF binding
> 
> Simon Glass (13):
>   fdt: Add a function to look up a /chosen property
>   fdt: Correct handling of alias regions
>   fdtgrep: Simplify the alias generation code
>   dm: serial: Deal with stdout-path with an alias
>   dm: spl: Generate u-boot-spl-dtb.bin only when enabled
>   dm: spl: Support device tree when BSS is in a different section
>   arm: zynq: Use separate device tree instead of embedded
>   arm: zynq: Drop unnecessary code in SPL board_init_f()
>   arm: zynq: Support the debug UART
>   dm: arm: zynq: Enable device tree control in SPL
>   arm: zynq: dts: Add U-Boot device tree additions
>   arm: zynq: serial: Drop non-device-tree serial driver portions
>   arm: zynq: Move serial driver to driver model
> 
>  Kconfig                            |  10 +
>  arch/arm/Kconfig                   |   7 +
>  arch/arm/dts/Makefile              |   2 +-
>  arch/arm/dts/zynq-7000.dtsi        |   1 +
>  arch/arm/dts/zynq-microzed.dts     |   5 +
>  arch/arm/dts/zynq-picozed.dts      |   5 +
>  arch/arm/dts/zynq-zc702.dts        |   1 +
>  arch/arm/dts/zynq-zc706.dts        |   1 +
>  arch/arm/dts/zynq-zc770-xm010.dts  |   1 +
>  arch/arm/dts/zynq-zc770-xm011.dts  |   1 +
>  arch/arm/dts/zynq-zc770-xm012.dts  |   1 +
>  arch/arm/dts/zynq-zc770-xm013.dts  |   1 +
>  arch/arm/dts/zynq-zed.dts          |   1 +
>  arch/arm/dts/zynq-zybo.dts         |   1 +
>  arch/arm/dts/zynqmp-ep108.dts      | 164 ++++++++++++++++
>  arch/arm/dts/zynqmp.dtsi           | 385 +++++++++++++++++++++++++++++++++++++
>  arch/arm/mach-zynq/spl.c           |  12 +-
>  arch/arm/mach-zynq/u-boot-spl.lds  |  10 +-
>  configs/xilinx_zynqmp_ep_defconfig |   3 +-
>  configs/zynq_microzed_defconfig    |   2 +-
>  configs/zynq_picozed_defconfig     |   2 +-
>  configs/zynq_zc702_defconfig       |   2 +-
>  configs/zynq_zc706_defconfig       |   2 +-
>  configs/zynq_zc70x_defconfig       |   2 +-
>  configs/zynq_zc770_xm010_defconfig |   2 +-
>  configs/zynq_zc770_xm011_defconfig |   2 +-
>  configs/zynq_zc770_xm012_defconfig |   2 +-
>  configs/zynq_zc770_xm013_defconfig |   2 +-
>  configs/zynq_zed_defconfig         |   2 +-
>  configs/zynq_zybo_defconfig        |   6 +-
>  drivers/serial/Kconfig             |   7 +
>  drivers/serial/serial-uclass.c     |  30 ++-
>  drivers/serial/serial_zynq.c       | 203 ++++++++++---------
>  include/asm-generic/sections.h     |   1 +
>  include/configs/xilinx_zynqmp.h    |   4 +-
>  include/configs/xilinx_zynqmp_ep.h |   1 -
>  include/configs/zynq-common.h      |   6 +-
>  include/configs/zynq_microzed.h    |   1 -
>  include/configs/zynq_picozed.h     |   1 -
>  include/configs/zynq_zc70x.h       |   1 -
>  include/configs/zynq_zc770.h       |   6 -
>  include/configs/zynq_zed.h         |   1 -
>  include/configs/zynq_zybo.h        |   1 -
>  include/fdtdec.h                   |  11 +-
>  lib/fdtdec.c                       |  22 ++-
>  lib/libfdt/fdt_region.c            |   2 +-
>  scripts/Makefile.spl               |   2 +
>  tools/fdtgrep.c                    |  32 +--
>  48 files changed, 796 insertions(+), 174 deletions(-)
>  create mode 100644 arch/arm/dts/zynqmp-ep108.dts
>  create mode 100644 arch/arm/dts/zynqmp.dtsi
> 

Applied all.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151030/4bb2a2af/attachment.sig>

      parent reply	other threads:[~2015-10-30 13:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18  1:41 [U-Boot] [PATCH v2 00/14] dm: arm: zynq: Convert serial driver to driver model Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 01/14] fdt: Add a function to look up a /chosen property Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 02/14] fdt: Correct handling of alias regions Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 03/14] fdtgrep: Simplify the alias generation code Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 04/14] dm: serial: Deal with stdout-path with an alias Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 05/14] dm: spl: Generate u-boot-spl-dtb.bin only when enabled Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 06/14] dm: spl: Support device tree when BSS is in a different section Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 07/14] arm: zynq: Use separate device tree instead of embedded Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 08/14] arm: zynq: Drop unnecessary code in SPL board_init_f() Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 09/14] arm: zynq: Support the debug UART Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 10/14] dm: arm: zynq: Enable device tree control in SPL Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 11/14] arm: zynq: dts: Add U-Boot device tree additions Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 12/14] ARM: zynqmp: Enable DM and OF binding Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 13/14] arm: zynq: serial: Drop non-device-tree serial driver portions Simon Glass
2015-10-18  1:41 ` [U-Boot] [PATCH v2 14/14] arm: zynq: Move serial driver to driver model Simon Glass
2015-10-27 15:26 ` [U-Boot] [PATCH v2 00/14] dm: arm: zynq: Convert " Michal Simek
2015-10-27 17:37   ` Simon Glass
2015-10-30 13:29 ` Michal Simek [this message]

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=563370D0.2010002@monstr.eu \
    --to=monstr@monstr.eu \
    --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