Re: [PATCH 00/10] Add initial support for IPQ9574 based boards

2024-02-27 Thread Varadarajan Narayanan
On Tue, Feb 27, 2024 at 02:37:25AM +, Caleb Connolly wrote: > HI Varada, > > On 26/02/2024 10:07, Varadarajan Narayanan wrote: > > These patches introduce the initial support code needed > > for the QTI IPQ9574 SoC and RDP433 board. > > Awesome! Thanks for the fee

Re: [PATCH 01/10] mach-snapdragon: Add support for IPQ9574

2024-02-27 Thread Varadarajan Narayanan
ver letter and this became a blank commit. Will fix it in the next spin. > Also, can you cc me on the linker script patches as well? > Why do you need a different linker script than the default? Sure. Thanks Varada > On Mon, 26 Feb 2024 at 12:09, Varadarajan Narayanan > wrote: >

[PATCH 01/10] mach-snapdragon: Add support for IPQ9574

2024-02-26 Thread Varadarajan Narayanan
Signed-off-by: Varadarajan Narayanan --- arch/arm/dts/Makefile |2 + arch/arm/dts/ipq9574-default.dts | 167 +++ arch/arm/dts/ipq9574-rdp433-mht-phy.dts | 208 +++ arch/arm/dts/ipq9574.dtsi | 771 ++ .../include/mach

[PATCH 10/10] board: qualcomm: Add support for IPQ9574 RDP433

2024-02-26 Thread Varadarajan Narayanan
Provide the defconfig and include IPQ9574/RDP433 into the build framework. Signed-off-by: Varadarajan Narayanan --- arch/arm/mach-snapdragon/Kconfig | 15 arch/arm/mach-snapdragon/Makefile | 1 + configs/ipq9574_mmc_defconfig | 118 ++ 3 files changed

[PATCH 09/10] mmc: msm_sdhci: Reset clocks before reconfiguration

2024-02-26 Thread Varadarajan Narayanan
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. Signed-off-by: Varadarajan Narayanan --- drivers/mmc/msm_sdhci.c | 10 ++ 1 file changed

[PATCH 08/10] mmc: msm_sdhci: Handle different vendor cap register offsets

2024-02-26 Thread Varadarajan Narayanan
In the IPQ9574, the vendor capabilities register is at a different offset than in other SoCs. Hence add a vendor_cap field to msm_sdhc_variant_info structure to get the correct register offset. Signed-off-by: Varadarajan Narayanan --- drivers/mmc/msm_sdhci.c | 11 ++- 1 file changed

[PATCH 07/10] pinctrl: qcom: Include IPQ9574

2024-02-26 Thread Varadarajan Narayanan
Add support for IPQ9574 under pinctrl/qcom. Signed-off-by: Varadarajan Narayanan --- drivers/pinctrl/qcom/Kconfig | 7 +++ drivers/pinctrl/qcom/Makefile | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2fe6398147

[PATCH 06/10] pinctrl: qcom: Add support for 'pull-down'

2024-02-26 Thread Varadarajan Narayanan
Add support for 'pull-down' needed for IPQ9574. Signed-off-by: Varadarajan Narayanan --- drivers/pinctrl/qcom/pinctrl-qcom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-qcom.c b/drivers/pinctrl/qcom/pinctrl-qcom.c index dc3d8c4d90..ba53b6f

[PATCH 05/10] mach-snapdragon: Update gd->ram_size in msm_fixup_memory

2024-02-26 Thread Varadarajan Narayanan
* gd->ram_size: msm_fixup_memory calculates the amount of memory present in the system. Update 'gd->ram_size' with the computed value. * Update FDT only if 'blob' is not null Signed-off-by: Varadarajan Narayanan --- arch/arm/mach-snapdragon/dram.c | 10 +++

[PATCH 04/10] clk/qcom: Include IPQ9574

2024-02-26 Thread Varadarajan Narayanan
Include the IPQ9574 clock driver into build framework Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/Kconfig | 8 drivers/clk/qcom/Makefile | 1 + 2 files changed, 9 insertions(+) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 0df0d1881a

[PATCH 00/10] Add initial support for IPQ9574 based boards

2024-02-26 Thread Varadarajan Narayanan
something is not correct, will try to rectify to the best of my abilities. Thanks Varada Varadarajan Narayanan (10): mach-snapdragon: Add support for IPQ9574 mach-snapdragon: ipq9574: Add SMEM defines needed for IPQ9574 clk/qcom: Add support for clock registers in IPQ9574 clk/qcom: Include

[PATCH 03/10] clk/qcom: Add support for clock registers in IPQ9574

2024-02-26 Thread Varadarajan Narayanan
The BCR registers in IPQ9574 are different and have different fields. Add function to program these clocks accordingly. Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/clock-qcom.c | 32 drivers/clk/qcom/clock-qcom.h | 8 2 files changed, 40

[PATCH 02/10] mach-snapdragon: ipq9574: Add SMEM defines needed for IPQ9574

2024-02-26 Thread Varadarajan Narayanan
Add few SMEM related defines that will be used for IPQ9574 based boards. Signed-off-by: Varadarajan Narayanan --- include/smem.h | 78 ++ 1 file changed, 78 insertions(+) diff --git a/include/smem.h b/include/smem.h index b19c534ebc..f305354996