[PATCH v6 00/19] barebox deep probe support
Sascha Hauer
s.hauer at pengutronix.de
Fri Jun 25 00:25:21 PDT 2021
This is hopefully last round for this series. I made a few adjustments
needed to get my Rockchip RK3568-EVB board working. Now with a
non-trivial, non-i.MX board working I am confident that this series
works as expected.
Changes since v5:
- Add deep-probe support for phy
- debug print deep-probed devices in the order they are needed, not in the
order they are registered
- Add of dummy driver support to handle situations when a device node
doesn't have a driver (because the driver is attached to the parent node)
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 (9):
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
phy: Add deep probe support
ARM: i.MX Phytec physom: convert to board driver
ARM: i.MX Phytec physom: Add deep-probe support
of: Add dummy driver
.../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 | 60 +++--
drivers/of/of_gpio.c | 4 +
drivers/of/platform.c | 240 +++++++++++++++---
drivers/phy/phy-core.c | 4 +
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 | 38 +++
22 files changed, 605 insertions(+), 148 deletions(-)
create mode 100644 common/deep-probe.c
create mode 100644 include/deep-probe.h
--
2.29.2
More information about the barebox
mailing list