diff mbox series

[RFC,1/3] RISC-V: Add Microchip PolarFire SoC kconfig option

Message ID 20201028232759.1928479-2-atish.patra@wdc.com
State New
Headers show
Series Add Microchip PolarFire Soc Support | expand

Commit Message

Atish Patra Oct. 28, 2020, 11:27 p.m. UTC
Add Microchip PolarFire kconfig option which selects SoC specific
and common drivers that is required for this SoC.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
 arch/riscv/Kconfig.socs | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Anup Patel Oct. 30, 2020, 9:08 a.m. UTC | #1
On Thu, Oct 29, 2020 at 4:58 AM Atish Patra <atish.patra@wdc.com> wrote:
>

> Add Microchip PolarFire kconfig option which selects SoC specific

> and common drivers that is required for this SoC.

>

> Signed-off-by: Atish Patra <atish.patra@wdc.com>

> ---

>  arch/riscv/Kconfig.socs | 7 +++++++

>  1 file changed, 7 insertions(+)

>

> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs

> index 8a55f6156661..74d07250ecc5 100644

> --- a/arch/riscv/Kconfig.socs

> +++ b/arch/riscv/Kconfig.socs

> @@ -22,6 +22,13 @@ config SOC_VIRT

>         help

>           This enables support for QEMU Virt Machine.

>

> +config SOC_MICROCHIP_POLARFIRE

> +       bool "Microchip PolarFire SoCs"

> +       select MCHP_CLK_PFSOC

> +       select SIFIVE_PLIC

> +       help

> +         This enables support for Microchip PolarFire SoC platforms.

> +

>  config SOC_KENDRYTE

>         bool "Kendryte K210 SoC"

>         depends on !MMU

> --

> 2.25.1

>


Looks good to me.

Reviewed-by: Anup Patel <anup@brainfault.org>


Regards,
Anup
Bin Meng Nov. 3, 2020, 9:55 a.m. UTC | #2
On Thu, Oct 29, 2020 at 6:00 PM Atish Patra <atish.patra@wdc.com> wrote:
>

> Add Microchip PolarFire kconfig option which selects SoC specific

> and common drivers that is required for this SoC.

>

> Signed-off-by: Atish Patra <atish.patra@wdc.com>

> ---

>  arch/riscv/Kconfig.socs | 7 +++++++

>  1 file changed, 7 insertions(+)

>

> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs

> index 8a55f6156661..74d07250ecc5 100644

> --- a/arch/riscv/Kconfig.socs

> +++ b/arch/riscv/Kconfig.socs

> @@ -22,6 +22,13 @@ config SOC_VIRT

>         help

>           This enables support for QEMU Virt Machine.

>

> +config SOC_MICROCHIP_POLARFIRE


Please put this in the alphabetical order

> +       bool "Microchip PolarFire SoCs"

> +       select MCHP_CLK_PFSOC

> +       select SIFIVE_PLIC

> +       help

> +         This enables support for Microchip PolarFire SoC platforms.

> +

>  config SOC_KENDRYTE

>         bool "Kendryte K210 SoC"

>         depends on !MMU

> --


Otherwise LGTM
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Palmer Dabbelt Nov. 6, 2020, 7:14 a.m. UTC | #3
On Wed, 28 Oct 2020 16:27:57 PDT (-0700), Atish Patra wrote:
> Add Microchip PolarFire kconfig option which selects SoC specific

> and common drivers that is required for this SoC.

>

> Signed-off-by: Atish Patra <atish.patra@wdc.com>

> ---

>  arch/riscv/Kconfig.socs | 7 +++++++

>  1 file changed, 7 insertions(+)

>

> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs

> index 8a55f6156661..74d07250ecc5 100644

> --- a/arch/riscv/Kconfig.socs

> +++ b/arch/riscv/Kconfig.socs

> @@ -22,6 +22,13 @@ config SOC_VIRT

>  	help

>  	  This enables support for QEMU Virt Machine.

>

> +config SOC_MICROCHIP_POLARFIRE

> +	bool "Microchip PolarFire SoCs"

> +	select MCHP_CLK_PFSOC

> +	select SIFIVE_PLIC

> +	help

> +	  This enables support for Microchip PolarFire SoC platforms.

> +

>  config SOC_KENDRYTE

>  	bool "Kendryte K210 SoC"

>  	depends on !MMU


Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
diff mbox series

Patch

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 8a55f6156661..74d07250ecc5 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -22,6 +22,13 @@  config SOC_VIRT
 	help
 	  This enables support for QEMU Virt Machine.
 
+config SOC_MICROCHIP_POLARFIRE
+	bool "Microchip PolarFire SoCs"
+	select MCHP_CLK_PFSOC
+	select SIFIVE_PLIC
+	help
+	  This enables support for Microchip PolarFire SoC platforms.
+
 config SOC_KENDRYTE
 	bool "Kendryte K210 SoC"
 	depends on !MMU