RE: [PATCH 1/2] clk: clk-imx8qxp: Add LPUART IPG entries

2024-03-09 Thread Hiago De Franco
On 09.03.2024 01:15, Peng Fan wrote: > > Subject: [PATCH 1/2] clk: clk-imx8qxp: Add LPUART IPG entries > > > > Since commit cc7df0b9e8bc ("serial: lpuart: Enable IPG clock") the colibri- > > imx8qxp board no longer boots. > > > > The reason is that the imx8qxp clock driver does not handle the

[PATCH] sunxi: h616: add initial support for T95 AXP313 TV Box

2024-03-09 Thread Kamil Kasperski
T95 is a most commonly known for being a box with a pre-installed malware. It uses Allwinner H616 and comes with eMMC and DDR3 memory. This device comes with two versions - one with AXP305 PMIC and another with AXP313 PMIC. The AXP313 version comes with Secure Boot enabled and locked bootloader,

[PATCH v2 3/3] configs: milkv_duo: Add SD card configs

2024-03-09 Thread Kongyang Liu
Add configs related to sdhci and mmc for Sophgo Milk-V Duo board Signed-off-by: Kongyang Liu --- (no changes since v1) configs/milkv_duo_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig index

[PATCH v2 2/3] riscv: dts: sophgo: Add clk node and sdhci node

2024-03-09 Thread Kongyang Liu
Add clk node and sdhci node for cv18xx SoCs according to patches from Linux kernel. clk: https://lore.kernel.org/all/ia1pr20mb4953f9ad6792013b54636f05bb...@ia1pr20mb4953.namprd20.prod.outlook.com/ sdhci: https://lore.kernel.org/all/20240217144826.3944-1-jszh...@kernel.org/ Signed-off-by:

[PATCH v2 1/3] mmc: cv1800b: Add sdhci driver support for cv1800b SoC

2024-03-09 Thread Kongyang Liu
Add sdhci driver for cv1800b SoC. Signed-off-by: Kongyang Liu --- Changes in v2: - Refactored and simplified some of the code. drivers/mmc/Kconfig | 13 drivers/mmc/Makefile| 1 + drivers/mmc/cv1800b_sdhci.c | 116 3 files changed,

[PATCH v2 0/3] mmc: sophgo: milkv_duo: Add SD card support for Milk-V Duo board

2024-03-09 Thread Kongyang Liu
This series add sdhci driver for cv1800b SoC and enable SD card support for Sophgo Milk-V Duo board. Changes in v2: - Refactored and simplified some of the code. - Sync device tree with ptaches from Linux kernel Kongyang Liu (3): mmc: cv1800b: Add sdhci driver support for cv1800b SoC riscv:

[PATCH v2 2/2] riscv: cache: Implement dcache for cv1800b

2024-03-09 Thread Kongyang Liu
Add dcache operations invalidate_dcache_range and flush_dcache_range for cv1800b. Signed-off-by: Kongyang Liu --- (no changes since v1) arch/riscv/cpu/cv1800b/Makefile | 1 + arch/riscv/cpu/cv1800b/cache.c | 45 + 2 files changed, 46 insertions(+) create

[PATCH v2 1/2] riscv: cpu: cv1800b: Add support for cv1800b SoC

2024-03-09 Thread Kongyang Liu
Add Sophgo cv1800b SoC to support RISC-V arch. Signed-off-by: Kongyang Liu --- Changes in v2: - Remove duplicate code in function cleanup_before_linux arch/riscv/Kconfig | 1 + arch/riscv/cpu/cv1800b/Kconfig | 12 arch/riscv/cpu/cv1800b/Makefile | 6 ++

[PATCH v2 0/2] riscv: cpu: Add support for cv1800b SoC

2024-03-09 Thread Kongyang Liu
This series add basic support for cv1800b SoC and enable dcache support. The cv1800b utilizes CSR instructions to manipulate the first and second bits in the MHCR register (0x7C1) to indicate the activation status of icache and dcache. As the icache and dcache are already enabled in the FSBL

Re: [PULL] u-boot-usb/master

2024-03-09 Thread Tom Rini
On Sat, Mar 09, 2024 at 05:08:37PM +0100, Marek Vasut wrote: > Singular quirk DT property rename. Fix for master branch. > > The following changes since commit eac52e4be4e234d563d6911737ee7ccdc0ada1f1: > > Merge patch series "ARM: renesas: Rename R-Mobile to Renesas" (2024-03-02 > 14:30:25

Re: [PATCH v2] net: phy: Use PHY MDIO address from DT if available

2024-03-09 Thread Tom Rini
On Sun, 28 Jan 2024 02:19:40 +0100, Marek Vasut wrote: > In case the PHY is fully described in DT, use PHY MDIO address > from DT directly instead of always using auto-detection. This > also fixes the behavior of 'mdio list' in such DT setup, which > now prints the PHY connected to the MAC

Re: [PATCH] clk: Fix error message in clk_get_bulk

2024-03-09 Thread Sam Protsenko
On Sat, Mar 9, 2024 at 6:27 AM Jan Kiszka wrote: > > From: Jan Kiszka > > Fix a logical inversion of the printed text. > > Signed-off-by: Jan Kiszka > --- Reviewed-by: Sam Protsenko > drivers/clk/clk-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PULL] u-boot-usb/master

2024-03-09 Thread Marek Vasut
Singular quirk DT property rename. Fix for master branch. The following changes since commit eac52e4be4e234d563d6911737ee7ccdc0ada1f1: Merge patch series "ARM: renesas: Rename R-Mobile to Renesas" (2024-03-02 14:30:25 -0500) are available in the Git repository at:

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2024-03-09 Thread Fabio Estevam
On Sat, Mar 9, 2024 at 9:39 AM Marc Zyngier wrote: > Can you figure out what memory access is triggering it? Even at > narrowing it to the subsystem level would be a good indication. The problem happens so early that I am not able to narrow it down at subsystem level. > You could just dump the

Re: [PATCH v2 5/5] power: regulator: tps65941: Add TPS65224 PMIC regulator support

2024-03-09 Thread Dan Carpenter
On Fri, Mar 08, 2024 at 02:40:11PM +0530, Dhruva Gole wrote: > > + > > + if (val < 0 || val > mask) > > + return -EINVAL; > > Probably combine this with below if's, eitherway is fine. > > > + > > + if (val <= reg_base) > > + return base; > > + > > + if (val >= reg_max)

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2024-03-09 Thread Marc Zyngier
On Sat, 09 Mar 2024 12:29:10 +, Fabio Estevam wrote: > > Hi Marc, > > On Sat, Mar 9, 2024 at 6:53 AM Marc Zyngier wrote: > > > It would be good to narrow down which access is generating this. It is > > an asynchronous error, so the code above won't help. > > > > Alternatively, and if you

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2024-03-09 Thread Fabio Estevam
Hi Marc, On Sat, Mar 9, 2024 at 6:53 AM Marc Zyngier wrote: > It would be good to narrow down which access is generating this. It is > an asynchronous error, so the code above won't help. > > Alternatively, and if you are sure that this is due to this change, > dumping the page tables and

[PATCH] clk: Fix error message in clk_get_bulk

2024-03-09 Thread Jan Kiszka
From: Jan Kiszka Fix a logical inversion of the printed text. Signed-off-by: Jan Kiszka --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index ed6e60bc484..78d8ea94c65 100644 ---

Re: [PATCH 1/2] arm64: Reduce add_map() complexity

2024-03-09 Thread Marc Zyngier
On Fri, 08 Mar 2024 20:22:53 +, Fabio Estevam wrote: > > Hi Paul and Tom, > > On Tue, Feb 14, 2023 at 10:38 AM Ying-Chun Liu (PaulLiu) > wrote: > > > > From: Marc Zyngier > > > > In the add_map() function, for each level it populates, it iterates from > > the root of the PT tree, making

Re: [PATCH] riscv: dts: jh7110: fix indentation

2024-03-09 Thread Leo Liang
On Mon, Mar 04, 2024 at 09:51:47PM +0100, Leon M. Busch-George wrote: > From: "Leon M. Busch-George" > > Signed-off-by: Leon M. Busch-George > --- > arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Leo Yu-Chi Liang