Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2853283imu; Fri, 23 Nov 2018 16:06:21 -0800 (PST) X-Google-Smtp-Source: AJdET5dx0ElRpezbJ6mVFKzwA7fPTNTYGvW1mPnhUzL9nayA7/QUYHW3HpiCF5ylPmnqYcKIHGLB X-Received: by 2002:a62:647:: with SMTP id 68-v6mr18814537pfg.42.1543017980961; Fri, 23 Nov 2018 16:06:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543017980; cv=none; d=google.com; s=arc-20160816; b=zrUz+B1N/0KpI7ynO8AtH7dsys66gNXZXbaLm9C+7kgLZjW3ZhE0KT6QWevg8QFLrP G7MSNKJMboK8BDC3M41mpJs3LuKy4p0DtN9GHt9aidLUG9DhBpl5ppPXA47ar01pycbB yNeQQ787FX5V1wu6F5ifXOz7QCZDT9d0hKdov5yilsUZXC4Sqg8orforAYuYYUTWxjP6 fwfg/3AgypHloqHlrWerdBVXmx0fVOjWAkQgjhwe/CC27Itdm9hcOeqevrzQs8I+A92P +MUekbthA10oRlOtb6N4HQrQm1f25PhOyL53qTR6Iwdp49fJz3S/z4BEPwLq0COLPRuL z1mA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qQsQft4sROo+Ll8hUhEZXBCjZcyxMAPVwCgbBeJ34mo=; b=D+NHJpG5AIgzFXb1FVp8jyQi2hor0ZZ0gXjQ5yUatN37qHRVQnLFhM6oesLmzH3DSr WxFL5ODzCtn89Sk8B+pXJUHtN8nAo8MpwtYSpwiOtxjq6pSyO6qU5JV/Re7D7BFQUoJy LLKVL9q2gvJXPY+0/QZJrpb+jsrBpOCyHdbucjqTokKKv3jSSXNqnk8fmCbz1M3cU+yp PdQxKWzaVLPS7VdcOK3PHD8JhkQomogtjNG0kV4AGLPzSZ8B1Jdhpfk7rJh5/vB9S5yH hCm+2vl4H18oHiYHKSVeeUu2OcPC/ed9cvIjouDf9zs0lUWXPivU2CJoZDAo/N1zw/0u LkKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kYnnLRV3; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si28296330plp.139.2018.11.23.16.05.51; Fri, 23 Nov 2018 16:06:20 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kYnnLRV3; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405737AbeKWBrk (ORCPT + 99 others); Thu, 22 Nov 2018 20:47:40 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39925 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeKWBrk (ORCPT ); Thu, 22 Nov 2018 20:47:40 -0500 Received: by mail-wm1-f68.google.com with SMTP id u13-v6so9453507wmc.4; Thu, 22 Nov 2018 07:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=qQsQft4sROo+Ll8hUhEZXBCjZcyxMAPVwCgbBeJ34mo=; b=kYnnLRV3wEDR2Sad5nEx3PQX8uBOVQmfpIVMWiiXHmbaADCQfDr3uG+gbg7XDh3Ufj 1pQ+bwojjrcgq78MG/E7gOBnH6O/pMF8u57afaapJfr9GpZHg23qZUQDCNQLhvwNfFKW mswA97rZgxM8uH7BpB7+OzZ0QthEojxSvzsldnqej4gHLeyyu9ZQ/p2dcTwhOmm8EMQR ImBpF29dAMuUyWMbmDKeSCjfEr5JpenR9k1TGHi4y5ZTua8QDI0Lfwr2QHHUzeTyvclQ y53R5XytNeJAOuZfFmIii40HdgRy+tRUZ152f4HEKvaWcAHOHR0q6uA+BsiX+hLcpqnM ZG7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=qQsQft4sROo+Ll8hUhEZXBCjZcyxMAPVwCgbBeJ34mo=; b=ZdXaNM6J6B7qgAhxdtggfilD8Z48uHNflkMtJEMsr0buyM8QUUzqoPixhO6bvrYhOp 49njMLy7huWdOkSy4fqj2fCWKkZA3XkXm/LAhH0L8Z7go53zOikidBBKbfjCcPmpLVQq GnUdLG286m+x/zwoNULsbKOb++hoE/vms2T1Gw8TETZk8Ycm7ASG5Y3LxmxnU17GHnhW vj/pMpnNfSmb7Oc8H7Fq+G2kThuDQzB0KH+PpE2yqWa878C9SE+r9lgipORuG/nQMA+t paQSV0gsucyN4xM823v4HBlJ84rRaWzu5rLNSbrfxCQs57+G9XNNYeZaOZAAlINknYNR ZX2Q== X-Gm-Message-State: AA+aEWamCT0DoDj0hQg0M06cCbCYcRp8bILgpinYaUgEzqKV1DiMN9AF XGexYmvxsDAqyBwEAAoYepo= X-Received: by 2002:a1c:9855:: with SMTP id a82mr9565706wme.20.1542899273060; Thu, 22 Nov 2018 07:07:53 -0800 (PST) Received: from localhost ([185.219.177.229]) by smtp.gmail.com with ESMTPSA id x77sm6072030wme.19.2018.11.22.07.07.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 07:07:52 -0800 (PST) Date: Thu, 22 Nov 2018 18:07:51 +0300 From: Mesih Kilinc To: Maxime Ripard 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: <20181122150751.n26pvywmvnuglly5@ThinkPad> References: <267ffcf3b91930a82f20d93e1fad1fceaf8b9b0e.1542824904.git.mesihkilinc@gmail.com> <20181122082635.br5n33owxxpenv62@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181122082635.br5n33owxxpenv62@flea> User-Agent: NeoMutt/20180716-631-34bcda Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > > 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. > > > > Signed-off-by: Mesih Kilinc > > --- > > arch/arm/mach-sunxi/Kconfig | 23 ++++++++++++++++------- > > 1 file changed, 16 insertions(+), 7 deletions(-) > > > > 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 > > > > if ARCH_SUNXI > > > > +if ARCH_MULTI_V7 > > + > > +config ARCH_SUNXI_V7 > > + bool > > + select PM_OPP > > + > > 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. > OK. I was basing this code to the first patch series. So there will be no need for ARCH_SUNXI_VX configs. Should I drop them and differantiate IC's by only ARCH_MULTI_VX? > > config MACH_SUN4I > > bool "Allwinner A10 (sun4i) SoCs support" > > - default ARCH_SUNXI > > + select ARCH_SUNXI_V7 > > The option is still changed from being on by default to being off by > default. This breaks all the defconfig, and we really shouldn't change > that. OK. I will fix it. Mesih Veysi Kılınç