-by: Stephan Gerhold
Link:
https://lore.kernel.org/r/20250422-msm8916-console-pinctrl-v2-1-f345b7a53...@linaro.org
Signed-off-by: Bjorn Andersson
[ upstream commit: 8d88f6c9c5e774420673a37510b22015b1edd569 ]
(cherry picked from commit 9671fb87cd7a78c52ec50cc30ac63e73f2c4ec5a)
---
dts/upstream
This is applied for all devices upstream in Linux now (when using the
console-specific pinctrl templates).
Signed-off-by: Stephan Gerhold
---
arch/arm/dts/apq8016-sbc-u-boot.dtsi | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/arm/dts/apq8016-sbc-u-boot.dtsi
b/arch/arm/dts
s
move the reset to the end of uart_dm_init() to better match the
recommendations in the documentation.
Signed-off-by: Stephan Gerhold
---
drivers/serial/serial_msm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_m
it's
left as-is in this commit.
Reviewed-by: Konrad Dybcio
Signed-off-by: Stephan Gerhold
Link:
https://lore.kernel.org/r/20250422-msm8916-console-pinctrl-v2-3-f345b7a53...@linaro.org
Signed-off-by: Bjorn Andersson
[ upstream commit: 2b8d22ef1687768e4b572d01cd2432eb86340dd1 ]
(cherry p
eiver/transmitter), but let's add the two writes to RX_ENABLE/TX_ENABLE
to better match the recommendations in the documentation.
Signed-off-by: Stephan Gerhold
---
drivers/serial/serial_msm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/serial/serial_msm.c b/driv
driver. Fix this by switching the driver to use the more simple
single-character mode, which doesn't have this issue.
With these patches, autoboot is finally working reliably on DragonBoard
410c (and hopefully will remain so for the future :-)).
Signed-off-by: Stephan Gerhold
---
ional change.
Signed-off-by: Stephan Gerhold
---
drivers/serial/serial_msm.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c
index
c8df91fca589433e57cd4c25a18d0954871
d-by: Konrad Dybcio
Signed-off-by: Stephan Gerhold
Link:
https://lore.kernel.org/r/20250422-msm8916-console-pinctrl-v2-4-f345b7a53...@linaro.org
Signed-off-by: Bjorn Andersson
[ upstream commit: fe848d64cc6516cd56f38d23cfb544a68231a6e8 ]
(cherry picked from co
e specifically for that. In the following
commits, boards will be converted to use these where appropriate.
[1]:
https://source.denx.de/u-boot/u-boot/-/commit/ad7e967738a9c639e07cf50b83ffccdf9a8537b0
Reviewed-by: Konrad Dybcio
Signed-off-by: Stephan Gerhold
Link:
https://lore.kernel.org/r/2025
the
additional error information (assuming there is something in the
RX FIFO, as indicated by RX_READY).
In this mode, querying the serial console size works and autoboot is no
longer interrupted. The overall code is also much shorter.
Signed-off-by: Stephan Gerhold
---
drivers/ser
537b0.
Signed-off-by: Stephan Gerhold
---
drivers/serial/serial_msm.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c
index
757e5eaf974fc171c7a56006a218554be1425612..c8df91fca589433e57cd4c25a18d09548715c840
100644
--- a/drivers/s
On Mon, Jun 02, 2025 at 06:10:51PM +0200, Casey Connolly wrote:
> With several new Qualcomm platforms appearing on the mailing list, all
> of which build U-Boot as an ELF, sign it, and then flash it to some
> partition on the board, we're getting a lot of defconfigs which just
> contain a debug UAR
On Mon, Jun 02, 2025 at 06:10:57PM +0200, Casey Connolly wrote:
> Remove qcs9100_defconfig since it is now identical to qcom_defconfig.
> Additionally remove the load address and REMAKE_ELF from other Qualcomm
> defconfigs.
>
> For these platforms you should explicitly build the u-boot.mbn target
On Mon, Jun 02, 2025 at 06:10:54PM +0200, Casey Connolly wrote:
> This is a fork of qtestsign[1] with modifications to integrate with the
> U-Boot build system.
I think it would be good if the "library" part of qtestsign (cert.py,
elf.py, hashseg.py) would stay unmodified if possible, and you only
On Mon, May 12, 2025 at 12:31:58PM +0530, Sumit Garg wrote:
> On Fri, May 09, 2025 at 04:54:43PM +0200, Stephan Gerhold wrote:
> > On Fri, May 09, 2025 at 12:45:20PM +0200, Casey Connolly wrote:
> > > On 5/8/25 12:32, Sumit Garg wrote:
> > > > From: Sumit Garg
>
On Fri, May 09, 2025 at 12:45:20PM +0200, Casey Connolly wrote:
> On 5/8/25 12:32, Sumit Garg wrote:
> > From: Sumit Garg
> >
> > When debug serial port isn't connected, it is at least reported on RB1
> > that autoboot gets interrupted. It is probably due to random characters
> > on the UART RX l
s.
Reviewed-by: Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-apq8016.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index
e3a9807f580bc995395bd5deb
: Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-apq8016.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index
274c71c53ff76c9a7ea18e3698c12b20a9b1f418
The other clock enable functions in clock-qcom.c use setbits_le32() to
read/modify/write the enable registers. Use the same for qcom_gate_clk_en()
to simplify the code a bit.
Reviewed-by: Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 5 +
1 file changed
until all others
drivers have been converted.
Reviewed-by: Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 15 +++
drivers/clk/qcom/clock-qcom.h | 11 +--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/clock-q
This avoids having to inline it separately into every single clock driver,
when U-Boot is built with support for multiple SoCs.
Reviewed-by: Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 15 +++
drivers/clk/qcom/clock-qcom.h | 15
Neil Armstrong
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-apq8016.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index
6a53f900a9e5c065714fea9ec
Fix some issues in the clock-apq8016 driver that I noticed while testing
U-Boot v2025.07-rc on the DragonBoard 410c. Make it possible to poll the
clock status with GATE_CLK() to avoid potential race conditions.
Signed-off-by: Stephan Gerhold
---
Changes in v2:
- Rename BRANCH_CLK
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-apq8016.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index
4eb2ba52be0c6f59a987acd0eacea4c7490345a7..ad824aaed73ff15e3a7dd4ea75f7b0cf2ba825c
: Stephan Gerhold
---
drivers/clk/qcom/clock-apq8016.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c
index
274c71c53ff76c9a7ea18e3698c12b20a9b1f418..4eb2ba52be0c6f59a987acd0eacea4c7490345a7
100644
--- a
work just as before, without polling the clock status. Ideally all usages
should be updated to specify the correct poll address in the future.
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 15 +++
drivers/clk/qcom/clock-qcom.h | 7 +--
2 files changed, 20 inser
The other clock enable functions in clock-qcom.c use setbits_le32() to
read/modify/write the enable registers. Use the same for qcom_gate_clk_en()
to simplify the code a bit.
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 5 +
1 file changed, 1 insertion(+), 4 deletions
This avoids having to inline it separately into every single clock driver,
when U-Boot is built with support for multiple SoCs.
Signed-off-by: Stephan Gerhold
---
drivers/clk/qcom/clock-qcom.c | 15 +++
drivers/clk/qcom/clock-qcom.h | 15 +--
2 files changed, 16
s are disabled when
entering U-Boot, MMC initialization is failing.
Fix this by using the proper offset for the macros. The SDCC_CMD_RCGR() was
already correct, but change it the same way for consistency.
Fixes: 085921368b7d ("arm: Add support for Qualcomm Snapdragon family")
Signed-off-by:
Fix some issues in the clock-apq8016 driver that I noticed while testing
U-Boot v2025.07-rc on the DragonBoard 410c. Make it possible to poll the
clock status with GATE_CLK() to avoid potential race conditions.
Signed-off-by: Stephan Gerhold
---
Stephan Gerhold (6):
clk: qcom: apq8016: Fix
Signed-off-by: Stephan Gerhold
---
configs/dragonboard410c_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/dragonboard410c_defconfig
b/configs/dragonboard410c_defconfig
index
6feba70b943ecafdb96de28b4bddc36095f089c6..d267b6ed34dbb945cb3c5af8e323bdbdc294197e
100644
--- a
Fix some more issues in the U-Boot configuration for the DragonBoard 410c
that I noticed when testing the current master branch after the recent
changes were merged. Ideally these should go as fixes into v2025.07.
Signed-off-by: Stephan Gerhold
---
Stephan Gerhold (3):
board
x27;Malloc failed for: CHUNK_TYPE_RAW')
We are not really that memory-constrained for U-Boot on DB410c, so fix
this by just dropping the custom malloc size and using the default.
Signed-off-by: Stephan Gerhold
---
configs/dragonboard410c_defconfig | 1 -
1 file changed, 1 deletion(-)
diff
own". This is causing
errors in the console during boot now:
No button labelled 'vol_down'
Fix this by using the new label.
Fixes: 359e1d4a57e0 ("board: dragonboard410c: Use button_cmd instead of custom
code")
Fixes: 8f5685d5d32f ("button: qcom-pmic: prettif
On Sat, Apr 12, 2025 at 07:40:03PM +, Sam Day wrote:
> When CONFIG_DM_USB_GADGET is enabled, the CI UDC driver needs to be
> explicitly bound. So we do this from the newly introduced glue driver.
>
> Signed-off-by: Sam Day
> ---
> drivers/usb/host/ehci-msm.c | 7 +++
> 1 file changed, 7
On Sat, Apr 12, 2025 at 07:40:11PM +, Sam Day wrote:
> Now that the ChipIdea UDC driver supports USB Gadget driver model, we
> can enable it alongside the dwc3 generic driver.
>
> Signed-off-by: Sam Day
> ---
> configs/qcom_defconfig | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --
On Sat, Apr 12, 2025 at 07:39:57PM +, Sam Day wrote:
> When CONFIG_DM_USB_GADGET is enabled, a UCLASS_USB_GADGET_GENERIC driver
> will be defined that wraps the ChipIdea UDC operations. The
> (dm_)?usb_gadget_.* symbols will no longer be defined (as these are now
> handled by the UDC uclass).
>
t out iomux_match_device() helper")
Signed-off-by: Stephan Gerhold
---
common/iomux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/iomux.c b/common/iomux.c
index
1224c15eb718b5e78f625f57274000114d85c7de..4844df51fbec645f54d14f31e34ed717da056667
100644
--- a/common/iom
27;re also flipping the wrong bit when generating the BD address. Before
reversing the array, the least significant bit is in the last byte.
Fixes: ff06dc240325 ("db410: alter WLAN/BT MAC address fixup")
Signed-off-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dr
onsistency, but for now this
keeps the behavior similar to before.
Signed-off-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dragonboard410c.env | 1 +
configs/dragonboard410c_defconfig | 3 ++-
include/configs/dragonboard410c.h | 11 ---
3 files
On Mon, Apr 07, 2025 at 08:10:24PM +0200, Neil Armstrong wrote:
> On 07/04/2025 18:59, Stephan Gerhold wrote:
> > The U-Boot port for DB410c still has plenty of extra space available at
> > this point, so avoid disabling features that would be normally enabled by
> > default
ned-off-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dragonboard410c.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c
b/board/qualcomm/dragonboard410c/dragonboard41
This is broken ever since we switched to using U-Boot as first stage
bootloader. Since no one seems to test this actively, let's just drop this
entirely. There are other tools available for re-flashing the DB410c.
Signed-off-by: Stephan Gerhold
---
board/qualcomm/dragonboar
he's
been doing lots of testing and reviews for MSM8916 recently.
Cc: Sam Day
Cc: Ramon Fried
Signed-off-by: Stephan Gerhold
---
@Ramon: If you want to stay co-maintainer please let me know, I'm also
happy to just add myself and Sam additionally.
---
board/qualcomm/dragonboard410c/
Simplify the board code by using the new BUTTON_CMD functionality, instead
of implementing this separately using C code. This allows disabling or
customizing this functionality if wanted.
Signed-off-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dragonboard410c.c | 22
.
Signed-off-by: Stephan Gerhold
---
configs/dragonboard410c_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/configs/dragonboard410c_defconfig
b/configs/dragonboard410c_defconfig
index
62fc42c9460d075fd27c3e2823eb8eea2a559772..414dda6778c95eb3fdcd6ef522d8c7d0ef9219fa
100644
--- a
The actual counter frequency is 19.2 MHz, not 19.0 MHz. This isn't really
used so far though, since probably no one (except me) ever tried using
U-Boot in EL3 where we need to program the counter frequency.
Signed-off-by: Stephan Gerhold
---
configs/dragonboard410c_defconfig | 2 +-
1
ff-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dragonboard410c.c | 2 +-
board/qualcomm/dragonboard410c/dragonboard410c.env | 8 +---
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c
b/board/qualcomm/dragonboar
The Geniatech DB4 V3 [1] has a RTL8152 onboard for Ethernet. I don't have
one to test if that works, but the other USB Ethernet drivers work pretty
much as-is, so just enable it with the assumption it will work out fine.
[1]: https://www.96boards.org/product/db4/
Signed-off-by: Stephan Ge
This does not seem to be used anywhere.
Signed-off-by: Stephan Gerhold
---
board/qualcomm/dragonboard410c/dragonboard410c.env | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.env
b/board/qualcomm/dragonboard410c/dragonboard410c.env
index
e with upstream DTS")
Signed-off-by: Stephan Gerhold
---
arch/arm/dts/apq8016-sbc-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/apq8016-sbc-u-boot.dtsi
b/arch/arm/dts/apq8016-sbc-u-boot.dtsi
index
585d54d29623823145e6
r configuration on DB410c, and nothing would place a DTB
there anyway. Skip selecting the SAVE_PREV_BL_FDT_ADDR option for the boot0
hook case to avoid crashing with the clobbered register value.
Fixes: 059d526af312 ("mach-snapdragon: generalise board support")
Signed-off-by: Steph
ff-by: Stephan Gerhold
---
Stephan Gerhold (13):
mach-snapdragon: Fix EL2 boot on DragonBoard 410c
board: dragonboard410c: Fix RAM size
board: dragonboard410c: Fix BD address
board: dragonboard410c: Drop UNSTUFF_BITS() macro
board: dragonboard410c: Drop re
by
Robert Baldyga.
Fix the crashes for f_acm by making the same change in U-Boot. This makes
the API less bug-prone and avoids introducing crashes when adapting new
gadget drivers from Linux.
Signed-off-by: Stephan Gerhold
---
include/linux/usb/gadget.h | 27 +--
1 file
gadget is unregistered, but as long as dev->priv
stays set acm_stdio_start() will never register the USB gadget again.
Clear dev->priv after we detach to make sure a start operation after a stop
operation registers the gadget again.
Fixes: fc2b399ac03b ("usb: gadget: Add CDC ACM function&quo
disallows calling usb_ep_enable() multiple
times.
Fix this by assigning some data to ep->driver_data, similar to the other
gadget drivers.
Fixes: fc2b399ac03b ("usb: gadget: Add CDC ACM function")
Signed-off-by: Stephan Gerhold
---
drivers/usb/gadget/f_acm.c | 3 +++
1 file changed, 3 inse
Gerhold
---
Stephan Gerhold (3):
usb: gadget: f_acm: Claim requested USB endpoints
usb: gadget: f_acm: Allow restarting ACM console after stopping it
usb: gadget: introduce 'enabled' flag in struct usb_ep
drivers/usb/gadget/f_acm.c | 4
include/linux/usb/gad
Gerhold
---
Stephan Gerhold (6):
usb: host: ehci-msm: Fix pointer check
usb: host: echi-msm: Drop ulpi definitions
usb: host: ehci-msm: Disable clocks after all register accesses
usb: host: ehci-msm: Use clk bulk helpers
usb: host: ehci-msm: Drop redundant EHCI register
These are unused.
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index
dd1d527a3a2c3f38df747dbb41cbb84bf76286e2..60b2dc44d3d35ddc5b8cf37f70bbccd91c5e962c
100644
just
drop them.
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index
17cfff8380c3953900fe6383bee396b147287592..659a917ad27372f8f5c7138c40881b60413323e5
1
("ehci: msm: bring up iface + core clocks")
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index
60b2dc44d3d35ddc5b
The enable order for the clocks does not matter much, we just need to
enable all the USB clocks. Use the clk bulk helpers to simplify the code.
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 36 +++-
1 file changed, 11 insertions(+), 25
re.kernel.org/u-boot/osqpr04mb774067ebeeadd714efe18c2a90...@osqpr04mb7740.apcprd04.prod.outlook.com/
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 107 +++-
1 file changed, 65 insertions(+), 42 deletions(-)
diff --git a/drivers/usb/host/ehci-msm.c b/d
dev_read_addr_ptr() returns a null pointer on error, not FDT_ADDR_T_NONE.
Fixes: 2be1130a9305 ("usb: ehci-msm: Use dev interface to get device address")
Signed-off-by: Stephan Gerhold
---
drivers/usb/host/ehci-msm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
On Sun, Nov 24, 2024 at 08:17:55PM +0100, Caleb Connolly wrote:
> It is possible to derive the memory map for a Qualcomm platform from the
> SMEM shared memory region. The memory map is populated by the preloader.
>
> Introduce support for parsing this data and using it to populate
> U-Boot's memo
On Sun, Nov 24, 2024 at 08:17:50PM +0100, Caleb Connolly wrote:
> Implement socinfo support to fetch the serial number if available.
>
> Signed-off-by: Caleb Connolly
> ---
> drivers/soc/qcom/smem.c | 25 +
> include/soc/qcom/smem.h | 1 +
> 2 files changed, 26 insertion
On Fri, Apr 05, 2024 at 02:37:42PM +0530, Sumit Garg wrote:
> Support for Schneider Electric HMIBSC. Features:
> - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306)
> - 2GiB RAM
> - 64GiB eMMC, SD slot
> - WiFi and Bluetooth
> - 2x Host, 1x Device USB port
> - HDMI
> - Discrete TPM2
On Wed, Mar 13, 2024 at 12:08:58PM +0530, Sumit Garg wrote:
> On Mon, 11 Mar 2024 at 20:07, Stephan Gerhold wrote:
> > On Mon, Mar 11, 2024 at 04:40:26PM +0530, Sumit Garg wrote:
> > > Support for Schneider Electric HMIBSC. Features:
> > > - Qualcomm Snapdragon 410C
On Mon, Mar 11, 2024 at 04:40:26PM +0530, Sumit Garg wrote:
> Support for Schneider Electric HMIBSC. Features:
> - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306)
> - 2GiB RAM
> - 64GiB eMMC, SD slot
> - WiFi and Bluetooth
> - 2x Host, 1x Device USB port
> - HDMI
> - Discrete TPM2
On Mon, Mar 11, 2024 at 12:27:11PM +, Caleb Connolly wrote:
> On 11/03/2024 11:10, Sumit Garg wrote:
> > SE HMIBSC board uses UART1 as the main debug console, so add
> > corresponding clocks and pinmux support. Along with that update
> > instructions to enable clocks for debug UART support.
> >
On Thu, Feb 29, 2024 at 02:21:09PM +, Volodymyr Babchuk wrote:
> SA8155P Automotive Development Platform is Qualcomm SA8155-based board
> for developers. The nice thing that it has unlocked loaders with test
> keys support, which means that U-Boot for this platform can be
> launched at earlier
On Fri, Mar 01, 2024 at 06:25:39PM +, Volodymyr Babchuk wrote:
> Caleb Connolly writes:
> > On 29/02/2024 14:21, Volodymyr Babchuk wrote:
> >> This patch series adds support for Qualcomm SA8155-ADP development
> >> board. Main motivation for this series is to allow running
> >> virtualization
On Thu, Dec 07, 2023 at 07:11:02PM +, Caleb Connolly wrote:
> On 21/11/2023 19:21, Stephan Gerhold wrote:
> > On Tue, Nov 21, 2023 at 05:09:41PM +, Caleb Connolly wrote:
> >> Import the msm8916 devicetree from Linux and adjust the dragonboard410c
> &g
On Tue, Nov 21, 2023 at 05:09:41PM +, Caleb Connolly wrote:
> Import the msm8916 devicetree from Linux and adjust the dragonboard410c
> devicetree to use it.
>
Can you add a note here from which Linux version you took the DT?
It seems quite old, the msm8916-pm8916.dtsi doesn't exist anymore
On Wed, Nov 08, 2023 at 04:20:55PM +, Caleb Connolly wrote:
> Linux devicetrees use the "gpio-ranges" property, add support for
> parsing it instead of "gpio-count" so that upstream DTs can be used with
> U-Boot.
>
> Signed-off-by: Caleb Connolly
> ---
> drivers/gpio/qcom_pmic_gpio.c | 26 ++
On Wed, Nov 08, 2023 at 04:20:54PM +, Caleb Connolly wrote:
> The power and resin keys were implemented as GPIOs here, but their only
> use would be as buttons. Avoid the additional layer of introspection and
> rework this driver into a button driver.
>
> While we're here, replace the "qcom,pm
On Mon, Nov 06, 2023 at 08:57:30PM +, Caleb Connolly wrote:
> The power and resin keys were implemented as GPIOs here, but their only
> use would be as buttons. Avoid the additional layer of introspection and
> rework this driver into a button driver.
>
> While we're here, replace the "qcom,pm
On Fri, Jan 20, 2023 at 05:55:35PM +0530, Sumit Garg wrote:
> On Fri, 20 Jan 2023 at 14:16, Heiko Schocher wrote:
> > On 20.01.23 08:17, Sumit Garg wrote:
> > > Add support for Qualcomm I2C QUP driver which is inspired from
> > > corresponding driver in Linux: drivers/i2c/busses/i2c-qup.c.
> > >
>
On Fri, Jul 15, 2022 at 03:21:45PM +0530, Sumit Garg wrote:
> On Thu, 14 Jul 2022 at 23:45, Stephan Gerhold wrote:
> > On Thu, Jul 14, 2022 at 01:03:37PM +0530, Sumit Garg wrote:
> > > This is based on top of mine other patch-set [1]. Although, I have
> > > tested it o
On Thu, Jul 14, 2022 at 01:10:45PM +0530, Sumit Garg wrote:
> On Thu, 14 Jul 2022 at 01:02, Stephan Gerhold wrote:
> > Can you check how hard it would be to reuse the upstream QCS404 DT?
> >
>
> It turned out to be patch [1] on top of this patch-set. Please help me
>
pinctrl driver in case
> "gpio-controller" property is specified for pinctrl node.
>
> Suggested-by: Stephan Gerhold
> Signed-off-by: Sumit Garg
This is a great start, thank you!
> ---
>
> This is based on top of mine other patch-set [1]. Although, I have
>
Hi Sumit,
On Tue, Jul 12, 2022 at 12:42:12PM +0530, Sumit Garg wrote:
> Add support for Qualcomm QCS404 SoC based evaluation board.
>
> Features:
> - Qualcomm Snapdragon QCS404 SoC
> - 1GiB RAM
> - 8GiB eMMC, uSD slot
>
> U-boot is chain loaded by ABL in 64-bit mode as part of boot.img.
> For de
moving to using the Linux
DTs as-is. This would likely avoid such mistakes in the future and
would also make the porting process much easier.
Cc: Dzmitry Sankouski
Fixes: f5a2d6b4b03a ("spmi: msm: add arbiter version 5 support")
Signed-off-by: Stephan Gerhold
---
Sorry for sending th
LEN
> Must RESET board to recover
>
> Fix this by bumping to SZ_64MB.
>
> Cc: Stephan Gerhold
> Signed-off-by: Linus Walleij
Great, thanks for changing it! :)
Reviewed-by: Stephan Gerhold
> ---
> ChangeLog v1->v2:
> - Bump to 64MB instead of 16MB
> ---
>
gt; >
> > Loading Kernel Image
> > Image too large: increase CONFIG_SYS_BOOTM_LEN
> > Must RESET board to recover
> >
> > Fix this by bumping to SZ_16MB.
> >
> > Cc: Stephan Gerhold
> > Signed-off-by: Linus Walleij
> > ---
> >
Hi,
On Fri, Sep 24, 2021 at 05:35:57PM +0300, Dzmitry Sankouski wrote:
> I haven't tried to install u-boot on the phone with Android boot image
> yet(though another guy in the community project I contribute, reported it
> works).
> I can only test u-boot with kexec, it's the only way to get debug
Hi,
On Thu, Sep 23, 2021 at 09:57:32PM +0300, dsankou...@gmail.com wrote:
> From: Dzmitry Sankouski
>
> Samsung S9 SM-G9600 - Snapdragon SDM845 version of the phone,
> for China \ Hong Kong markets.
> Has unlockable bootloader, unlike SM-G960U (American market version),
> which allows running u-
Hi,
On Thu, Sep 23, 2021 at 09:57:31PM +0300, dsankou...@gmail.com wrote:
> From: Dzmitry Sankouski
>
> Hi-end qualcomm chip, introduced in late 2017.
> Mostly used in flagship phones and tablets of 2018.
> Features:
> - arm64 arch
> - total of 8 Kryo 385 Gold / Silver cores
> - Hexagon 685 DSP
Hi,
On Thu, Sep 23, 2021 at 09:57:29PM +0300, dsankou...@gmail.com wrote:
> From: Dzmitry Sankouski
>
> Signed-off-by: Dzmitry Sankouski
> Cc: Ramon Fried
> Cc: Tom Rini
> ---
> arch/arm/mach-snapdragon/pinctrl-sdm845.c | 44 +++
> arch/arm/mach-snapdragon/pinctrl-snapdra
Hi Tom,
On Mon, Aug 30, 2021 at 09:16:30AM -0400, Tom Rini wrote:
> With the exception of nokia_rx51 and icnova-a20-swac, disable ATAG
> support. A large number of platforms had enabled support but never
> supported a kernel so old as to require it. Further, some platforms are
> old enough to su
U8500,
so for now add a simple fixed-clock for the eMMC that allows obtaining
the clock frequency. This should be replaced eventually if some board
actually requires enabling some of the clocks.
Signed-off-by: Stephan Gerhold
---
arch/arm/dts/ste-dbx5x0-u-boot.dtsi | 11 ++-
1 file changed
Enabling CONFIG_SYS_THUMB_BUILD produces a significantly smaller
U-Boot binary (250 KiB vs 320 KiB) that still seems to be fully
functional. Make use of that by default but keep it as "imply" so it
can be disabled for testing in case this causes trouble for someone.
Signed-off-by: Steph
instead of just ending up at the U-Boot prompt.
The device table is mostly taken from the postmarketOS wiki article
(https://wiki.postmarketos.org/wiki/ST-Ericsson_NovaThor_U8500).
All the newly added devices were tested by Linus Walleij.
Signed-off-by: Stephan Gerhold
---
I tried to have
kernel.org/linux-arm-kernel/20210709182234.47232-1-step...@gerhold.net/
Signed-off-by: Stephan Gerhold
---
arch/arm/dts/ste-ab8500.dtsi | 116 +++
arch/arm/dts/ste-ab8505.dtsi | 95 ++--
arch/arm/dts/ste-dbx5x0.dtsi | 14 ++---
3 files cha
.
Samsung uses quite strange GPT partition labels on these boards,
so also add a bunch of fastboot_partition_alias_* to make this more
easy to use.
Signed-off-by: Stephan Gerhold
---
arch/arm/dts/ste-ux500-samsung-stemmy.dts | 16 ++
configs/stemmy_defconfig
otherwise
the Ux500 MUSB glue driver does not show up in the configuration.
Signed-off-by: Stephan Gerhold
---
arch/arm/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3a745ce126..dd223ada57 100644
--- a/arch/arm/Kconfig
+++ b/arch/a
This series finishes up the work done for ARM U8500 in the U-Boot
2021.10 merge window. The new drivers are added to MAINTAINERS,
then enabled in Kconfig and finally the "stemmy" board is updated
to make use of them.
Stephan Gerhold (7):
MAINTAINERS: Add new drivers for ARM U8500
Update MAINTAINERS with various drivers for ARM U8500 that were
added during the U-Boot 2021.10 merge window.
Signed-off-by: Stephan Gerhold
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 776ff703b9..d64dcfacad 100644
--- a/MAINTAINERS
more efficient and cleaner but does not result
in any functional difference.
Cc: Ramon Fried
Signed-off-by: Stephan Gerhold
---
Changes in v2:
- Rebase on u-boot/master to fix conflict with recent changes
- Add comment to clarify what put_unaligned_be32() does here
arch/arm/mach
quot; that is later accessed.
To fix this, call mmc_init() to ensure the eMMC is initialized.
There is no functional difference if the eMMC is already initialized
since then mmc_init() will just return without doing anything.
Reviewed-by: Ramon Fried
Signed-off-by: Stephan Gerhold
---
(no cha
1 - 100 of 151 matches
Mail list logo