Skip to contentSkip to conversation

RISC-V: defconfig: enable clocks, serial console

PATCH In review Kevin Hilman 3 participants 6 messages Jun 5, 2019 – Jun 17, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISC-V: defconfig: enable clocks, serial console

Enable PRCI clock driver and serial console by default, so the default upstream defconfig is bootable to a serial console.

---
 arch/riscv/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/riscv/configs/defconfig +4 -0
index 2fd3461e50ab..4f02967e55de 100644
@@ -49,6 +49,8 @@ CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
+CONFIG_SERIAL_SIFIVE=y
+CONFIG_SERIAL_SIFIVE_CONSOLE=y
 CONFIG_HVC_RISCV_SBI=y
 # CONFIG_PTP_1588_CLOCK is not set
 CONFIG_DRM=y
@@ -64,6 +66,8 @@ CONFIG_USB_OHCI_HCD_PLATFORM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
 CONFIG_VIRTIO_MMIO=y
+CONFIG_CLK_SIFIVE=y
+CONFIG_CLK_SIFIVE_FU540_PRCI=y
 CONFIG_SIFIVE_PLIC=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
Signature · 1 line
2.21.0
#2 lore raw
In reply to Kevin Hilman

Palmer,

Quoted 4 lines · Kevin Hilman

Enable PRCI clock driver and serial console by default, so the default upstream defconfig is bootable to a serial console.

If possible, this would be great to have for v5.2-rc so we have a bootable upstream defconfig ready for kernelCI as soon as the DT series lands.

Kevin

#4 lore raw
Quoted 8 lines · Paul Walmsley
Quoted 4 lines · Kevin Hilman

Enable PRCI clock driver and serial console by default, so the default upstream defconfig is bootable to a serial console.

Thanks, queued for v5.2-rc with Christoph's Reviewed-by:.

To repeat myself: where do you apply it to? And could we please just have a shared maintainer tree on infradead.org or kernel.org so that people don't have to chase multiple trees to base their patches on?

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#5 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 5 lines · Paul Walmsley
Quoted 3 lines · Kevin Hilman

Enable PRCI clock driver and serial console by default, so the default upstream defconfig is bootable to a serial console.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Thanks, queued for v5.2-rc with Christoph's Reviewed-by:.

To repeat myself: where do you apply it to? And could we please just have a shared maintainer tree on infradead.org or kernel.org so that people don't have to chase multiple trees to base their patches on?

As you requested last week, the shared tree announcement was posted as a separate thread:

https://lore.kernel.org/linux-riscv/[email protected]/T/#u

- Paul