polarfire soc kconfig/maintainers updates
cover polarfire soc kconfig/maintainers updates
Hey Palmer,
As discussed, Kconfig.socs updated with the recently upstreamed drivers. I took the liberty of also adding them to the maintainers entry. The hwrng isnt in your tree, but was accepted today.
As you suggested, I added the vitesse phy driver in the kconfig.socs entry - lmk if you don't like what I did with the comment.
Thanks,
Conor.
Conor Dooley (4):
riscv: select peripheral drivers for polarfire soc
riscv: config: enable the mailbox framework
riscv: select vitesse phy driver for polarfire soc
MAINTAINERS: add polarfire rng, pci and clock drivers
MAINTAINERS | 3 +++ arch/riscv/Kconfig.socs | 5 +++++ arch/riscv/configs/defconfig | 1 + 3 files changed, 9 insertions(+)
Signature · 1 line
2.35.2
PATCH 1/4 riscv: select peripheral drivers for polarfire soc
Update the SOC_MICROCHIP_POLARFIRE kconfig entry to select, where applicable, the supported drivers for the SoC.
--- arch/riscv/Kconfig.socs | 4 ++++ 1 file changed, 4 insertions(+)
arch/riscv/Kconfig.socs +4 -0
@@ -3,6 +3,10 @@ menu "SoC selection" config SOC_MICROCHIP_POLARFIRE bool "Microchip PolarFire SoCs" select MCHP_CLK_MPFS + select POLARFIRE_SOC_MAILBOX if MAILBOX + select POLARFIRE_SOC_SYS_CTRL if MAILBOX + select HW_RANDOM_POLARFIRE_SOC if POLARFIRE_SOC_SYS_CTRL + select PCIE_MICROCHIP_HOST if PCI_MSI && OF select SIFIVE_PLIC help This enables support for Microchip PolarFire SoC platforms.
Signature · 1 line
2.35.2
PATCH 2/4 riscv: config: enable the mailbox framework
In reply to Conor DooleyAdd the mailbox framework so that the system controller drivers get compiled for PolarFire SoC.
--- arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/riscv/configs/defconfig +1 -0
@@ -100,6 +100,7 @@ CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_INPUT=y CONFIG_VIRTIO_MMIO=y +CONFIG_MAILBOX=y CONFIG_RPMSG_CHAR=y CONFIG_RPMSG_VIRTIO=y CONFIG_EXT4_FS=y
Signature · 1 line
2.35.2
PATCH 3/4 riscv: select vitesse phy driver for polarfire soc
In reply to Conor DooleyThere is a Vitesse VSC8662 on the Icicle Kit, until a better option exists, select it in Kconfig.socs for SOC_MICROCHIP_POLARFIRE.
---
Palmer: You said to put in a comment, but I have no idea how Kconfig expects a mid line comment to look. kbuild didn't seem to complain about what I did, but lmk if that's not what you meant.
--- arch/riscv/Kconfig.socs | 1 + 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
@@ -8,6 +8,7 @@ config SOC_MICROCHIP_POLARFIRE select HW_RANDOM_POLARFIRE_SOC if POLARFIRE_SOC_SYS_CTRL select PCIE_MICROCHIP_HOST if PCI_MSI && OF select SIFIVE_PLIC + select VITESSE_PHY # present on icicle kit help This enables support for Microchip PolarFire SoC platforms.
Signature · 1 line
2.35.2
PATCH 4/4 MAINTAINERS: add polarfire rng, pci and clock drivers
In reply to Conor DooleyHardware random, PCI and clock drivers for the PolarFire SoC have been upstreamed but are not covered by the MAINTAINERS entry, so add them.
--- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+)
MAINTAINERS +3 -0
@@ -16944,7 +16944,10 @@ M: Conor Dooley <[email protected]> L: [email protected] S: Supported F: arch/riscv/boot/dts/microchip/ +F: drivers/char/hw_random/mpfs-rng.c +F: drivers/clk/microchip/clk-mpfs.c F: drivers/mailbox/mailbox-mpfs.c +F: drivers/pci/controller/pcie-microchip-host.c F: drivers/soc/microchip/ F: include/soc/microchip/mpfs.h
Signature · 1 line
2.35.2