[PATCH] riscv: defconfig: enable drivers for Starfive VisionFive2 board
Conor Dooley
conor at kernel.org
Wed Jul 3 13:26:12 PDT 2024
On Thu, Apr 25, 2024 at 12:10:03PM +0200, Marek Szyprowski wrote:
> Enable all drivers needed for Starfive VisionFive2 board to increase
> build and test coverage. Most drivers can be enabled as modules to avoid
> bloating the main kernel image.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
I know this patch has been sitting around for ages, but would you mind
rebasing it on top of linux-next and resending? I think most of this
covered by:
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-config-for-next&id=d8a7d89abb091fe4c1744241c7a40dbad570fd9e
which I think was in-flight at the same time as your patch, but didn't
get applied for quite a while till I bothered Palmer into letting me
take these config updates. There are some things in here though that are
not in the applied patch (or have different values). And SPIDEV, which I
resent because I don't think these boards have anything that that driver
binds to...
Thanks,
Conor.
> ---
> arch/riscv/configs/defconfig | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 3cae018f9315..effa22bc2884 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -146,6 +146,8 @@ CONFIG_MICROSEMI_PHY=y
> CONFIG_CAN_RCAR_CANFD=m
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_KEYBOARD_SUN4I_LRADC=m
> +CONFIG_INPUT_MISC=y
> +CONFIG_INPUT_AXP20X_PEK=m
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_8250_DW=y
> @@ -157,21 +159,31 @@ CONFIG_HW_RANDOM=y
> CONFIG_HW_RANDOM_VIRTIO=y
> CONFIG_I2C_CHARDEV=m
> CONFIG_I2C_MV64XXX=m
> +CONFIG_I2C=y
> CONFIG_I2C_RIIC=y
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_I2C_DESIGNWARE_PLATFORM=y
> CONFIG_SPI=y
> +CONFIG_SPI_PL022=y
> CONFIG_SPI_RSPI=m
> CONFIG_SPI_SIFIVE=y
> CONFIG_SPI_SUN6I=y
> +CONFIG_SPI_SPIDEV=m
> # CONFIG_PTP_1588_CLOCK is not set
> CONFIG_GPIO_SIFIVE=y
> +CONFIG_CHARGER_AXP20X=m
> +CONFIG_BATTERY_AXP20X=m
> +CONFIG_AXP20X_POWER=m
> CONFIG_CPU_THERMAL=y
> CONFIG_DEVFREQ_THERMAL=y
> CONFIG_RZG2L_THERMAL=y
> CONFIG_WATCHDOG=y
> CONFIG_SUNXI_WATCHDOG=y
> +CONFIG_MFD_AXP20X_I2C=y
> CONFIG_RENESAS_RZG2LWDT=y
> CONFIG_REGULATOR=y
> CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_REGULATOR_AXP20X=y
> CONFIG_REGULATOR_GPIO=y
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
> @@ -185,7 +197,13 @@ CONFIG_SND=y
> CONFIG_SND_SOC=y
> CONFIG_SND_SOC_RZ=m
> CONFIG_SND_SOC_WM8978=m
> +CONFIG_SND_SOC_STARFIVE=m
> +CONFIG_SND_SOC_JH7110_PWMDAC=m
> +CONFIG_SND_SOC_JH7110_TDM=m
> CONFIG_SND_SIMPLE_CARD=m
> +CONFIG_SND_AUDIO_GRAPH_CARD=m
> +CONFIG_SND_AUDIO_GRAPH_CARD2=m
> +CONFIG_I2C_HID=m
> CONFIG_USB=y
> CONFIG_USB_OTG=y
> CONFIG_USB_XHCI_HCD=y
> @@ -199,10 +217,16 @@ CONFIG_USB_STORAGE=y
> CONFIG_USB_UAS=y
> CONFIG_USB_MUSB_HDRC=m
> CONFIG_USB_MUSB_SUNXI=m
> +CONFIG_USB_CDNS_SUPPORT=m
> +CONFIG_USB_CDNS3=m
> +CONFIG_USB_CDNS3_GADGET=y
> +CONFIG_USB_CDNS3_STARFIVE=m
> CONFIG_NOP_USB_XCEIV=m
> CONFIG_USB_GADGET=y
> CONFIG_USB_RENESAS_USBHS_UDC=m
> CONFIG_USB_CONFIGFS=m
> +CONFIG_USB_CDNS2_UDC=m
> +CONFIG_USB_ETH=m
> CONFIG_USB_CONFIGFS_SERIAL=y
> CONFIG_USB_CONFIGFS_ACM=y
> CONFIG_USB_CONFIGFS_OBEX=y
> @@ -223,18 +247,24 @@ CONFIG_MMC_DW=y
> CONFIG_MMC_DW_STARFIVE=y
> CONFIG_MMC_SDHI=y
> CONFIG_MMC_SUNXI=y
> +CONFIG_MMC_DW=y
> +CONFIG_MMC_DW_STARFIVE=y
> CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_SUN6I=y
> CONFIG_DMADEVICES=y
> CONFIG_DMA_SUN6I=m
> CONFIG_DW_AXI_DMAC=y
> CONFIG_RZ_DMAC=y
> +CONFIG_DW_AXI_DMAC=y
> CONFIG_VIRTIO_PCI=y
> CONFIG_VIRTIO_BALLOON=y
> CONFIG_VIRTIO_INPUT=y
> CONFIG_VIRTIO_MMIO=y
> CONFIG_RENESAS_OSTM=y
> CONFIG_SUN8I_DE2_CCU=m
> +CONFIG_CLK_STARFIVE_JH7100_AUDIO=y
> +CONFIG_CLK_STARFIVE_JH7110_AON=y
> +CONFIG_CLK_STARFIVE_JH7110_STG=y
> CONFIG_SUN50I_IOMMU=y
> CONFIG_RPMSG_CHAR=y
> CONFIG_RPMSG_CTRL=y
> @@ -242,9 +272,13 @@ CONFIG_RPMSG_VIRTIO=y
> CONFIG_ARCH_R9A07G043=y
> CONFIG_IIO=y
> CONFIG_RZG2L_ADC=m
> +CONFIG_AXP20X_ADC=m
> CONFIG_RESET_RZG2L_USBPHY_CTRL=y
> CONFIG_PHY_SUN4I_USB=m
> CONFIG_PHY_RCAR_GEN3_USB2=y
> +CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m
> +CONFIG_PHY_STARFIVE_JH7110_PCIE=m
> +CONFIG_PHY_STARFIVE_JH7110_USB=m
> CONFIG_LIBNVDIMM=y
> CONFIG_NVMEM_SUNXI_SID=y
> CONFIG_EXT4_FS=y
> --
> 2.34.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240703/bf64ab03/attachment.sig>
More information about the linux-riscv
mailing list