Re: [PATCH v2 1/8] event: signal when livetree has been built

2025-04-14 Thread Caleb Connolly
Hi Simon, On 4/11/25 20:27, Simon Glass wrote: Hi Caleb, On Fri, 11 Apr 2025 at 06:47, Caleb Connolly wrote: OF_LIVE offers a variety of benefits, one of them being that the live tree can be modified without caring about the underlying FDT. This is particularly valuable for working around U

[PATCH v2 1/4] mach-snapdragon: track boot source

2025-04-11 Thread Caleb Connolly
psule update logic which partition U-Boot is flashed to. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/board.c | 26 ++ arch/arm/mach-snapdragon/qcom-priv.h | 14 ++ 2 files changed, 40 insertions(+) diff --git a/arch/arm/mach-snapdragon/boar

[PATCH v2 3/4] dfu: scsi: don't call scsi_scan()

2025-04-11 Thread Caleb Connolly
Apalodimas Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- drivers/dfu/dfu_scsi.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/dfu/dfu_scsi.c b/drivers/dfu/dfu_scsi.c index 9f95194784c1de00458843276872b1d23d023444..a234548ae46dc2a6ae1ca5770accb58f43782239 100644 --- a

[PATCH v2 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-11 Thread Caleb Connolly
ff-by: Caleb Connolly --- arch/arm/mach-snapdragon/capsule_update.c | 274 -- 1 file changed, 223 insertions(+), 51 deletions(-) diff --git a/arch/arm/mach-snapdragon/capsule_update.c b/arch/arm/mach-snapdragon/capsule_update.c index bf75a9a1b24c714792bae3712b83b96353b

[PATCH v2 4/4] qcom_defconfig: enable capsule update support

2025-04-11 Thread Caleb Connolly
We can now correctly identify which partition U-Boot is flashed to between uefi, xbl, and boot (including A/B support) so enable capsule update support for all boards. Reviewed-by: Ilias Apalodimas Signed-off-by: Caleb Connolly --- configs/qcm6490_defconfig | 6 -- configs/qcom_defconfig

[PATCH v2 0/4] Qualcomm: expand capsule update support

2025-04-11 Thread Caleb Connolly
ernal storage (like an sdcard) during a capsule update. - Fix typo - Link to v1: https://lore.kernel.org/r/20250326-b4-qcom-capsule-update-improvements-v1-0-afe2e3696...@linaro.org --- Caleb Connolly (4): mach-snapdragon: track boot source mach-snapdragon: CapsuleUpdate: support all

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-11 Thread Caleb Connolly
Hi Neil, The logic is complex but looks to be good. What would happen if we plug an eMMC with conflicting partitions names ? That would cause issues... Probably the more correct way to do things here would be to use part UUIDs, but it's not clear how consistent those are. Is there a way

[PULL] Please pull qcom-for-2025.07

2025-04-11 Thread Caleb Connolly
- Qualcomm changes for v2025.07 Alexey Minnekhanov (2): phy: Add SDM660 support to Qualcomm QUSB2 phy drivers: pinctrl: Add Qualcomm SDM630/660 TLMM driver Caleb Connolly (15): qcom_defconfig: e

Re: [PATCH v4 0/6] Better smartphone support (Qualcomm)

2025-04-11 Thread Caleb Connolly
On Mon, 31 Mar 2025 14:23:17 +0200, Caleb Connolly wrote: > Improve support for running U-Boot on [Qualcomm] smartphones, with: > > * A boot menu which can be entered by holding volume down during boot > * Hang on panic (so errors can be read on the display) > * Serial gadg

Re: [PATCH v2] drivers: pinctrl: Add Qualcomm SDM630/660 TLMM driver

2025-04-11 Thread Caleb Connolly
are the same. Signed-off-by: Alexey Minnekhanov Reviewed-by: Caleb Connolly Thanks, this got merged in https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/b4420a0c9ed446a9dbb5439d543d7c74344a5099> --- v2: Fixed sdm660_get_function_mux() signature to return an int

Re: [PATCH v2 0/2] RB1 fixes

2025-04-11 Thread Caleb Connolly
2/2] phy: phy-qcom-qusb2: Fix USB PHY power on sequence https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/45acd9d2d4ec Best regards, -- Caleb Connolly

Re: [PATCH] mach-snapdragon: of_fixup: fix condition check in ft_board_setup()

2025-04-11 Thread Caleb Connolly
On Mon, 31 Mar 2025 12:43:18 +0200, Caleb Connolly wrote: > The fdt_node_check_compatible() function returns 0 on success which is > pretty confusing, and we were using it wrong! > > Invert the condition check and refactor things to be more readable. > > Additionally, add the

Re: [PATCH 0/2] gpio: msm: fix special pins handling

2025-04-11 Thread Caleb Connolly
dians/u-boot-snapdragon/-/commit/0708bdd34d4f [2/2] gpio: msm: return correct value return for special output pins https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/8803cd6dd782 Best regards, -- Caleb Connolly

[PATCH v2 7/8] clk/qcom: qcm2290: show clock name in set_rate()

2025-04-11 Thread Caleb Connolly
The device name is always clk_qcom... Not very useful. Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong Tested-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/clk/qcom/clock-qcm2290.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock

[PATCH v2 8/8] pinctrl: qcom: qcm2290: fix off by 1 in pin_count

2025-04-11 Thread Caleb Connolly
There are 134 pins not 133, oops! This fixes the sdcard on the RB1 as the pins now all get configured correctly. Fixes: 0ecb8cfcb930 ("pinctrl: qcom: add qcm2290 pinctrl driver") Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong Tested-by: Sumit Garg Signed-off-by: Cale

[PATCH v2 5/8] mach-snapdragon: of_fixup: update comment

2025-04-11 Thread Caleb Connolly
we don't rewrite the volume buttons any more. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-snapdragon/of_fixup.c b/arch/arm/mach-snapdragon/of_fixup.c

[PATCH v2 6/8] mach-snapdragon: of_fixup: set dr_mode for RB1/2 boards

2025-04-11 Thread Caleb Connolly
RB1 got left out. Now that we can fix up the live tree before devices are bound, drop the DTS hacks and do the fixup at runtime instead. Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong Tested-by: Sumit Garg Signed-off-by: Caleb Connolly --- arch/arm/dts/qrb4210-rb2-u-boot.dtsi | 6

[PATCH v2 4/8] mach-snapdragon: of_fixup: remove confusing log message

2025-04-11 Thread Caleb Connolly
The debug log here had the logic completely backwards, even though the code is actually correct. Remove it since it's extraneous anyway. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arc

[PATCH v2 3/8] mach-snapdragon: of_fixup: skip disabled USB nodes

2025-04-11 Thread Caleb Connolly
There's no need to waste time fixing up nodes that aren't used on this device. Skip them. Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong Tested-by: Sumit Garg Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 4 +++- 1 file changed, 3 insertions(+),

[PATCH v2 2/8] mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups

2025-04-11 Thread Caleb Connolly
This will now apply fixups prior to devices being bound, which makes it possible to enable/disable devices and adjust more properties that might be read before devices probe. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/board.c | 1 - arch/arm/mach-snapdragon/of_fixup.c | 25

[PATCH v2 0/8] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2

2025-04-11 Thread Caleb Connolly
otify() - Additional minor fixes to mach-snapdragon/of_fixup.c - Link to v1: https://lore.kernel.org/r/20250409-livetree-fixup-v1-0-76dfea80b...@linaro.org --- Caleb Connolly (8): event: signal when livetree has been built mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups

[PATCH v2 1/8] event: signal when livetree has been built

2025-04-11 Thread Caleb Connolly
sdcard being broken (and displaying potentially worrying error messages). Add an event to signal when the live tree has been built so that we can apply fixups to it directly before devices are bound. Signed-off-by: Caleb Connolly --- common/event.c | 3 +++ include/event.h | 18

Re: [PATCH 1/6] event: signal when livetree has been built

2025-04-11 Thread Caleb Connolly
On 4/10/25 23:25, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at 09:41, Caleb Connolly wrote: Hi Simon, On 4/10/25 16:15, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at 08:04, Caleb Connolly wrote: On 4/10/25 15:07, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at

Re: [PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support

2025-04-10 Thread Caleb Connolly
On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Currently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So disable HS200 mode support as of now as it requires bus speeds of 200MHz. This should fix eMMC issues reported o

Re: [PATCH 1/5] board: qualcomm: dragonboard820c: update readme

2025-04-10 Thread Caleb Connolly
odians/u-boot-snapdragon/-/commit/1a3a35c1fb35 [5/5] configs: dragonboard820: updates https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/e4ffc6a32358 Best regards, -- Caleb Connolly

Re: [PATCH v2 0/2] RB1 fixes

2025-04-10 Thread Caleb Connolly
2/2] phy: phy-qcom-qusb2: Fix USB PHY power on sequence https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/cd5799caf491 Best regards, -- Caleb Connolly

Re: [PATCH 1/6] event: signal when livetree has been built

2025-04-10 Thread Caleb Connolly
On 4/10/25 15:07, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at 07:00, Caleb Connolly wrote: Hi Simon, On 4/10/25 13:27, Simon Glass wrote: Hi Caleb, On Wed, 9 Apr 2025 at 11:17, Caleb Connolly wrote: OF_LIVE offers a variety of benefits, one of them being that the live tree

Re: [PATCH 1/6] event: signal when livetree has been built

2025-04-10 Thread Caleb Connolly
Hi Simon, On 4/10/25 16:15, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at 08:04, Caleb Connolly wrote: On 4/10/25 15:07, Simon Glass wrote: Hi Caleb, On Thu, 10 Apr 2025 at 07:00, Caleb Connolly wrote: Hi Simon, On 4/10/25 13:27, Simon Glass wrote: Hi Caleb, On Wed, 9 Apr

Re: [PATCH 1/6] event: signal when livetree has been built

2025-04-10 Thread Caleb Connolly
Hi Simon, On 4/10/25 13:27, Simon Glass wrote: Hi Caleb, On Wed, 9 Apr 2025 at 11:17, Caleb Connolly wrote: OF_LIVE offers a variety of benefits, one of them being that the live tree can be modified without caring about the underlying FDT. This is particularly valuable for working around U

Re: [PATCH 0/6] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2

2025-04-10 Thread Caleb Connolly
On Wed, 09 Apr 2025 19:17:23 +0200, Caleb Connolly wrote: > 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 fo

Re: [PATCH v2 2/2] phy: phy-qcom-qusb2: Fix USB PHY power on sequence

2025-04-10 Thread Caleb Connolly
tream Linux driver. Fixes: 475497dc3c15 ("phy: Add SDM660 support to Qualcomm QUSB2 phy") Signed-off-by: Sumit Garg Nice find! Thanks. Reviewed-by: Caleb Connolly > --- drivers/phy/qcom/phy-qcom-qusb2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/phy/qcom/p

[PATCH 3/6] mach-snapdragon: of_fixup: skip disabled USB nodes

2025-04-09 Thread Caleb Connolly
There's no need to waste time fixing up nodes that aren't used on this device. Skip them. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-snapdragon/of_fixup.c b/arch/arm/mach-snapdragon/of_fix

Re: [PATCH 0/6] usb: host: ehci-msm: Clean up and fix crashes

2025-04-09 Thread Caleb Connolly
a few months now. Signed-off-by: Stephan Gerhold Acked-by: Caleb Connolly I'd appreciate a T-b from Sam or some other MSM8916 device, but this all looks good to me! Kind regards,> --- Stephan Gerhold (6): usb: host: ehci-msm: Fix pointer check usb: host: echi-msm: D

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-09 Thread Caleb Connolly
On 4/9/25 14:35, Sumit Garg wrote: On Tue, Apr 08, 2025 at 04:43:49PM +0200, Caleb Connolly wrote: On 4/8/25 15:46, Sumit Garg wrote: On Tue, Apr 08, 2025 at 02:17:29PM +0200, Caleb Connolly wrote: On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Add U-Boot override for RB1 to

Re: [PATCH] hmibsc_defconfig: disable DM_USB_GADGET

2025-04-09 Thread Caleb Connolly
On Wed, 02 Apr 2025 16:28:03 +0200, Caleb Connolly wrote: > As with the db410c this breaks linking as it conflicts with the USB > controller used by these platforms. > > This fixes building after DM_USB_GADGET was enabled by default for > mach-snapdragon. > > > [...]

[PATCH 6/6] pinctrl: qcom: qcm2290: fix off by 1 in pin_count

2025-04-09 Thread Caleb Connolly
There are 134 pins not 133, oops! This fixes the sdcard on the RB1 as the pins now all get configured correctly. Fixes: 0ecb8cfcb930 ("pinctrl: qcom: add qcm2290 pinctrl driver") Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/pinctrl-qcm2290.c | 2 +- 1 file changed, 1 inser

[PATCH 5/6] mach-snapdragon: of_fixup: set dr_mode for RB1/2 boards

2025-04-09 Thread Caleb Connolly
RB1 got left out. Now that we can fix up the live tree before devices are bound, drop the DTS hacks and do the fixup at runtime instead. Signed-off-by: Caleb Connolly --- arch/arm/dts/qrb4210-rb2-u-boot.dtsi | 6 -- arch/arm/mach-snapdragon/of_fixup.c | 28 ++-- 2

[PATCH 4/6] clk/qcom: qcm2290: show clock name in set_rate()

2025-04-09 Thread Caleb Connolly
The device name is always clk_qcom... Not very useful. Signed-off-by: Caleb Connolly --- drivers/clk/qcom/clock-qcm2290.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clock-qcm2290.c b/drivers/clk/qcom/clock-qcm2290.c index

[PATCH 1/6] event: signal when livetree has been built

2025-04-09 Thread Caleb Connolly
sdcard being broken (and displaying potentially worrying error messages). Add an event to signal when the live tree has been built so that we can apply fixups to it directly before devices are bound. Signed-off-by: Caleb Connolly --- common/event.c | 3 +++ include/event.h | 9 + lib

[PATCH 2/6] mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups

2025-04-09 Thread Caleb Connolly
This will now apply fixups prior to devices being bound, which makes it possible to enable/disable devices and adjust more properties that might be read before devices probe. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/board.c | 1 - arch/arm/mach-snapdragon/of_fixup.c | 7

[PATCH 0/6] Qualcomm: cleanup OF_LIVE fixup and fix RB1/2

2025-04-09 Thread Caleb Connolly
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-snapd

Re: [PATCH 00/13] board: dragonboard410c: Various fixes and cleanup

2025-04-09 Thread Caleb Connolly
-Boot mailing list for over a year now. Signed-off-by: Stephan Gerhold Thanks for this! Awesome cleanup. Really no other words, this is art :D Reviewed-by: Caleb Connolly > --- Stephan Gerhold (13): mach-snapdragon: Fix EL2 boot on DragonBoard 410c board: dragonboard410c: Fix

Re: [PATCH 4/5] clk: stub: add qcom,glink-smd-rpm

2025-04-09 Thread Caleb Connolly
On 4/7/25 19:56, Jorge Ramirez-Ortiz wrote: Add support for the resource power manager clocks over SMD/GLINK to be stubbed. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly Thanks!> --- drivers/clk/clk-stub.c

Re: [PATCH 5/5] configs: dragonboard820: updates

2025-04-09 Thread Caleb Connolly
On 4/7/25 19:56, Jorge Ramirez-Ortiz wrote: Configure GPIO and CLK_STUBS CLK_STUBS is required for MMC initialization Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly > --- configs/dragonboard820c_defconfig | 2 ++ 1 file changed

Community meeting April 8th 2025 (was: Re: [ANN] U-Boot v2025.04 released)

2025-04-09 Thread Caleb Connolly
Hi Everyone, On 4/8/25 00:00, Tom Rini wrote: Hey all, It's release day and here's v2025.04. We had some last minute issues reported, but then also resolved. I want to thank everyone that's contributed to this release, not just in terms of code, but documentation, testing and otherwise ensurin

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-08 Thread Caleb Connolly
On 4/8/25 15:46, Sumit Garg wrote: On Tue, Apr 08, 2025 at 02:17:29PM +0200, Caleb Connolly wrote: On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not

Re: [PATCH] common: Add CONFIG_SKIP_RELOCATE

2025-04-08 Thread Caleb Connolly
Taube Reviewed-by: Caleb Connolly > --- Kconfig | 7 +++ common/board_f.c | 7 +++ 2 files changed, 14 insertions(+) diff --git a/Kconfig b/Kconfig index 6379a454166..f518768615f 100644 --- a/Kconfig +++ b/Kconfig @@ -443,6 +443,13 @@ config TOOLS_DEBUG it

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-08 Thread Caleb Connolly
On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1 works fine though. Signed-off-by: Sumit Garg --- arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++

Re: [PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support

2025-04-08 Thread Caleb Connolly
On 4/8/25 06:29, Sumit Garg wrote: On Mon, Apr 07, 2025 at 04:30:44PM +0200, Caleb Connolly wrote: On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Currently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So di

Re: [PATCH 3/5] clk/qcom: apq8096: fix the sdhci clock

2025-04-07 Thread Caleb Connolly
CLK is correct, that's the "core" clock and the one the sdhci_msm driver calls clk_set_rate() on. So this patch is good. I suspect the misuse of GCC_SDCC1_APPS_CLK is from way back when this board had a custom DT that didn't follow upstream. Reviewed-by: Caleb Connolly &

Re: [PATCH 2/5] clk/qcom: apq8096: fix set rate for the uart clock

2025-04-07 Thread Caleb Connolly
On 4/7/25 14:05, Jorge Ramirez-Ortiz wrote: The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly > --- drivers/clk/qcom/clock-apq8096.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

Re: [PATCH 1/5] board: qualcomm: dragonboard820c: udpate readme

2025-04-07 Thread Caleb Connolly
On 4/7/25 14:05, Jorge Ramirez-Ortiz wrote: Update build instructions. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Neil Armstrong Reviewed-by: Caleb Connolly > --- board/qualcomm/dragonboard820c/readme.txt | 47 ++- 1 file changed, 21 insertions(+),

Re: [PATCH 6/7] mach-snapdragon: board interface to enforce fdt

2025-04-07 Thread Caleb Connolly
Hi Jorge, On 4/7/25 10:19, Jorge Ramirez-Ortiz wrote: Some platforms might require the external fdt to boot. The better way to do this is to use the u-boot-nodtb.bin to build your boot image rather than the one which includes the internal FDT. If that works I'd prefer it (and it can be menti

[PATCH v2 3/3] ata: ahci: implement SCSI_SYNC_CACHE

2025-04-05 Thread Caleb Connolly
whole cache will be flushed in all cases. This was done per iteration in ata_scsiop_read_write(), but it's not clear why this was the case, calling it once for the entire write ought to achieve the same result. Signed-off-by: Caleb Connolly --- drivers/ata/ahci.c | 14 +++--- 1 file ch

Re: [PATCH 3/6] mach-snapdragon: qcom SCM call support

2025-04-05 Thread Caleb Connolly
On 1/27/25 23:03, Sam Day wrote: These calls are a little more complex than a standard SMCCC instruction. There's 32bit/64bit calling conventions, support for passing more arguments than can fit in the usual registers (by placing a pointer to the additional args in x7), and the use of a qcom-s

[PULL] Please pull qcom-next-20250324

2025-04-05 Thread Caleb Connolly
SNAPDRAGON (2025-03-18 11:55:14 +) qcom-next-20230324 take 2 -------- Caleb Connolly (8): pinctrl: qcom: add sc7280 pinctrl driver qcom_defconf

Re: [PATCH] clk/qcom: sdm845: add missing USB3 clocks

2025-04-05 Thread Caleb Connolly
dians/u-boot-snapdragon/-/commit/70bc6c4acb1c Best regards, -- Caleb Connolly

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2025-04-05 Thread Caleb Connolly
Hi all, Reviving this as it is still very much an issue, and especially relevant for Qualcomm platforms. On 11/3/23 20:44, Simon Glass wrote: Hi Heinrich, On Wed, 25 Oct 2023 at 15:22, Heinrich Schuchardt wrote: On 10/25/23 23:13, Tom Rini wrote: On Wed, Oct 25, 2023 at 10:28:05PM +0200,

[PATCH v4 0/6] Better smartphone support (Qualcomm)

2025-04-04 Thread Caleb Connolly
qcom-phones-v1-0-08614edd8...@linaro.org --- Caleb Connolly (6): board/qualcomm: introduce phone config cli_hush: support running bootcmd on boot retry bootretry: check for bootretry variable changes doc: board/qualcomm: describe phone support and bringup button: qcom-pmic

Re: [PATCH 3/3] scsi: sync cache on write

2025-04-04 Thread Caleb Connolly
On 3/25/25 16:18, neil.armstr...@linaro.org wrote: On 25/03/2025 14:49, Caleb Connolly wrote: On 3/25/25 14:33, Neil Armstrong wrote: On 25/03/2025 14:02, Caleb Connolly wrote: We don't have a mechanism to safely shutdown block devices prior to a baord reset or driver removal. Pr

Re: [PATCH v1] regulator: qcom-rpmh-regulator: add support for pmm8654 regulators

2025-04-04 Thread Caleb Connolly
4 regulators https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/b59ca233b903 Best regards, -- Caleb Connolly

Re: [PATCH] MAINTAINERS: board: qcom: db820c: update contact details

2025-04-03 Thread Caleb Connolly
On 4/3/25 11:46, Jorge Ramirez-Ortiz wrote: Update contact details Signed-off-by: Jorge Ramirez-Ortiz Congrats! Acked-by: Caleb Connolly Will you be giving this board some love? Unfortunately I don't have to test so it's not yet making use of the fancier generic support part

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-03 Thread Caleb Connolly
On 4/1/25 14:42, Ilias Apalodimas wrote: Hi Caleb On Wed, 26 Mar 2025 at 19:41, Caleb Connolly wrote: Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we

[PATCH] hmibsc_defconfig: disable DM_USB_GADGET

2025-04-02 Thread Caleb Connolly
As with the db410c this breaks linking as it conflicts with the USB controller used by these platforms. This fixes building after DM_USB_GADGET was enabled by default for mach-snapdragon. Fixes: 7235dbedfce3 (mach-snapdragon: enable DM_USB_GADGET by default) Signed-off-by: Caleb Connolly

Re: [PATCH] mach-snapdragon: of_fixup: fix condition check in ft_board_setup()

2025-03-31 Thread Caleb Connolly
On Mon, 31 Mar 2025 12:43:18 +0200, Caleb Connolly wrote: > The fdt_node_check_compatible() function returns 0 on success which is > pretty confusing, and we were using it wrong! > > Invert the condition check and refactor things to be more readable. > > Additionally, add the

Re: [PATCH 0/4] spmi: msm: fix pid mapping for v5 & v7 controllers

2025-03-31 Thread Caleb Connolly
andle multiple mapping entries https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/c03a52e82616 Best regards, -- Caleb Connolly

Re: [PATCH 0/2] power: regulator: add qcom usb vbus

2025-03-31 Thread Caleb Connolly
ach-snapdragon: of_fixup: fix property length at writing https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/039754208ee5 [2/2] power: regulator: add qcom-usb-vbus https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/763a8b467d7d Best regards, -- Caleb Connolly

Re: [PATCH 0/4] Qualcomm: fix sdm845 clocks and enable fastboot

2025-03-31 Thread Caleb Connolly
On Mon, 24 Mar 2025 19:17:36 +0100, Caleb Connolly wrote: > Fix clock init failures for USB and UFS on SDM845 devices, stub the RPMh > clock controller, enable DM_USB_GADGET and fastboot support for all > Qualcomm platforms supported by qcom_defconfig. > > Fastboot isn't s

Re: [PATCH] phy: Add SDM660 support to Qualcomm QUSB2 phy

2025-03-31 Thread Caleb Connolly
1] phy: Add SDM660 support to Qualcomm QUSB2 phy https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/bc443ad7d6f3 Best regards, -- Caleb Connolly

Re: [PATCH] qcom_defconfig: enable OF_UPSTREAM_BUILD_VENDOR

2025-03-31 Thread Caleb Connolly
On Fri, 28 Mar 2025 11:40:07 +0100, Caleb Connolly wrote: > A single U-Boot binary can be run on many different Qualcomm boards just > by booting with a different DTB. > > Simplify the build process for this by enabling OF_UPSTREAM_BUILD_VENDOR > so that all the DTBs will be

[PATCH v4 6/6] button: make button_get_by_label() case insensitive

2025-03-31 Thread Caleb Connolly
el # xiaomi-davinci Signed-off-by: Caleb Connolly --- drivers/button/button-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/button/button-uclass.c b/drivers/button/button-uclass.c index 729983d58701867f7ea18e9b5f87e7404bca3dce..025917887e80f2fe9cbd3777e04035d20f

[PATCH v4 5/6] button: qcom-pmic: prettify and standardise button labels

2025-03-31 Thread Caleb Connolly
i Signed-off-by: Caleb Connolly --- board/qualcomm/dragonboard410c/dragonboard410c.c | 2 +- board/qualcomm/dragonboard820c/dragonboard820c.c | 2 +- drivers/button/button-qcom-pmic.c| 8 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/board/qualcomm/

[PATCH v4 4/6] doc: board/qualcomm: describe phone support and bringup

2025-03-31 Thread Caleb Connolly
Tested-by: Jens Reidel # xiaomi-davinci Signed-off-by: Caleb Connolly --- doc/board/qualcomm/board.rst | 5 ++ doc/board/qualcomm/index.rst | 1 + doc/board/qualcomm/phones.rst | 144 ++ 3 files changed, 150 insertions(+) diff --git a/doc/board

[PATCH v4 3/6] bootretry: check for bootretry variable changes

2025-03-31 Thread Caleb Connolly
Tikhonov # google-sunfish Tested-by: Jens Reidel # xiaomi-davinci Signed-off-by: Caleb Connolly --- boot/bootretry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootretry.c b/boot/bootretry.c index 587b2de7d6b08db07e1dea512a834cb5590c2d12..a60767eaa2ee51970e4695e487ce5651575079ba

[PATCH v4 2/6] cli_hush: support running bootcmd on boot retry

2025-03-31 Thread Caleb Connolly
Introduce a new config option: RETRY_BOOTCMD. When enabled this causes hush shell to re-run "bootcmd" when the auto-boot counter times out. Tested-by: Danila Tikhonov # google-sunfish Tested-by: Jens Reidel # xiaomi-davinci Signed-off-by: Caleb Connolly --- boot/Kconfig

[PATCH v4 1/6] board/qualcomm: introduce phone config

2025-03-31 Thread Caleb Connolly
ested-by: Danila Tikhonov # google-sunfish Tested-by: Jens Reidel # xiaomi-davinci Signed-off-by: Caleb Connolly --- board/qualcomm/qcom-phone.config | 29 + board/qualcomm/qcom-phone.env| 47 2 files changed, 76 insertions(+)

[PATCH] mach-snapdragon: of_fixup: fix condition check in ft_board_setup()

2025-03-31 Thread Caleb Connolly
: e64503f1fcdf ("mach-snapdragon: implement ft_board_setup() for USB role selection") Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-snapdragon/of_fixup.c b/arc

Re: [PATCH v2 00/56] expo: Various features and improvements

2025-03-31 Thread Caleb Connolly
On 3/31/25 03:18, Simon Glass wrote: Hi Tom, On Mon, 31 Mar 2025 at 03:47, Tom Rini wrote: On Fri, Mar 28, 2025 at 07:05:47AM -0600, Simon Glass wrote: This series collects together some new features for expo to make it more useful for boot menus: - measurement and display of multi-line

Re: [PATCH] drivers: pinctrl: Add Qualcomm SDM630/660 TLMM driver

2025-03-30 Thread Caleb Connolly
); + + return pin_name; +} + +static unsigned int sdm660_get_function_mux(__maybe_unused unsigned int pin, unsigned int selector) +{ + return sdm660_pinctrl_functions[selector].val; This API got changed lately (sorry!), it should return a signed int and check if sel

Re: [PATCH v1 2/2] qcom_defconfig: enable pinctrl for SA8775P

2025-03-30 Thread Caleb Connolly
On 3/24/25 09:05, Varadarajan Narayanan wrote: Enable the pinctrl driver for SA8775P Signed-off-by: Varadarajan Narayanan Reviewed-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index

Re: [PATCH v1 1/2] pinctrl: qcom: add driver for SA8775P SoC

2025-03-30 Thread Caleb Connolly
, certainly it would have saved me the time of reverse-engineering why it was done this way. Reviewed-by: Caleb Connolly Kind regards, +[12] = SA8775_PIN_OFFSET, [13] = SA8775_PIN_OFFSET, [14] = SA8775_PIN_OFFSET, +[15] = SA8775_PIN_OFFSET, [16] = SA8775_PIN_OFFSET,

Re: [PATCH v1] regulator: qcom-rpmh-regulator: add support for pmm8654 regulators

2025-03-30 Thread Caleb Connolly
On 3/24/25 12:30, Varadarajan Narayanan wrote: Add the PMC8380 regulator data found on the Qualcomm SA8775P platform. The tables are imported from the Linux driver. Signed-off-by: Varadarajan Narayanan Reviewed-by: Caleb Connolly --- drivers/power/regulator/qcom-rpmh-regulator.c | 45

Re: [PATCH] phy: Add SDM660 support to Qualcomm QUSB2 phy

2025-03-30 Thread Caleb Connolly
On 3/25/25 09:37, Alexey Minnekhanov via groups.io wrote: Imported from Linux driver. Note that already existing but previously unused member of struct qusb2_phy::has_se_clk_scheme is now utilized for it's purpose. Signed-off-by: Alexey Minnekhanov Reviewed-by: Caleb Con

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2025-03-30 Thread Caleb Connolly
Hi Heinrich, On 3/28/25 15:18, Heinrich Schuchardt wrote: On 28.03.25 14:00, Caleb Connolly wrote: On 3/28/25 13:01, Simon Glass wrote: Hi Caleb, On Sun, 23 Mar 2025 at 12:39, Caleb Connolly wrote: Hi all, Reviving this as it is still very much an issue, and especially relevant for

Re: [PATCH v2 1/4] board/qualcomm: introduce phone config

2025-03-30 Thread Caleb Connolly
Hi Sam, On 3/30/25 10:23, Sam Day wrote: 'Ello Caleb, On Tue Mar 11, 2025 at 1:31 PM CET, Caleb Connolly wrote: Phones don't have keyboards! Introduce a phone-specific config fragment and associated environment file to make U-Boot more useful on these devices. This allows for navi

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2025-03-28 Thread Caleb Connolly
On 3/28/25 13:01, Simon Glass wrote: Hi Caleb, On Sun, 23 Mar 2025 at 12:39, Caleb Connolly wrote: Hi all, Reviving this as it is still very much an issue, and especially relevant for Qualcomm platforms. On 11/3/23 20:44, Simon Glass wrote: Hi Heinrich, On Wed, 25 Oct 2023 at 15:22

Re: [PATCH 0/4] spmi: msm: fix pid mapping for v5 & v7 controllers

2025-03-28 Thread Caleb Connolly
On 3/28/25 09:53, Neil Armstrong wrote: The v5 & v7 controllers has complex mapping for different Execution Environment, and v7 supports two busses within the same controller so it needs some special care when parsing the hardware map table to get the proper read & write channels. Test are we

Re: [PATCH 1/2] bloblist: fix the overriding of fdt from bloblist

2025-03-28 Thread Caleb Connolly
On 3/28/25 11:44, Caleb Connolly wrote: Hi Raymond, On 3/28/25 00:13, Raymond Mao wrote: When a bloblist is valid and contains fdt, it explicitly means a previous boot stage is passing transfer list compliant with Firmware Handoff specification, thus the fdt from bloblist should not be

Re: [PATCH 1/2] bloblist: fix the overriding of fdt from bloblist

2025-03-28 Thread Caleb Connolly
variables. Fixes: 70fe23859437 ("fdt: Allow the devicetree to come from a bloblist") Signed-off-by: Raymond Mao Reviewed-by: Caleb Connolly --- lib/fdtdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index f09c9926a7a..c38738b4

[PATCH] qcom_defconfig: enable OF_UPSTREAM_BUILD_VENDOR

2025-03-28 Thread Caleb Connolly
A single U-Boot binary can be run on many different Qualcomm boards just by booting with a different DTB. Simplify the build process for this by enabling OF_UPSTREAM_BUILD_VENDOR so that all the DTBs will be available after building U-Boot once. Signed-off-by: Caleb Connolly --- configs

Re: [PATCH v4 00/29] arm: Support building as an EFI app

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The original x86 EFI-app was written back in 2015, about a year before the EFI-loader was introduced. At that point, ARM mostly used U-Boot and FIT (Flat Image Tree). Today, sadly, there are a few efforts to re-invent FIT poorly, to cater to more primitive

Re: [PATCH v2 13/15] mach-snapdragon: Support booting as a coreboot payload

2025-03-27 Thread Caleb Connolly
can run U-boot as a coreboot payload. Signed-off-by: Stephen Boyd Reviewed-by: Caleb Connolly --- arch/arm/mach-snapdragon/board.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 2ef936aab757

Re: [PATCH v4 29/29] efi: arm: Add an EFI app for arm64

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: Introduce an EFI app for arm64 and update the documentation. Provide a value for LOAD_ADDR to avoid a link error. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Use ARCH_EFI instead of VENDOR_EFI - Merge the linker-script rules i

Re: [PATCH v4 22/29] efi: arm: Drop startup code from the app

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The EFI app uses different startup and relocation code and the existing code uses symbols not present in the app. Drop it. Shouldn't this be squashed into patch 18 ("efi: arm: Omit the ARM start-up code in the EFI app")? Signed-off-by: Simon Glass Rev

Re: [PATCH v4 18/29] efi: arm: Omit the ARM start-up code in the EFI app

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: This code is not used with the EFI app, since it enters through a call to efi_main(). Remove start.S and crt files from the build. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Reviewed-by: Caleb Connolly --- (no changes since v1) arch/arm

Re: [PATCH v4 17/29] efi: arm: Implement access to global_data for EFI

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The EFI app likes to use a simple variable for global data. Implement this for ARM (for use only with 64-bit ARM at present). Signed-off-by: Simon Glass Reviewed-by: Tom Rini Reviewed-by: Caleb Connolly --- (no changes since v2) Changes in v2

Re: [PATCH v4 16/29] efi: arm: Avoid enabling caches when running under EFI

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The previous bootloader has already set up the cache, so don't try to do it again. This fixes a crash in QEMU when booting from EDK2 Signed-off-by: Simon Glass --- (no changes since v1) common/board_r.c | 5 +++-- 1 file changed, 3 insertions(+), 2

Re: [PATCH v4 15/29] efi: arm: Avoid allocating page tables when running under EFI

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The previous bootloader has already set up the page tables, so don't try to do it again. This fixes a crash in QEMU when booting from EDK2 Signed-off-by: Simon Glass Reviewed-by: Caleb Connolly --- (no changes since v1) arch/arm/lib/cache.

Re: [PATCH v4 14/29] efi: arm: Don't do the EL2 switch when running under EFI

2025-03-27 Thread Caleb Connolly
? off-topic, but how is EBS called? Reviewed-by: Caleb Connolly --- (no changes since v1) arch/arm/lib/bootm.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 974cbfe8400..688c2f3f29b 100644 --- a/arch/arm/lib/bootm.c

Re: [PATCH v4 13/29] efi: lmb: Avoid access to _start

2025-03-27 Thread Caleb Connolly
On 2/15/25 04:22, Simon Glass wrote: The app does not have this symbol. Also the memory where the app is loaded is not under U-Boot's control. There is no sense in relocating from one alloced region to another. U-Boot is not able to relocate to the top of memory, nor decide what other parts o

  1   2   3   4   5   6   7   8   9   10   >