Re: [PATCH] riscv: defconfig: sophgo: enable clks for sg2042

From: Chen Wang
Date: Wed Aug 14 2024 - 20:14:57 EST


Hi, Palmer,

Could you please pick this into riscv/for-next?

Thanks,

Chen

On 2024/8/9 14:26, Chen Wang wrote:

On 2024/8/5 10:33, Chen Wang wrote:
From: Chen Wang <unicorn_wang@xxxxxxxxxxx>

Enable clk generators for sg2042 due to many peripherals rely on
these clocks.

Signed-off-by: Chen Wang <unicorn_wang@xxxxxxxxxxx>
---
  arch/riscv/configs/defconfig | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 0d678325444f..d43a028909e5 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -249,6 +249,9 @@ CONFIG_VIRTIO_BALLOON=y
  CONFIG_VIRTIO_INPUT=y
  CONFIG_VIRTIO_MMIO=y
  CONFIG_CLK_SOPHGO_CV1800=y
+CONFIG_CLK_SOPHGO_SG2042_PLL=y
+CONFIG_CLK_SOPHGO_SG2042_CLKGEN=y
+CONFIG_CLK_SOPHGO_SG2042_RPGATE=y
  CONFIG_SUN8I_DE2_CCU=m
  CONFIG_RENESAS_OSTM=y
  CONFIG_SUN50I_IOMMU=y

base-commit: de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed

Hi,Palmer,

Could you please have a look on this patch and pick it for next tree? These clk drivers are required for sg2042 to boot into minimal console.

Thanks,

Chen


_______________________________________________
linux-riscv mailing list
linux-riscv@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-riscv