Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2894163imu; Fri, 23 Nov 2018 16:52:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/XZBzGkt/KWQWg6qI6n1480Vl7dfGofcq29oi6ru9LAHoQ/IJScP1Bk0bNy91lu+sib1rTD X-Received: by 2002:a63:165e:: with SMTP id 30mr16194189pgw.103.1543020767837; Fri, 23 Nov 2018 16:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543020767; cv=none; d=google.com; s=arc-20160816; b=omkFp7I19jk4K+CY6b+gbbpNgCRW4cnAh9hXCbL2/HX7oOBQJ6TV9Ap5QRQGHPmgco UN3YkyflID5JBnPq8igIKk5MFHp1d/1FzGOLBhCrwmU8F1Gcu7ph4mi8zDC06A2wPc5e 0K5CBw3lIj1zkvS6Q1nuB1B5kVkUkdHytjFdK2UnLNW5WuMFDtY2GOqSG+A318L91J5U 3qdxauV2z9PLzjBvSlXKBjcgbc74HkIGGcsKw3oCfN4v0p3blbMcpZfrK/1HYJAp4b1s VtSAEBv+I/gKrYiQwQGC2GtZ4q4Rf8yriWYvDGRvWPBjx2LuQMIzBMC/PlsQznGQaQm6 3T0Q== 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=8J552qonKfjAA3Cp+ujEJZfgebb8H39msX7bx/+bDR4=; b=tH+BBLrd3sAqqDrZoaMxtSHRDkZYTD0wl5bGlb4pScOtGk688EgLsj0SNwrZ0e35nF 0KGG2rtBDPnT3eqOyvwWhMBuvlPXXtPRPJe25p3WER5OqqIg688ANs+RbbbHLygy/mZ7 O9f08Ncx+rJXvA2dYjk7dkyQImzfdQXW9Wc0KsFTjM41gtBX4je5KySrUiaY4hLATosL u9d6c7qapwT2kBqy2YJ/NlcCnLmjyoJVWrQ6lTrcLaShM6jSuPkYd86LnYEvjwa179qy pmynnp5W/oYzY375s/BOWJ113PqPdm/KxIJXOfRsNjiSfqhuOvbCK1InQEDBUV4s3tga oaUA== 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 t12si33428843plq.190.2018.11.23.16.52.32; Fri, 23 Nov 2018 16:52:47 -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 S2404150AbeKWChM (ORCPT + 99 others); Thu, 22 Nov 2018 21:37:12 -0500 Received: from mail.bootlin.com ([62.4.15.54]:33307 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732326AbeKWChM (ORCPT ); Thu, 22 Nov 2018 21:37:12 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 73AFD2072F; Thu, 22 Nov 2018 16:57:13 +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-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 4A2DF20712; Thu, 22 Nov 2018 16:57:03 +0100 (CET) Date: Thu, 22 Nov 2018 16:57:03 +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 v3 01/17] ARM: add CONFIG_ARCH_SUNXI_V7 for differentiate ARMv5/v7 Allwinner SoCs Message-ID: <20181122155703.wsziwzybqwcmn25w@flea> References: <267ffcf3b91930a82f20d93e1fad1fceaf8b9b0e.1542824904.git.mesihkilinc@gmail.com> <20181122082635.br5n33owxxpenv62@flea> <20181122150751.n26pvywmvnuglly5@ThinkPad> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="flmo5uucax4cgdii" Content-Disposition: inline In-Reply-To: <20181122150751.n26pvywmvnuglly5@ThinkPad> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --flmo5uucax4cgdii Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 22, 2018 at 06:07:51PM +0300, Mesih Kilinc wrote: > On 18/11/22 09:26, Maxime Ripard wrote: > > On Wed, Nov 21, 2018 at 09:30:34PM +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 con= fig > > > 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: Mesih Kilinc > > > --- > > > arch/arm/mach-sunxi/Kconfig | 23 ++++++++++++++++------- > > > 1 file changed, 16 insertions(+), 7 deletions(-) > > >=20 > > > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > > > index d9c8ecf..7e5f173 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 > > > + > >=20 > > Actually, thinking more about this, I don't see why the PM_OPP config > > option should be made specific to the ARMv7 sunxi SoCs, you will have > > things cpufreq enabled at some point as well on the armv5 support. > >=20 > OK. I was basing this code to the first patch series.=20 > So there will be no need for ARCH_SUNXI_VX configs. Should I drop them > and differantiate IC's by only ARCH_MULTI_VX? Yeah, that's probably enough for now, and we can always merge some patch along those lines if we ever need it later. Thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --flmo5uucax4cgdii Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/bRzwAKCRDj7w1vZxhR xQIQAQDIbdeo2bMJcBp7aRe7q+1h7ETMBDGYXYKr+sBSJygGWQD/Y329IDLTYSzP jCyMWo01jtQefNDk69lMkGXlZuuOOAQ= =FveE -----END PGP SIGNATURE----- --flmo5uucax4cgdii--