On Thu, Jul 17, 2025 at 03:01:04PM +0200, Casey Connolly wrote:
>
>
> On 16/07/2025 06:57, Varadarajan Narayanan wrote:
> > On Tue, Jul 15, 2025 at 02:30:09PM +0200, Casey Connolly wrote:
> >> Hi Varadarajan,
> >>
> >> On 7/15/25 12:15, Varadarajan Nara
On Tue, Jul 15, 2025 at 02:30:09PM +0200, Casey Connolly wrote:
> Hi Varadarajan,
>
> On 7/15/25 12:15, Varadarajan Narayanan wrote:
> > This series enables MMC based fastboot flashing for IPQ9574 boards.
> > For this the following are added/enabled
> > * USB2 &
Update the flashing instructions to include fastboot.
Signed-off-by: Varadarajan Narayanan
---
doc/board/qualcomm/rdp.rst | 14 ++
1 file changed, 14 insertions(+)
diff --git a/doc/board/qualcomm/rdp.rst b/doc/board/qualcomm/rdp.rst
index 99cf8eba57c..97a64e4677c 100644
--- a/doc
Port Qualcomm QMP USB PHY driver from Linux. This PHY is available in
many Qcom SoCs. Enabled and tested the driver on IPQ9574.
Signed-off-by: Varadarajan Narayanan
---
drivers/phy/qcom/Kconfig |8 +
drivers/phy/qcom/Makefile |1 +
drivers/phy
Enable MMC and USB device mode by default to be able to use
fastboot for flashing images to IPQ9574 based boards.
Signed-off-by: Varadarajan Narayanan
---
arch/arm/dts/ipq9574-rdp433-u-boot.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi
b
Enable relevant configs like USB PHY, gadget, fastboot,
fastboot MMC support etc. to enable fastboot flashing
of IPQ9574 based boards.
Signed-off-by: Varadarajan Narayanan
---
configs/qcom_ipq9574_mmc_defconfig | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff
Imported from Linux driver.
Signed-off-by: Varadarajan Narayanan
---
drivers/phy/qcom/phy-qcom-qusb2.c | 42 +++
1 file changed, 42 insertions(+)
diff --git a/drivers/phy/qcom/phy-qcom-qusb2.c
b/drivers/phy/qcom/phy-qcom-qusb2.c
index d98f6108e69..df82f2a99da
Add the USB controller and phy related clocks.
Signed-off-by: Varadarajan Narayanan
---
drivers/clk/qcom/clock-ipq9574.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/clk/qcom/clock-ipq9574.c b/drivers/clk/qcom/clock-ipq9574.c
index b0af4036059
This series enables MMC based fastboot flashing for IPQ9574 boards.
For this the following are added/enabled
* USB2 & USB3 phys support
* USB Gadget support, Fastboot-MMC related configs
* Flashing related documentation
Varadarajan Narayanan (6):
clk/qcom: Add
[ . . . ]
> > > ignoring that for a sec, I'm a bit worried still about how this behaves on
> > > boards that don't implement this psci call, on sdm845 for example we just
> > > hang.
> > >
> > > I think psci_system_reset2() should be adjusted to time out (though I
> > > can't
> > > imagine a psci
Add an API to check if a specific PSCI function is supported or not.
This is based on the psci_features() function present in Linux kernel
(drivers/firmware/psci/psci.c).
Signed-off-by: Varadarajan Narayanan
---
arch/arm/cpu/armv8/fwcall.c | 15 +++
arch/arm/include/asm/system.h
Move to SYSRESET for implementing the reset command.
Reviewed-by: Sumit Garg
Signed-off-by: Varadarajan Narayanan
---
v2: Add 'Reviewed-by: Sumit Garg'
---
configs/qcs9100_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcs9100_defconfig b/configs/qcs9100
Add help text about '-edl' option to reset command definition and
related documentation.
Signed-off-by: Varadarajan Narayanan
---
cmd/boot.c | 3 +++
doc/usage/cmd/reset.rst | 2 ++
2 files changed, 5 insertions(+)
diff --git a/cmd/boot.c b/cmd/boot.c
index 2
Implement request_arg() sysreset_op for QCOM SoCs that use
PSCI to reset to EDL (Emergency Download) mode.
Signed-off-by: Varadarajan Narayanan
---
v4: * Check if ARM_PSCI_1_1_FN64_SYSTEM_RESET2 is supported before
issuing it
v3: * Move argument handling to a separate function and pass
Add a 'request_arg' op to struct sysreset_ops to enable sysreset drivers
to receive arguments given to the 'reset' command. Process the
request_arg() op before the usual request() op.
Signed-off-by: Varadarajan Narayanan
---
v4: Fix compiler warnings -> s/const char
ot applicable anymore
* Bind the new driver from psci driver
Varadarajan Narayanan (5):
arm: psci: Add API to check for support of specific PSCI function
drivers: sysreset: Add sysreset op that can take arguments
sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs
cmd:
On Wed, Jun 11, 2025 at 01:55:32PM +0200, Casey Connolly wrote:
> Hi Varadarajan,
>
> On 5/7/25 09:07, Varadarajan Narayanan wrote:
> > Using the 'reboot edl' command in Linux, the platform can reboot to the
> > Emergency Download mode. Implement the same for U-
250603192206.GK1382132@bill-the-cat/
> >
> > Signed-off-by: Aswin Murugan
>
> Reviewed-by: Casey Connolly
>
> Balaji and Varadarajan can you send Acked-by tags for this?
Acked-by: Varadarajan Narayanan
> Kind regards,
>
> > ---
> > board/qualcom
On Mon, May 19, 2025 at 08:19:05AM -0600, Tom Rini wrote:
> On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote:
>
> > From: Vandhiadevan Karunamoorthy
> >
> > There are code paths in do_imgextract(), where 'dest' could be zero.
> > He
On Wed, Nov 27, 2024 at 06:08:25AM -0700, Simon Glass wrote:
> Hi Caleb,
>
> On Tue, 26 Nov 2024 at 09:15, Caleb Connolly
> wrote:
> >
> > Hi Simon,
> >
> > On 26/11/2024 16:38, Simon Glass wrote:
> > > Hi Caleb,
> > >
> > > On Tue, 26 Nov 2024 at 05:22, Caleb Connolly
> > > wrote:
> > >>
> > >
From: Vandhiadevan Karunamoorthy
There are code paths in do_imgextract(), where 'dest' could be zero.
Hence, avoid cache flush of 'dest' doesn't point to any data buffer.
Signed-off-by: Vandhiadevan Karunamoorthy
Signed-off-by: Varadarajan Narayanan
---
cmd/ximg.c |
Enable CONFIG_ENV_IS_IN_SCSI to store environment variables in SCSI.
Set env variables partition UUID as seen in qcs9100 based boards.
Signed-off-by: Varadarajan Narayanan
---
v3: s/CONFIG_SCSI_ENV_PART/CONFIG_SCSI_ENV_PART_UUID
---
configs/qcs9100_defconfig | 5 -
1 file changed, 4
The steps are similar to other boards. Minor difference in
the way environment variables are stored.
Signed-off-by: Varadarajan Narayanan
---
doc/board/qualcomm/iq9.rst | 62 ++
1 file changed, 62 insertions(+)
create mode 100644 doc/board/qualcomm/iq9.rst
Allow SCSI to be able to store environment variables.
Signed-off-by: Varadarajan Narayanan
---
v3: s/SCSI_ENV_PART/SCSI_ENV_PART_UUID
---
env/Kconfig| 15 +-
env/Makefile | 1 +
env/env.c | 3 ++
env/scsi.c | 115
Add a function to obtain the block device for SCSI.
Signed-off-by: Varadarajan Narayanan
---
v3: * s/scsi_get_blk/scsi_get_blk_by_uuid
* s/partition_name/uuid
---
drivers/scsi/scsi-uclass.c | 30 ++
include/scsi.h | 10 ++
2 files changed, 40
Add function to search for a partition by UUID as partition
names may not be unique.
Signed-off-by: Varadarajan Narayanan
---
v4: Use if (!CONFIG_IS_ENABLED(PARTITION_UUIDS)) instead of '#if'
Not breaking from the for loop if '->get_info()' returns non-zero
to ha
he platform
v3: s/scsi_get_blk/scsi_get_blk_by_uuid
Fix argument name in scsi_get_blk_by_uuid
v2: Add part_get_info_by_uuid() similar to part_get_info_by_name()
Use SCSI instead of UFS
Use UUID for SCSI_ENV_PART instead of name
Varadarajan Narayanan (5):
disk: part: implement g
On Wed, May 07, 2025 at 01:47:40PM +0200, Casey Connolly wrote:
> Hi Varadarajan,
>
> On 5/7/25 13:28, Varadarajan Narayanan wrote:
> > Add function to search for a partition by UUID as partition
> > names may not be unique.
> >
> > Signed-off-by: Varadarajan Nar
Enable CONFIG_ENV_IS_IN_SCSI to store environment variables in SCSI.
Set env variables partition UUID as seen in qcs9100 based boards.
Signed-off-by: Varadarajan Narayanan
---
v3: s/CONFIG_SCSI_ENV_PART/CONFIG_SCSI_ENV_PART_UUID
---
configs/qcs9100_defconfig | 5 -
1 file changed, 4
Allow SCSI to be able to store environment variables.
Signed-off-by: Varadarajan Narayanan
---
v3: s/SCSI_ENV_PART/SCSI_ENV_PART_UUID
---
env/Kconfig| 15 +-
env/Makefile | 1 +
env/env.c | 3 ++
env/scsi.c | 115
Add function to search for a partition by UUID as partition
names may not be unique.
Signed-off-by: Varadarajan Narayanan
---
disk/part.c| 37 +
include/part.h | 20
2 files changed, 57 insertions(+)
diff --git a/disk/part.c b/disk
Add a function to obtain the block device for SCSI.
Signed-off-by: Varadarajan Narayanan
---
v3: * s/scsi_get_blk/scsi_get_blk_by_uuid
* s/partition_name/uuid
---
drivers/scsi/scsi-uclass.c | 30 ++
include/scsi.h | 10 ++
2 files changed, 40
() similar to part_get_info_by_name()
Use SCSI instead of UFS
Use UUID for SCSI_ENV_PART instead of name
Varadarajan Narayanan (4):
disk: part: implement generic function part_get_info_by_uuid()
scsi: Implement get_blk() function
env: Add support for storing env variables in SCSI devices
Implement request_arg() sysreset_op for QCOM SoCs that use
PSCI to reset to EDL (Emergency Download) mode.
Signed-off-by: Varadarajan Narayanan
---
v3: * Move argument handling to a separate function and pass the
arguments to the actual handler to process
* Drop Qcom specific
Move to SYSRESET for implementing the reset command.
Reviewed-by: Sumit Garg
Signed-off-by: Varadarajan Narayanan
---
v2: Add 'Reviewed-by: Sumit Garg'
---
configs/qcs9100_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcs9100_defconfig b/configs/qcs9100
Add a 'request_arg' op to struct sysreset_ops to enable sysreset drivers
to receive arguments given to the 'reset' command. Process the
request_arg() op before the usual request() op.
Signed-off-by: Varadarajan Narayanan
---
drivers/sysreset/sy
alone in qcom-psci driver
v2: * Rebased to recent sources
* Dropped the first patch as it is not applicable anymore
* Bind the new driver from psci driver
Varadarajan Narayanan (3):
drivers: sysreset: Add sysreset op that can take arguments
sysreset: Implement PSCI based reset to ED
On Tue, Apr 01, 2025 at 04:37:40PM +0200, neil.armstr...@linaro.org wrote:
> On 01/04/2025 16:10, Tom Rini wrote:
> > On Tue, Apr 01, 2025 at 01:30:12PM +0530, Varadarajan Narayanan wrote:
> >
> > > The qcs9100 based Ride platforms have UFS as their primary storage.
>
Enable CONFIG_ENV_IS_IN_SCSI to store environment variables in SCSI.
Set env variables partition UUID as seen in qcs9100 based boards.
Signed-off-by: Varadarajan Narayanan
---
configs/qcs9100_defconfig | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configs
Add a function to obtain the block device for SCSI.
Signed-off-by: Varadarajan Narayanan
---
drivers/scsi/scsi-uclass.c | 30 ++
include/scsi.h | 11 +++
2 files changed, 41 insertions(+)
diff --git a/drivers/scsi/scsi-uclass.c b/drivers/scsi
Allow SCSI to be able to store environment variables.
Signed-off-by: Varadarajan Narayanan
---
env/Kconfig| 15 +-
env/Makefile | 1 +
env/env.c | 3 ++
env/scsi.c | 115 +
include/env_internal.h
SCSI_ENV_PART instead of name
Varadarajan Narayanan (4):
disk: part: implement generic function part_get_info_by_uuid()
scsi: Implement get_blk() function
env: Add support for storing env variables in SCSI devices
configs: qcs9100: Enable env in SCSI
configs/qcs9100_defconfig | 5 +-
disk
Add function to search for a partition by UUID as partition
names may not be unique.
Signed-off-by: Varadarajan Narayanan
---
disk/part.c| 37 +
include/part.h | 20
2 files changed, 57 insertions(+)
diff --git a/disk/part.c b/disk
On Fri, May 02, 2025 at 02:32:52PM +0200, Casey Connolly wrote:
> Hi Varadarajan,
>
> You have almost entirely ignored my feedback on the previous revision.
Sorry. Since you had said "For now I'm fine with this new
sysreset-qcom.c driver", in [1], I assumed you were ok with just
addressing the tec
On Mon, Apr 28, 2025 at 04:22:47PM +0200, Casey Connolly wrote:
>
>
> On 4/10/25 14:02, Varadarajan Narayanan wrote:
> > Add SYSRESET_EDL to sysreset_t and handle the different SYSRESET_xxx
> > requests in sysreset_qcom-psci.c.
>
> To be honest, I'm not really
Move to SYSRESET for implementing the reset command.
Reviewed-by: Sumit Garg
Signed-off-by: Varadarajan Narayanan
---
v2: Add 'Reviewed-by: Sumit Garg'
---
configs/qcs9100_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcs9100_defconfig b/configs/qcs9100
o the usual cold/warm
reset and poweroff.
Signed-off-by: Varadarajan Narayanan
---
v2: * Update commit message
* Elaborate Kconfig help text
* Use '-edl' instead of 'edl' for consistency with other arguments of reset
command
* Remove 'weak' for qcom_
Using the 'reboot edl' command in Linux, the platform can reboot to the
Emergency Download mode. Implement the same for U-Boot.
v2: * Rebased to recent sources
* Dropped the first patch as it is not applicable anymore
* Bind the new driver from psci driver
Varadarajan Na
On Mon, Apr 28, 2025 at 04:22:47PM +0200, Casey Connolly wrote:
>
>
> On 4/10/25 14:02, Varadarajan Narayanan wrote:
> > Add SYSRESET_EDL to sysreset_t and handle the different SYSRESET_xxx
> > requests in sysreset_qcom-psci.c.
>
> To be honest, I'm not really
Add SYSRESET_EDL to sysreset_t and handle the different SYSRESET_xxx
requests in sysreset_qcom-psci.c.
Signed-off-by: Varadarajan Narayanan
---
drivers/sysreset/Kconfig | 5 +++
drivers/sysreset/Makefile | 1 +
drivers/sysreset/sysreset-uclass.c| 7 ++--
drivers
Move to SYSRESET for implementing the reset command.
Signed-off-by: Varadarajan Narayanan
---
configs/qcs9100_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcs9100_defconfig b/configs/qcs9100_defconfig
index 10ff4d25398..1fb621b27ce 100644
--- a/configs
Using the 'reboot edl' command in Linux, the platform can reboot to the
Emergency Download mode. Implement the same for U-Boot.
Varadarajan Narayanan (3):
mach-snapdragon: Do not define reset_cpu() if SYSRESET is enabled
sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs
-off-by: Varadarajan Narayanan
---
arch/arm/mach-snapdragon/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 2ef936aab75..2254e0b55a1 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon
UFS devices uses the block and scsi frameworks. Enable UFS erase
support by adding erase support to SCSI.
Signed-off-by: Varadarajan Narayanan
---
cmd/scsi.c | 3 +-
drivers/scsi/scsi.c | 92 +
include/scsi.h | 13 +++
3 files
Add support for doing 'erase' using the generic block commands
framework.
Signed-off-by: Varadarajan Narayanan
---
cmd/blk_common.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/cmd/blk_common.c b/cmd/blk_common.c
index 4c05a4e0610..56529702a47 100644
On Tue, Apr 01, 2025 at 06:29:31PM +0200, Heinrich Schuchardt wrote:
> On 01.04.25 10:00, Varadarajan Narayanan wrote:
> > Add a function to obtain the block device for SCSI.
> >
> > Signed-off-by: Varadarajan Narayanan
> > ---
> >
Allow UFS to be able to store environment variables.
Signed-off-by: Varadarajan Narayanan
---
env/Kconfig| 15 +-
env/Makefile | 1 +
env/env.c | 3 ++
env/ufs.c | 115 +
include/env_internal.h
UFS devices uses the block and scsi frameworks. Enable UFS erase
support by adding erase support to SCSI.
Signed-off-by: Varadarajan Narayanan
---
v2: Remove the scsi_get_blk() function prototype in include/scsi.h.
That is not related to this series.
---
cmd/scsi.c | 3 +-
drivers
On Tue, Apr 01, 2025 at 10:02:05AM +0300, Ilias Apalodimas wrote:
> On Tue, 1 Apr 2025 at 09:46, Varadarajan Narayanan
> wrote:
> >
> > On Thu, Mar 27, 2025 at 11:22:58PM +0200, Ilias Apalodimas wrote:
> > > On Thu, 27 Mar 2025 at 08:12, Varadarajan Narayanan
> >
API to convert partition name string to block device
descriptor for UFS. This API will be used to get the block device
descriptor for the partition specified in CONFIG_SYS_UFS_ENV_PART.
Varadarajan Narayanan (3):
scsi: Implement get_blk() function
env: Add support for storing env variables in UFS
Add a function to obtain the block device for SCSI.
Signed-off-by: Varadarajan Narayanan
---
drivers/scsi/scsi-uclass.c | 30 ++
include/scsi.h | 12
2 files changed, 42 insertions(+)
diff --git a/drivers/scsi/scsi-uclass.c b/drivers/scsi
On Fri, Mar 28, 2025 at 04:44:48AM -0600, Simon Glass wrote:
[ . . . ]
> > diff --git a/include/scsi.h b/include/scsi.h
> > index b18ae37b861..d6b6e6b665f 100644
> > --- a/include/scsi.h
> > +++ b/include/scsi.h
> > @@ -9,6 +9,7 @@
> > #include
> > #include
> > #include
> > +#include
> >
>
Enable CONFIG_ENV_IS_IN_UFS to store environment variables in UFS.
Set env variables partition name as 'ubootenv'.
Signed-off-by: Varadarajan Narayanan
---
configs/qcs9100_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/qcs9100_defconfig b/configs/qcs9100
On Thu, Mar 27, 2025 at 11:22:58PM +0200, Ilias Apalodimas wrote:
> On Thu, 27 Mar 2025 at 08:12, Varadarajan Narayanan
> wrote:
> >
> > On Wed, Mar 26, 2025 at 09:28:04AM +0200, Ilias Apalodimas wrote:
> > > Hi Varadarajan
> > >
> > > On Wed
On Wed, Mar 26, 2025 at 09:28:04AM +0200, Ilias Apalodimas wrote:
> Hi Varadarajan
>
> On Wed, 26 Mar 2025 at 07:47, Varadarajan Narayanan
> wrote:
> >
> > If the EFI runtime services pointers are relocated even though
> > relocation is skipped, it corrupts som
ually,
after the completion of efi_runtime_relocate(), when a driver tries to
access its device's registers it crashes since the mappings are absent.
Signed-off-by: Varadarajan Narayanan
---
common/board_r.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/b
Add the PMC8380 regulator data found on the Qualcomm SA8775P platform.
The tables are imported from the Linux driver.
Signed-off-by: Varadarajan Narayanan
---
drivers/power/regulator/qcom-rpmh-regulator.c | 45 +++
1 file changed, 45 insertions(+)
diff --git a/drivers/power
Add support for doing 'erase' using the generic block commands
framework.
Signed-off-by: Varadarajan Narayanan
---
cmd/blk_common.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/cmd/blk_common.c b/cmd/blk_common.c
index 4c05a4e0610..56529702a47 100644
Enable the pinctrl driver for SA8775P
Signed-off-by: Varadarajan Narayanan
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 661a484f7bf..20c49223201 100644
--- a/configs/qcom_defconfig
+++ b/configs
Add pinctrl and GPIO driver for SA8775P. Driver code is based on the
similar U-Boot and Linux drivers.
Signed-off-by: Varadarajan Narayanan
---
drivers/pinctrl/qcom/Kconfig | 7 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sa8775p.c | 623
On Tue, Mar 11, 2025 at 03:27:25PM +, Caleb Connolly wrote:
> Hi Varadarajan,
>
> Thanks for the series, and apologies for the slow reply, i've been out sick
> and still finding my feet again.
Oops. Sorry to have troubled you.
> On 3/4/25 11:01, Varadarajan Narayanan wr
Introduce a defconfig for the Qualcomm IPQ5424 SoC based RDPs.
Presently supports eMMC.
Per the flash memory layout, U-Boot size cannot exceed 756KB. With this
defconfig, u-boot.mbn size is ~480KB.
Signed-off-by: Varadarajan Narayanan
---
configs/qcom_ipq5424_mmc_defconfig | 83
Add pinctrl driver for the TLMM block found in the ipq5424 SoC.
Signed-off-by: Varadarajan Narayanan
---
drivers/pinctrl/qcom/Kconfig | 7 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-ipq5424.c | 322 +
3 files changed, 330
Add initial set of clocks and resets for enabling U-Boot on ipq5424
based RDP platforms.
Signed-off-by: Varadarajan Narayanan
---
drivers/clk/qcom/Kconfig | 8 +++
drivers/clk/qcom/Makefile| 1 +
drivers/clk/qcom/clock-ipq5424.c | 96
drivers
The IPQ5424 SoC has both USB2.0 and USB3.0 controllers. The USB3.0
can connect to either of USB2.0 or USB3.0 phy and operate in the
respective mode.
Signed-off-by: Varadarajan Narayanan
Reviewed-by: Dmitry Baryshkov
Link: https://lore.kernel.org/r/20241118052839.382431-7-quic_var...@quicinc.com
Add initial support for the IPQ5424 MMC based RDP platforms.
Define memory layout statically.
Signed-off-by: Varadarajan Narayanan
---
arch/arm/dts/ipq5424-rdp466-u-boot.dtsi | 37 +
1 file changed, 37 insertions(+)
create mode 100644 arch/arm/dts/ipq5424-rdp466-u
IPQ5424 expects U-Boot to have MBN version 7 header. The qtestsign tool
presently documented doesn't support v7. Hence update the instructions
to use a different tool that can support both v6 and v7.
Signed-off-by: Varadarajan Narayanan
---
doc/board/qualcomm/rdp.rst | 15 +
These patches introduce the initial support code needed
for the QTI IPQ5424 SoC and RDP466 board.
Please see [1] for SoC related details
Thanks
Varada
1 -
https://docs.qualcomm.com/bundle/publicresource/87-82994-1_REV_B_Qualcomm_Networking_Pro_A7_Elite_Platform_Product_Brief.pdf
Varadarajan
Add initial support for the IPQ9574 MMC based RDP platforms.
Define memory layout statically.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
v3: Fix comments and give additional details
No code change
v2: Use upstream an
On Tue, Feb 25, 2025 at 11:42:43AM +, Caleb Connolly wrote:
[ . . . ]
> > +static int ipq9574_enable(struct clk *clk)
> > +{
> > + struct msm_clk_priv *priv = dev_get_priv(clk->dev);
> > +
> > + debug("%s: clk %s\n", __func__, ipq9574_clks[clk->id].name);
> > +
> > + switch (clk->id) {
Introduce a defconfig for the Qualcomm IPQ9574 SoC based RDPs.
Presently supports eMMC.
Per the flash memory layout, U-Boot size cannot exceed 756KB. With this
defconfig, u-boot.mbn size is ~480KB.
Reviewed-by: Sumit Garg
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5
U-Boot has to reconfigure the clocks that were set in the boot
loaders. However, in IPQ9574, the clocks have to be reset before
they can be reconfigured. Hence add code to do the relevant
resets.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
drivers/mmc/msm_sdhci.c | 10
compile test done.
Signed-off-by: Varadarajan Narayanan
---
drivers/pinctrl/qcom/pinctrl-apq8016.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-apq8096.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-ipq4019.c | 3 +--
drivers/pinctrl/qcom/pinctrl-qcm2290.c | 2 +-
drivers/pinctrl/qcom/pinctrl-qcom.c | 5
Add pinctrl driver for the TLMM block found in the ipq9574 SoC.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
Remove 'special_pins_start' struct msm_pinctrl_data ipq9574_data
---
drivers/pinctrl/qcom/Kco
Add initial set of clocks and resets for enabling U-Boot on ipq9574
based RDP platforms.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v6: Use qcom_gate_clk_en(priv, clk->id) instead of switch case for
each clock individually
v3: Use gate clk framework
v2: Combi
var...@quicinc.com/
Varadarajan Narayanan (7):
doc: board/qualcomm: document RDP building/flashing
dts: ipq9574-rdp433-u-boot: add override dtsi
clk/qcom: add initial clock driver for ipq9574
pinctrl: qcom: Handle get_function_mux failure
pinctrl: qcom: Add ipq9574 pinctrl driver
Introducing basic support for Qualcomm IPQxxx based RDPs.
Document the build and flashing steps.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
---
doc/board/qualcomm/rdp.rst | 55 ++
1 fi
U-Boot has to reconfigure the clocks that were set in the boot
loaders. However, in IPQ9574, the clocks have to be reset before
they can be reconfigured. Hence add code to do the relevant
resets.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
drivers/mmc/msm_sdhci.c | 10
Introduce a defconfig for the Qualcomm IPQ9574 SoC based RDPs.
Presently supports eMMC.
Per the flash memory layout, U-Boot size cannot exceed 756KB. With this
defconfig, u-boot.mbn size is ~480KB.
Reviewed-by: Sumit Garg
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5
Add pinctrl driver for the TLMM block found in the ipq9574 SoC.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
Remove 'special_pins_start' struct msm_pinctrl_data ipq9574_data
drivers/pinctrl/qcom/Kco
compile test done.
Signed-off-by: Varadarajan Narayanan
---
drivers/pinctrl/qcom/pinctrl-apq8016.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-apq8096.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-ipq4019.c | 3 +--
drivers/pinctrl/qcom/pinctrl-qcm2290.c | 2 +-
drivers/pinctrl/qcom/pinctrl-qcom.c | 5
Add initial support for the IPQ9574 MMC based RDP platforms.
Define memory layout statically.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
v3: Fix comments and give additional details
No code change
v2: Use upstream an
Add initial set of clocks and resets for enabling U-Boot on ipq9574
based RDP platforms.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v3: Use gate clk framework
v2: Combined driver file and makefile/kconfig changes into one patch
---
drivers/clk/qcom/Kconfig
Introducing basic support for Qualcomm IPQxxx based RDPs.
Document the build and flashing steps.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v5: Add 'Reviewed-by: Caleb Connolly'
---
doc/board/qualcomm/rdp.rst | 55 ++
1 fi
series
* Use reset_get_by_index instead of reset_get_by_name
v1:
https://lore.kernel.org/u-boot/20240226100807.1095607-1-quic_var...@quicinc.com/
Varadarajan Narayanan (7):
doc: board/qualcomm: document RDP building/flashing
dts: ipq9574-rdp433-u-boot: add override dtsi
clk/qcom: add
On Thu, Feb 20, 2025 at 08:44:23PM +, Caleb Connolly wrote:
[ . . . ]
> > +&sdhc_1 {
> > + sdhci-caps-mask = <0x0 0x0400>;
> > + sdhci-caps = <0x0 0x0400>; /* SDHCI_CAN_VDD_180 */
> > +
> > + /*
> > +* This reset is needed to clear out the settings done by
> > +* previo
Introduce a defconfig for the Qualcomm IPQ9574 SoC based RDPs.
Presently supports eMMC.
Per the flash memory layout, U-Boot size cannot exceed 756KB. With this
defconfig, u-boot.mbn size is ~480KB.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
v4: Don't in
series
* Use reset_get_by_index instead of reset_get_by_name
v1:
https://lore.kernel.org/u-boot/20240226100807.1095607-1-quic_var...@quicinc.com/
Varadarajan Narayanan (7):
doc: board/qualcomm: document RDP building/flashing
dts: ipq9574-rdp433-u-boot: add override dtsi
clk/qcom: add
U-Boot has to reconfigure the clocks that were set in the boot
loaders. However, in IPQ9574, the clocks have to be reset before
they can be reconfigured. Hence add code to do the relevant
resets.
Reviewed-by: Caleb Connolly
Signed-off-by: Varadarajan Narayanan
---
drivers/mmc/msm_sdhci.c | 10
Add pinctrl driver for the TLMM block found in the ipq9574 SoC.
Signed-off-by: Varadarajan Narayanan
---
drivers/pinctrl/qcom/Kconfig | 7 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-ipq9574.c | 227 +
3 files changed, 235
1 - 100 of 170 matches
Mail list logo