Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp396228imu; Tue, 20 Nov 2018 00:41:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/VDMW2e+Lt5y5h9GysYF60hGIcujI3OgI7Mxfs9sSn3XW0A1AYlmJqkmItfhPGdM9aJvlnU X-Received: by 2002:a63:ac1a:: with SMTP id v26mr1090549pge.293.1542703312282; Tue, 20 Nov 2018 00:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542703312; cv=none; d=google.com; s=arc-20160816; b=Q4Bhwu+NRR+1a1cNaesYBv+EpNzXBnCrg0LQExDxT5iUfxCiLKju0Vhwt1YwEf36Qp KdUprupuZ5ggsggGaOGt4kec3wmRIQizbt1mC8CpqbQjN/wD4ZIzzOwXojDyCeb2fVxb gLZ7zuCHIi7BjYBUe87fGHm9coHm7sX4PwFPW+te5esCC9qB+0Ckue/gdGnjOSeB5EPW Xt3IIXf1OjSdT6eE7xM51jpf386fh771vud4knI5uDhhWmkknhYTdj9hXs97rCYbN/2Z qGaaVvjFv66rWZRZbpWgWripdSaPYWabCFwn34Kj6XYs6Q3mIv8uUdmRhQua1AQccRAW tNpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=F1K/C4t63w8icc4WNQy8EaFmu6OcjV18NeobDZ4bEO4=; b=QvtrmdN9NwAMruIPFF+tFAo9YXL0LNBvuWMUv8PWD27NPXSaX3JpXkS/DrqHdTE4q8 AUPZs4YI+hkJ/zAji2Ld0IBMwa13k0jzqNXJe7fAL7KVmykiS+6V+WXCQGQOz0j8JFHE /WDERiUVqpfOtuOai7KSfw9wmZAzaguWX/3N236r3YkU1YU7MWpVr1HMnylBCRzj3vZi IA9SHdFoz/GKrnaGf4a513Hja/2xc0lhoLdS/MFP5NT72lswHYYs5FpasRheQp959wnf h7IMKf7BTtBp+QmjvRFp5JLG6XfVUt29ViE2Py7TGn3TtxD/i+w/iZ7K0mQ1nQrLfq9m WI1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si30486496pgh.299.2018.11.20.00.41.37; Tue, 20 Nov 2018 00:41:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726453AbeKTTIZ (ORCPT + 99 others); Tue, 20 Nov 2018 14:08:25 -0500 Received: from mail.bootlin.com ([62.4.15.54]:49939 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeKTTIZ (ORCPT ); Tue, 20 Nov 2018 14:08:25 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 94DF2207B0; Tue, 20 Nov 2018 09:40:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 5F16120745; Tue, 20 Nov 2018 09:40:16 +0100 (CET) Date: Tue, 20 Nov 2018 09:40:16 +0100 From: Maxime Ripard To: Mesih Kilinc Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai , Russell King , Daniel Lezcano , Marc Zyngier , Linus Walleij , Icenowy Zheng , Rob Herring , Julian Calaby Subject: Re: [RFC PATCH v2 01/14] ARM: add CONFIG_ARCH_SUNXI_V7 for differentiate ARMv5/v7 Allwinner SoCs Message-ID: <20181120084016.nrvpylj64ok3d5ch@flea> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7zekhgszpvxaw4mg" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7zekhgszpvxaw4mg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Nov 18, 2018 at 05:17:00PM +0300, Mesih Kilinc wrote: > Allwinner also has some ARMv5 SoCs. >=20 > In order to add support for them, add a CONFIG_ARCH_SUNXI_V7 bool config > which is selected when a ARMv7 soc is selected, and make CONFIG_ARCH_SUNXI > a common option which is selected by both V7 and V5 sunxi option. >=20 > Signed-off-by: Icenowy Zheng > Signed-off-by: Mesih Kilinc I'm not sure why Icenowy has her SoB here? > --- > arch/arm/mach-sunxi/Kconfig | 25 +++++++++++++++++-------- > arch/arm/mach-sunxi/Makefile | 2 +- > 2 files changed, 18 insertions(+), 9 deletions(-) >=20 > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > index d9c8ecf..5db17ec 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -6,31 +6,38 @@ menuconfig ARCH_SUNXI > select GENERIC_IRQ_CHIP > select GPIOLIB > select PINCTRL > - select PM_OPP > - select SUN4I_TIMER > select RESET_CONTROLLER > + help > + Support for Allwinner ARM-based family of processors > =20 > if ARCH_SUNXI > =20 > +if ARCH_MULTI_V7 > + > +config ARCH_SUNXI_V7 > + bool > + select PM_OPP > + select SUN4I_TIMER > + > config MACH_SUN4I > bool "Allwinner A10 (sun4i) SoCs support" > - default ARCH_SUNXI > + select ARCH_SUNXI_V7 It changes the behaviour a bit. It used to be enabled by default, it doesn't anymore. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --7zekhgszpvxaw4mg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/PIcAAKCRDj7w1vZxhR xXGIAPwPGwDSRKZg49st+Az9UNsk2Bi9+r0OXyVH2rkz58+rlAD9HAoYmcO62gbM qRK7QGlAXoJQzUU1EJIhRprl/An3QgU= =MIN4 -----END PGP SIGNATURE----- --7zekhgszpvxaw4mg--