mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH v5 00/17] barebox deep probe support
Date: Thu,  6 May 2021 11:28:44 +0200
Message-ID: <20210506092901.25461-1-s.hauer@pengutronix.de> (raw)

Another round to address the last review feedback

Changes since v4:
  - Pass of_device_id array to BAREBOX_DEEP_PROBE_ENABLE()
  - convert dev_warn to dev_err

Changes since v3:
  - Add deep-probe support for pinctrl
  - Port over Phytec Physom to deep-probe
  - Make sure console is probed ealier at postconsole_initcall time
  - Let of_devices_ensure_probed_by_dev_id() probe all matching devices, not
    only the first one
  - add GPIO support to the base deep probe patch

Lucas Stach (1):
  of: base: move memory init from DT to initcall

Marco Felsch (9):
  imx53: remove unused imx53_add_nand
  of: platform: remove check of already added devices
  of: platform: Keep track of populated platform devices
  of: base: move clock init from of_probe() to barebox_register_of()
  initcall: add of_populate_initcall
  common: add initial barebox deep-probe support
  ARM: i.MX: esdctl: add deep-probe support
  ARM: stm32mp: ddrctrl: add deep-probe support
  ARM: boards: mx6-sabrelite: add deep-probe support

Sascha Hauer (7):
  of: Set of_chosen and of_model earlier
  of: implement of_get_stdoutpath()
  pinctrl: Find controller node first
  common: Explicitly probe consoles earlier with deep probe
  pinctrl: Add deep probe support
  ARM: i.MX Phytec physom: convert to board driver
  ARM: i.MX Phytec physom: Add deep-probe support

 .../boards/freescale-mx6-sabrelite/board.c    |  58 +++--
 arch/arm/boards/phytec-som-imx6/board.c       | 159 +++++++++---
 arch/arm/mach-imx/esdctl.c                    |  12 +-
 .../arm/mach-imx/include/mach/devices-imx53.h |  27 --
 arch/arm/mach-stm32mp/ddrctrl.c               |  12 +-
 common/Makefile                               |   1 +
 common/deep-probe.c                           |  39 +++
 drivers/base/driver.c                         |  11 +-
 drivers/clk/clk.c                             |   5 +
 drivers/i2c/i2c.c                             |   8 +
 drivers/of/base.c                             |  61 +++--
 drivers/of/of_gpio.c                          |   4 +
 drivers/of/platform.c                         | 230 +++++++++++++++---
 drivers/pinctrl/pinctrl.c                     |  16 +-
 drivers/regulator/core.c                      |   6 +
 drivers/reset/core.c                          |   4 +
 drivers/spi/spi.c                             |   2 +
 include/asm-generic/barebox.lds.h             |  11 +-
 include/deep-probe.h                          |  26 ++
 include/init.h                                |  10 +-
 include/of.h                                  |  33 +++
 21 files changed, 587 insertions(+), 148 deletions(-)
 create mode 100644 common/deep-probe.c
 create mode 100644 include/deep-probe.h

-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


             reply	other threads:[~2021-05-06  9:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06  9:28 Sascha Hauer [this message]
2021-05-06  9:28 ` [PATCH 01/17] imx53: remove unused imx53_add_nand Sascha Hauer
2021-05-06  9:28 ` [PATCH 02/17] of: platform: remove check of already added devices Sascha Hauer
2021-05-06  9:28 ` [PATCH 03/17] of: platform: Keep track of populated platform devices Sascha Hauer
2021-05-06  9:28 ` [PATCH 04/17] of: base: move memory init from DT to initcall Sascha Hauer
2021-05-06  9:28 ` [PATCH 05/17] of: base: move clock init from of_probe() to barebox_register_of() Sascha Hauer
2021-05-06  9:28 ` [PATCH 06/17] of: Set of_chosen and of_model earlier Sascha Hauer
2021-05-06  9:28 ` [PATCH 07/17] of: implement of_get_stdoutpath() Sascha Hauer
2021-05-06  9:28 ` [PATCH 08/17] initcall: add of_populate_initcall Sascha Hauer
2021-05-06  9:28 ` [PATCH 09/17] common: add initial barebox deep-probe support Sascha Hauer
2021-05-06  9:28 ` [PATCH 10/17] pinctrl: Find controller node first Sascha Hauer
2021-05-06  9:28 ` [PATCH 11/17] common: Explicitly probe consoles earlier with deep probe Sascha Hauer
2021-05-06  9:28 ` [PATCH 12/17] pinctrl: Add deep probe support Sascha Hauer
2021-05-06  9:28 ` [PATCH 13/17] ARM: i.MX: esdctl: add deep-probe support Sascha Hauer
2021-05-06  9:28 ` [PATCH 14/17] ARM: stm32mp: ddrctrl: " Sascha Hauer
2021-05-06  9:28 ` [PATCH 15/17] ARM: boards: mx6-sabrelite: " Sascha Hauer
2021-05-06  9:29 ` [PATCH 16/17] ARM: i.MX Phytec physom: convert to board driver Sascha Hauer
2021-05-06  9:29 ` [PATCH 17/17] ARM: i.MX Phytec physom: Add deep-probe support Sascha Hauer

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=20210506092901.25461-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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

mail archive of the barebox mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \
		barebox@lists.infradead.org
	public-inbox-index barebox

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git