riscv: defconfig: sophgo: enable clks for sg2042
PATCH 1/1 riscv: defconfig: sophgo: enable clks for sg2042
From: Chen Wang <[email protected]>
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
--- arch/riscv/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/riscv/configs/defconfig +3 -0
@@ -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
Signature · 1 line
2.34.1
Quoted 15 lines · Chen Wang
From: Chen Wang <[email protected]>
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Signed-off-by Chen Wang <[email protected]>--- arch/riscv/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/riscv/configs/defconfig +0
-0
arch/riscv/configs/defconfig CONFIG_VIRTIO_BALLOON=y · line 257
Quoted 9 lines
arch/riscv/configs/defconfig +3
-0@@ -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
Are these all critical to boot or could they be modules?
/Emil
Quoted 10 lines
base-commit:
de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed--
2.34.1_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 27 lines · Emil Renner Berthing
Quoted 15 lines · Chen Wang
From: Chen Wang <[email protected]>
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Signed-off-by Chen Wang <[email protected]>--- arch/riscv/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/riscv/configs/defconfig +0
-0arch/riscv/configs/defconfig CONFIG_VIRTIO_BALLOON=y · line 257
Quoted 9 lines
arch/riscv/configs/defconfig +3
-0@@ -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=yAre these all critical to boot or could they be modules?
Quoted 1 line
/Emil
Since 6.11, sg2042.dtsi has been changed and uart now has dependency on clocks and boot into minimal console will fail without this.
The sg2042 clock is configured as builtin to facilitate bootup in initramfs with defconfig build.
Regards.
Chen
Quoted 9 lines
Quoted 9 lines
base-commit:
de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed--
2.34.1_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 25 lines · Chen Wang
From: Chen Wang <[email protected]>
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Signed-off-by Chen Wang <[email protected]>--- arch/riscv/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/riscv/configs/defconfig +3
-0@@ -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
Quoted 1 line
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
Hi, Palmer,
Could you please pick this into riscv/for-next?
Thanks,
Chen
Quoted 42 lines · Chen Wang
Quoted 25 lines · Chen Wang
From: Chen Wang <[email protected]>
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Signed-off-by Chen Wang <[email protected]>---
arch/riscv/configs/defconfig| 3 +++1 file changed, 3 insertions(+)arch/riscv/configs/defconfig +0
-0@@ -249,6 +249,9 @@ CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_INPUT=y
CONFIG_VIRTIO_MMIO=y
CONFIG_CLK_SOPHGO_CV1800=yarch/riscv/configs/defconfig +3
-0+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=yQuoted 1 line
base-commit:
de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aedHi,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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Conor Dooley
AppliedFrom: Conor Dooley <[email protected]>
Quoted 4 lines · Chen Wang
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Applied to riscv-config-for-next, thanks!
[1/1] riscv: defconfig: sophgo: enable clks for sg2042
https://git.kernel.org/conor/c/3ccedd259cc3
Thanks,
Conor.
Quoted 7 lines · Conor Dooley
From: Conor Dooley <[email protected]>
Quoted 4 lines · Chen Wang
Enable clk generators for sg2042 due to many peripherals rely on these clocks.
Quoted 7 lines
Applied to riscv-config-for-next, thanks!
[1/1] riscv: defconfig: sophgo: enable clks for sg2042
https://git.kernel.org/conor/c/3ccedd259cc3Thanks,
Conor.
Thanks a lot.
Regards,
Chen