diff mbox series

RISC-V: defconfig: enable clocks, serial console

Message ID 20190605175042.13719-1-khilman@baylibre.com (mailing list archive)
State New, archived
Headers show
Series RISC-V: defconfig: enable clocks, serial console | expand

Commit Message

Kevin Hilman June 5, 2019, 5:50 p.m. UTC
Enable PRCI clock driver and serial console by default, so the default
upstream defconfig is bootable to a serial console.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
 arch/riscv/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Christoph Hellwig June 6, 2019, 8:57 a.m. UTC | #1
On Wed, Jun 05, 2019 at 10:50:42AM -0700, Kevin Hilman wrote:
> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
> 
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Kevin Hilman June 7, 2019, 11:29 p.m. UTC | #2
Palmer,

Kevin Hilman <khilman@baylibre.com> writes:

> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>

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
Paul Walmsley June 9, 2019, 1:49 a.m. UTC | #3
On Wed, 5 Jun 2019, Kevin Hilman wrote:

> Enable PRCI clock driver and serial console by default, so the default
> upstream defconfig is bootable to a serial console.
> 
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>

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


- Paul
Christoph Hellwig June 9, 2019, 7:55 a.m. UTC | #4
On Sat, Jun 08, 2019 at 06:49:09PM -0700, Paul Walmsley wrote:
> On Wed, 5 Jun 2019, Kevin Hilman wrote:
> 
> > Enable PRCI clock driver and serial console by default, so the default
> > upstream defconfig is bootable to a serial console.
> > 
> > Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> 
> 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?
Paul Walmsley June 17, 2019, 10:36 a.m. UTC | #5
On Sun, 9 Jun 2019, Christoph Hellwig wrote:

> On Sat, Jun 08, 2019 at 06:49:09PM -0700, Paul Walmsley wrote:
> > On Wed, 5 Jun 2019, Kevin Hilman wrote:
> > 
> > > Enable PRCI clock driver and serial console by default, so the default
> > > upstream defconfig is bootable to a serial console.
> > > 
> > > Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> > 
> > 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/alpine.DEB.2.21.9999.1906170320300.19994@viisi.sifive.com/T/#u


- Paul
diff mbox series

Patch

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 2fd3461e50ab..4f02967e55de 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -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