From: Sascha Hauer <s.hauer@pengutronix.de> To: Barebox List <barebox@lists.infradead.org> Subject: [PATCH v6 00/19] barebox deep probe support Date: Fri, 25 Jun 2021 09:25:21 +0200 [thread overview] Message-ID: <20210625072540.32717-1-s.hauer@pengutronix.de> (raw) 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2021-06-25 7:45 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-25 7:25 Sascha Hauer [this message] 2021-06-25 7:25 ` [PATCH 01/19] imx53: remove unused imx53_add_nand Sascha Hauer 2021-06-25 7:25 ` [PATCH 02/19] of: platform: remove check of already added devices Sascha Hauer 2021-06-25 7:25 ` [PATCH 03/19] of: platform: Keep track of populated platform devices Sascha Hauer 2021-06-25 7:25 ` [PATCH 04/19] of: base: move memory init from DT to initcall Sascha Hauer 2021-06-25 7:25 ` [PATCH 05/19] of: base: move clock init from of_probe() to barebox_register_of() Sascha Hauer 2021-06-25 7:25 ` [PATCH 06/19] of: Set of_chosen and of_model earlier Sascha Hauer 2021-06-25 7:25 ` [PATCH 07/19] of: implement of_get_stdoutpath() Sascha Hauer 2021-06-25 7:25 ` [PATCH 08/19] initcall: add of_populate_initcall Sascha Hauer 2021-06-25 7:25 ` [PATCH 09/19] common: add initial barebox deep-probe support Sascha Hauer 2021-06-25 7:25 ` [PATCH 10/19] pinctrl: Find controller node first Sascha Hauer 2021-06-25 7:25 ` [PATCH 11/19] common: Explicitly probe consoles earlier with deep probe Sascha Hauer 2021-06-25 7:25 ` [PATCH 12/19] pinctrl: Add deep probe support Sascha Hauer 2021-06-25 7:25 ` [PATCH 13/19] phy: " Sascha Hauer 2021-06-25 7:25 ` [PATCH 14/19] ARM: i.MX: esdctl: add deep-probe support Sascha Hauer 2021-06-25 7:25 ` [PATCH 15/19] ARM: stm32mp: ddrctrl: " Sascha Hauer 2021-06-25 7:25 ` [PATCH 16/19] ARM: boards: mx6-sabrelite: " Sascha Hauer 2021-06-25 7:25 ` [PATCH 17/19] ARM: i.MX Phytec physom: convert to board driver Sascha Hauer 2021-06-25 7:25 ` [PATCH 18/19] ARM: i.MX Phytec physom: Add deep-probe support Sascha Hauer 2021-06-25 7:25 ` [PATCH 19/19] of: Add dummy driver 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=20210625072540.32717-1-s.hauer@pengutronix.de \ --to=s.hauer@pengutronix.de \ --cc=barebox@lists.infradead.org \ --subject='Re: [PATCH v6 00/19] barebox deep probe support' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox