U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2
@ 2025-04-09 17:17 Caleb Connolly
  2025-04-09 17:17 ` [PATCH 1/6] event: signal when livetree has been built Caleb Connolly
                   ` (7 more replies)
  0 siblings, 8 replies; 30+ messages in thread
From: Caleb Connolly @ 2025-04-09 17:17 UTC (permalink / raw)
  To: Simon Glass, Tom Rini, Caleb Connolly, Neil Armstrong, Sumit Garg,
	Lukasz Majewski, Sean Anderson
  Cc: u-boot, u-boot-qcom

Introduce a new event to signal that the live tree has been built,
allowing boards to perform fixups on the tree before devices are bound.
Crucially this allows for devices to be enabled or disabled, but also
allows for properties that are parsed during the bind stage to be
modified (such as dr_mode for dwc3).

With this in place, mach-snapdragon is switched over to use the event
and some hacky U-Boot specific DT overrides (which had to be undone
prior to booting an image) are removed in favour of fixing up the
livetree (which is not passed on to further boot stages).

Finally, some minor fixes are made for the QCM2290 RB1 board, the sdcard
is enabled and it now uses USB host mode in U-Boot like it's bigger
sibling the RB2.

---
Caleb Connolly (6):
      event: signal when livetree has been built
      mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups
      mach-snapdragon: of_fixup: skip disabled USB nodes
      clk/qcom: qcm2290: show clock name in set_rate()
      mach-snapdragon: of_fixup: set dr_mode for RB1/2 boards
      pinctrl: qcom: qcm2290: fix off by 1 in pin_count

 arch/arm/dts/qrb4210-rb2-u-boot.dtsi   |  6 -----
 arch/arm/mach-snapdragon/board.c       |  1 -
 arch/arm/mach-snapdragon/of_fixup.c    | 41 ++++++++++++++++++++--------------
 arch/arm/mach-snapdragon/qcom-priv.h   | 14 ------------
 common/event.c                         |  3 +++
 drivers/clk/qcom/clock-qcm2290.c       |  2 +-
 drivers/pinctrl/qcom/pinctrl-qcm2290.c |  2 +-
 include/event.h                        |  9 ++++++++
 lib/of_live.c                          |  3 +++
 9 files changed, 41 insertions(+), 40 deletions(-)
---
base-commit: e4ffc6a323586d700d88c73c319c25c740aedb49
change-id: 20250409-livetree-fixup-0d7451cc3af3

Caleb Connolly <caleb.connolly@linaro.org>


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2025-04-11 18:31 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 17:17 [PATCH 0/6] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2 Caleb Connolly
2025-04-09 17:17 ` [PATCH 1/6] event: signal when livetree has been built Caleb Connolly
2025-04-10  8:44   ` Sumit Garg
2025-04-10  8:54   ` Neil Armstrong
2025-04-10 11:27   ` Simon Glass
2025-04-10 13:00     ` Caleb Connolly
2025-04-10 13:07       ` Simon Glass
2025-04-10 14:04         ` Caleb Connolly
2025-04-10 14:15           ` Simon Glass
2025-04-10 15:41             ` Caleb Connolly
2025-04-10 21:25               ` Simon Glass
2025-04-11 11:52                 ` Caleb Connolly
2025-04-11 18:30                   ` Simon Glass
2025-04-09 17:17 ` [PATCH 2/6] mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups Caleb Connolly
2025-04-10  8:50   ` Sumit Garg
2025-04-10  8:54   ` Neil Armstrong
2025-04-09 17:17 ` [PATCH 3/6] mach-snapdragon: of_fixup: skip disabled USB nodes Caleb Connolly
2025-04-10  7:45   ` Neil Armstrong
2025-04-10  8:51   ` Sumit Garg
2025-04-09 17:17 ` [PATCH 4/6] clk/qcom: qcm2290: show clock name in set_rate() Caleb Connolly
2025-04-10  7:45   ` Neil Armstrong
2025-04-10  8:51   ` Sumit Garg
2025-04-09 17:17 ` [PATCH 5/6] mach-snapdragon: of_fixup: set dr_mode for RB1/2 boards Caleb Connolly
2025-04-10  7:46   ` Neil Armstrong
2025-04-10  9:04   ` Sumit Garg
2025-04-09 17:17 ` [PATCH 6/6] pinctrl: qcom: qcm2290: fix off by 1 in pin_count Caleb Connolly
2025-04-10  7:46   ` Neil Armstrong
2025-04-10  9:05   ` Sumit Garg
2025-04-10  8:41 ` [PATCH 0/6] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2 Sumit Garg
2025-04-10  9:54 ` Caleb Connolly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox