From patchwork Wed Nov 28 22:33:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10703549 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 8D4BB15A7 for ; Wed, 28 Nov 2018 22:35:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 806C52E02C for ; Wed, 28 Nov 2018 22:35:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74E352E032; Wed, 28 Nov 2018 22:35:42 +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 30E592E02E for ; Wed, 28 Nov 2018 22:35:42 +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=P0XzydDXbA0Rxn/k2MVIMD6ZOdVsrfxH9WUssdKnJV4=; b=KTo5qyokPw5j8o2lEFnvh8J5IT Rl0BSlXc7gRAX94hEPugJND0s9m3wmC3ipckSwM5KKq9MZXV0HHmGszerv+ofjZZ9OtqLUk7EgEYw CQ5ZHXD1Y2+kPMlXNzvlQlWQj6zQSWk6Nrn7vGuXyKEzS/WVdG8mrHEH1v2oQzdVIbcjvKe9fENrk MZBxeKVYw/R2uunpxWeGT/yEmVRrku6wOObhziefRdGSPCe70JwFmAe1t4XACpgJuZxZEwHe6Q/MH K1RL1vdkNZn+9XE32AlGhWdtWxhRNclEM1MaGmFv3AYsUB5yvcJCMeUpo39luAtOJsynPMfkzh+nM hzw8txUA==; 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 1gS8Ql-0007Zm-9H; Wed, 28 Nov 2018 22:35:39 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS8PY-0005L3-Ot for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 22:34:26 +0000 Received: by mail-wr1-x443.google.com with SMTP id t27so19964945wra.6 for ; Wed, 28 Nov 2018 14:34:14 -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=VF0eXPvxEQ8eg24ufuqCwYbc3OHuCombUgJA5hM0DFE=; b=HDqLdd/LfOi92fQe/MYXetnFACTuNHI6W54QmiV1l5i8Lvb6EjZFFPo4+ybqTz7yq5 YpM4bVp8OZlLOZYWlYxRE1Fe7XPglXfYQmFP1IWhcc+5ka4v4qgOEzr/9zGzQpju3uXP QSw7jtfEKu6ZMdAxPE1nudDefojJ6w80C1wUD0xquMNzjOx7/IKSB8KpFexT0h2Ie7R9 Cb2aM/RbcCiW11yS1xJQwq0c0FEHnJenzXPoLsWdqoIKln+ZE5fbgStPFDEXI2l+T2KM eCJUdhP7s4iRq9Hx7fxljaltHg7jC2v3kCpUy0O1Zhky5CvBLxHtPoJPFNPHycRUBh4e lejg== 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=VF0eXPvxEQ8eg24ufuqCwYbc3OHuCombUgJA5hM0DFE=; b=pL0dY1t++9Qmw//chYA+9hDuvpLWPFfOIA1AhYcSK8ElRodsYCTP1ViM2BI9ALKsyB KiUiBzGLIOTd/+uwYnfnf4zAIlq+tOyRAIuJYnugHigE+QM0+rQBf/JNjjNQvMyFPvxu a5YQLOsGI+9VhAtRqMS4eSp6DURfaSlc370lpRPhVbpHsoEOGBgnTzXffs7acNgQia1e +R2HYp2sAP9ORjhfiWYvxyy7VtyMo/hmOrE44wvTo/ZbaloAZ0ecD2V89lzA+wceqgWR 7sZ211kAJWlvUCKICciHnIY1vZfoVsyY8wd4zUxzvYn2WhnCO5SGBx4rGFKv5EupgbqH oVfg== X-Gm-Message-State: AA+aEWbpvdgbo12+HpJ+gW/VaGjI5PoFgERrTJ4aBHEbE2rzaI1jLoW9 K1v9hB7LMlMTiOsASISD7YBynvaHQ0Q= X-Google-Smtp-Source: AFSGD/VaHZQBF8qSIVQB0pcf/SHXoj1jPif7iT75vvSv3z9QBK5WJXp9Ze0cIBq55cewBUmPQlkTTg== X-Received: by 2002:adf:f449:: with SMTP id f9mr33585678wrp.40.1543444452948; Wed, 28 Nov 2018 14:34:12 -0800 (PST) Received: from ThinkPad.home ([185.219.177.239]) by smtp.gmail.com with ESMTPSA id g198sm180244wmd.23.2018.11.28.14.34.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Nov 2018 14:34:12 -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: [PATCH v5 01/17] ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs Date: Thu, 29 Nov 2018 01:33:11 +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-20181128_143424_804549_517514CE X-CRM114-Status: GOOD ( 12.67 ) 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. Add help text for ARCH_SUNXI menuconfig. 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