From patchwork Sun Nov 25 07:43:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 1002764 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JDdBYCeC"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 432ht52R5Xz9s3C for ; Sun, 25 Nov 2018 18:45:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbeKYSeQ (ORCPT ); Sun, 25 Nov 2018 13:34:16 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40860 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbeKYSeP (ORCPT ); Sun, 25 Nov 2018 13:34:15 -0500 Received: by mail-wr1-f66.google.com with SMTP id p4so15789326wrt.7; Sat, 24 Nov 2018 23:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+W5Qljl8k9EH83ugcM500hEuxMmIHKFyX6qk7pxmzKI=; b=JDdBYCeCzf9l5KJrpamaZbippwi75I2Qhk9WvBIzjIHH8hLvWjnzxcjZM7ewkuCSls E0mQMgt/dRkBqVxA/KL92dQabj0MNqAyh/WeG3kZd/0qiRHuzT7yJgfYJG8p7+GQY5dZ XboCSoLi8SHsz/Q1QX90iIc2GJgegr5X6BSTQc9/5JVUvRIbeFLwGAPLskSsQbjBQ8xw NwQDWXWWuX+5W2P5HoYoyhKYnL/hGJi6maYk0rNXmknlm07P+ioZ+9josQShpWBtyNwc cy++OCr8iFY9khkXfPD/aMH0FU+jI2xOJWPBSeR6bQsImK9vNC3X33oIAmv9aQgP3Gr/ vtNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+W5Qljl8k9EH83ugcM500hEuxMmIHKFyX6qk7pxmzKI=; b=e13L3LvOZk3AAu1AiaRSBcVYxVmqym4jYrKV/naCsdM2PK3JBqq/8/qa2pZ4DvvmtW +cjcU6V72TZzIAnRdEQ35uMHc2+rNW9Ri1nagYynGuGT7Q1y3wJsKA1ExAb16+QUguLN 759XyjPO86Y7BnebSWF55PNap5xKng0ZAelVCfefevlBFRB0fR26lyA/Dn2Qnf9hF9EE CQqsJw31CAXRDRV6MOBEEB6rF7VzmOIVR4aPRABIOLrX6wglFcPqn+FuUbqnscBtmiHi v9v0TqNAHeuyFNvWbavlDQNAXTd0rT8tdFgxOB/geZ7AhxuTkuiwT2q4vt1ZUG6QdEwi W6rw== X-Gm-Message-State: AA+aEWYxJd032WTHBGlB30WwSWlxdyycgTBK5+Y+RRNgOuXfzn+nl3Pk 2rpZ2oCYi3E5vl2U29KMQa9hDFU6qZA= X-Google-Smtp-Source: AFSGD/XivJRedeyTpClT5XLrRb58RQocasRM5hPOuOid9zFqwuT4zrrbg4kU8zxSqWzJpqJdJKCJgw== X-Received: by 2002:a5d:4903:: with SMTP id x3mr19046291wrq.11.1543131825347; Sat, 24 Nov 2018 23:43:45 -0800 (PST) Received: from localhost.localdomain ([185.219.177.224]) by smtp.gmail.com with ESMTPSA id 6-v6sm12296780wmg.19.2018.11.24.23.43.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Nov 2018 23:43:44 -0800 (PST) From: Mesih Kilinc To: 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 Cc: Mesih Kilinc , Maxime Ripard , Chen-Yu Tsai , Russell King , Daniel Lezcano , Marc Zyngier , Linus Walleij , Icenowy Zheng , Rob Herring , Julian Calaby Subject: [RFC PATCH v4 01/17] ARM: add CONFIG_ARCH_SUNXI_V7 for differentiate ARMv5/v7 Allwinner SoCs Date: Sun, 25 Nov 2018 10:43:03 +0300 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Allwinner also has some ARMv5 SoCs. In order to add support for them, check ARM_MULTI_V7 before enabling ARMv7 SoC's. Signed-off-by: Mesih Kilinc --- arch/arm/mach-sunxi/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index d9c8ecf..185c573 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -9,9 +9,13 @@ menuconfig ARCH_SUNXI 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 MACH_SUN4I bool "Allwinner A10 (sun4i) SoCs support" default ARCH_SUNXI @@ -56,3 +60,5 @@ config ARCH_SUNXI_MC_SMP select ARM_CPU_SUSPEND endif + +endif