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: 10696697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 104EC16B1 for ; Sun, 25 Nov 2018 07:44:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05C7F29462 for ; Sun, 25 Nov 2018 07:44:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED9B429516; Sun, 25 Nov 2018 07:44:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9865329462 for ; Sun, 25 Nov 2018 07:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=PM4lPrO4xevDxFjJPYtMCdqTj3XGrxRPaZXoRYlq4tg=; b=NHmNBSdv6aNSKueX00Vp+XJtLz UgRQMULfiXsKGkzdDLrw19PMqYlq35ZV3hOYJjvFLZsmh+B/WkJj5vF5SQ/Hp+9gvn6gTDll7Ktz2 DNumYwq/N8PXRSx5lVOIHNkUUwYH01ApdijkXjFkOipjZti+Vq3wb8lwf0Qm5G6x9+LgxHeugn+CC RX1gWS9YRMcT2b9UCZmqKlqADaa5y+mf8k3McaEGAj9ogB+cvTLOY5gomggZ1gAYWqZxBOEZdl9HO EK36m4Rc6qPggRbHzwkGGGkSNWgzrxASDZftxCIZUJmEo03V3WLHDio6gBnUx4JUu60yWVvNSpj9b zXzCwIwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQp5v-0008HC-Kb; Sun, 25 Nov 2018 07:44:43 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQp5C-0007ge-2S for linux-arm-kernel@lists.infradead.org; Sun, 25 Nov 2018 07:44:01 +0000 Received: by mail-wr1-x441.google.com with SMTP id x10so15795127wrs.8 for ; 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=YJoo8cToRl5hwpx9lARqf8se7NFYfKVyfi0GxgYSTLBlf6YZzk3yKLpmhtUgRh/RVH B7zMkQ2pCvecZGHgiCaVtC9vIGJvFDQoQLq1g3Yo4Wo5YyL/vKieFxWilH+RZqlSTndq cg9/GR0738n1ugRA0VAEP2YxrRUaRqVGPwtXVXEkx6XKFHxwnDp17qwzxMXfldxLH0/z 3CtHcfo9PjnKRgVWCckX7kXuWb8KyWoQzNCMwzwtjT8N/x23tJZP6qB9uzvO1/Ooy3wZ HgBnKhY89hYjfofEAhYtdQSx5TcXGl61Yh7uyB7dkKCBgTZzhpzVLyX7D9/++xXl9C9N 5bAw== X-Gm-Message-State: AA+aEWak8YwS6ws/8khlb9jBJOZPFW6RXD4mKZfO6ZWlI1Bt2XU+nHLm +rFUzcF8sBBX1hs+BEQO1Lw= 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181124_234358_147034_EC597FA2 X-CRM114-Status: GOOD ( 12.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mesih Kilinc , Julian Calaby , Linus Walleij , Daniel Lezcano , Russell King , Marc Zyngier , Chen-Yu Tsai , Rob Herring , Maxime Ripard , Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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