Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47B07C388F7 for ; Tue, 10 Nov 2020 12:30:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC8A4206E3 for ; Tue, 10 Nov 2020 12:30:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729787AbgKJMap (ORCPT ); Tue, 10 Nov 2020 07:30:45 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:54851 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726706AbgKJMap (ORCPT ); Tue, 10 Nov 2020 07:30:45 -0500 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id DBF79200007; Tue, 10 Nov 2020 12:30:42 +0000 (UTC) Date: Tue, 10 Nov 2020 13:30:42 +0100 From: Alexandre Belloni To: Gregory CLEMENT Cc: Microchip Linux Driver Support , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Thomas Petazzoni , Lars Povlsen , Steen.Hegelund@microchip.com Subject: Re: [PATCH v2 3/9] MIPS: mscc: Prepare configuration to handle more SoCs Message-ID: <20201110123042.GF1769536@piout.net> References: <20201110114508.1197652-1-gregory.clement@bootlin.com> <20201110114508.1197652-4-gregory.clement@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110114508.1197652-4-gregory.clement@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 10/11/2020 12:45:02+0100, Gregory CLEMENT wrote: > Ocelot belongs to a family of SoC named the VCore III. In order to add > these new Soc, use the new symbol SOC_VCOREIII instead of a one > dedicated to Ocelot. > > In order to avoid regression on driver building, the MSCC_OCELOT > configuration symbol is kept until the driver will be converted. > > Signed-off-by: Gregory CLEMENT Acked-by: Alexandre Belloni > --- > arch/mips/boot/dts/Makefile | 2 +- > arch/mips/boot/dts/mscc/Makefile | 2 +- > arch/mips/generic/Kconfig | 11 ++++++++--- > 3 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile > index 19027129add8..0259238d7a2e 100644 > --- a/arch/mips/boot/dts/Makefile > +++ b/arch/mips/boot/dts/Makefile > @@ -6,7 +6,7 @@ subdir-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += img > subdir-$(CONFIG_MACH_INGENIC) += ingenic > subdir-$(CONFIG_LANTIQ) += lantiq > subdir-$(CONFIG_MACH_LOONGSON64) += loongson > -subdir-$(CONFIG_MSCC_OCELOT) += mscc > +subdir-$(CONFIG_SOC_VCOREIII) += mscc > subdir-$(CONFIG_MIPS_MALTA) += mti > subdir-$(CONFIG_LEGACY_BOARD_SEAD3) += mti > subdir-$(CONFIG_NLM_XLP_BOARD) += netlogic > diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile > index eb71515871f6..5015ccbbfb23 100644 > --- a/arch/mips/boot/dts/mscc/Makefile > +++ b/arch/mips/boot/dts/mscc/Makefile > @@ -1,4 +1,4 @@ > # SPDX-License-Identifier: GPL-2.0-only > -dtb-$(CONFIG_MSCC_OCELOT) += ocelot_pcb123.dtb ocelot_pcb120.dtb > +dtb-$(CONFIG_SOC_VCOREIII) += ocelot_pcb123.dtb ocelot_pcb120.dtb > > obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) > diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig > index 55d9aed7ced9..45431b88dded 100644 > --- a/arch/mips/generic/Kconfig > +++ b/arch/mips/generic/Kconfig > @@ -34,14 +34,19 @@ config LEGACY_BOARD_OCELOT > bool "Support MSCC Ocelot boards" > depends on LEGACY_BOARD_SEAD3=n > select LEGACY_BOARDS > - select MSCC_OCELOT > + select SOC_VCOREIII > select SYS_HAS_EARLY_PRINTK > select USE_GENERIC_EARLY_PRINTK_8250 > > -config MSCC_OCELOT > +config SOC_VCOREIII > bool > select GPIOLIB > select MSCC_OCELOT_IRQ > + select MSCC_OCELOT #will be removed when driver no more use it > + > +#Will be removed when the driver using it will be converted to SOC_VCOREIII > +config MSCC_OCELOT > + bool > > comment "FIT/UHI Boards" > > @@ -67,7 +72,7 @@ config FIT_IMAGE_FDT_XILFPGA > > config FIT_IMAGE_FDT_OCELOT > bool "Include FDT for Microsemi Ocelot development platforms" > - select MSCC_OCELOT > + select SOC_VCOREIII > help > Enable this to include the FDT for the Ocelot development platforms > from Microsemi in the FIT kernel image. > -- > 2.28.0 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com