From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752332AbcFAVuB (ORCPT ); Wed, 1 Jun 2016 17:50:01 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:35247 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324AbcFAVt5 (ORCPT ); Wed, 1 Jun 2016 17:49:57 -0400 Subject: Re: [PATCH 01/32] arm64: Add platform selection for BCM2835. To: Gerd Hoffmann , linux-rpi-kernel@lists.infradead.org References: <1464817421-8519-1-git-send-email-kraxel@redhat.com> <1464817421-8519-2-git-send-email-kraxel@redhat.com> Cc: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Russell King , Catalin Marinas , Will Deacon , "open list:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE..." , "moderated list:ARM SUB-ARCHITECTURES" , open list From: Florian Fainelli Message-ID: <574F5881.4060008@gmail.com> Date: Wed, 1 Jun 2016 14:49:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1464817421-8519-2-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/01/2016 02:43 PM, Gerd Hoffmann wrote: > From: Eric Anholt > > Signed-off-by: Eric Anholt > > [ kraxel: copy some selects from arm to arm64 ] > [ kraxel: add CONFIG_ARCH_BCM, needed for some "depends on ARCH_BCM" ] > > Signed-off-by: Gerd Hoffmann > --- > arch/arm/mach-bcm/Kconfig | 2 +- > arch/arm64/Kconfig.platforms | 20 ++++++++++++++++++++ > 2 files changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig > index 68ab641..21f0e43 100644 > --- a/arch/arm/mach-bcm/Kconfig > +++ b/arch/arm/mach-bcm/Kconfig > @@ -136,7 +136,7 @@ comment "Other Architectures" > > config ARCH_BCM2835 > bool "Broadcom BCM2835 family" > - depends on ARCH_MULTI_V6 || ARCH_MULTI_V7 > + depends on ARCH_MULTI_V6 || ARCH_MULTI_V7 || ARM64 Humm, what does that achieve? > select ARCH_REQUIRE_GPIOLIB > select ARM_AMBA > select ARM_ERRATA_411920 if ARCH_MULTI_V6 > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index 7ef1d05..32aba6b 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -13,8 +13,28 @@ config ARCH_ALPINE > This enables support for the Annapurna Labs Alpine > Soc family. > > +config ARCH_BCM > + bool "Broadcom SoC Support" > + help > + This enables support for Broadcom ARM based SoC chips menuconfig maybe? > + > +config ARCH_BCM2835 > + bool "Broadcom BCM2835 family" > + depends on ARCH_BCM > + select ARCH_REQUIRE_GPIOLIB > + select CLKSRC_OF > + select PINCTRL > + select PINCTRL_BCM2835 > + select ARM_AMBA > + select ARM_TIMER_SP804 > + select HAVE_ARM_ARCH_TIMER > + help > + This enables support for the Broadcom BCM2837 SoC. > + This SoC is used in the Raspberry Pi 3 device. > + > config ARCH_BCM_IPROC > bool "Broadcom iProc SoC Family" > + depends on ARCH_BCM Does not seem necessary nor adding anything here. -- Florian