From patchwork Sun Feb 28 15:18:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 589532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8BA3A140317 for ; Mon, 29 Feb 2016 02:20:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=RLLpYsoX; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759142AbcB1PUe (ORCPT ); Sun, 28 Feb 2016 10:20:34 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35683 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758976AbcB1PUW (ORCPT ); Sun, 28 Feb 2016 10:20:22 -0500 Received: by mail-pf0-f195.google.com with SMTP id w128so7529990pfb.2; Sun, 28 Feb 2016 07:20:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aJSqT0GMb6jpvcDlPiebahTgy8I40Mina/dEg7FojzM=; b=RLLpYsoXB/KNvcRmS2epivBDbMTx6EhmRxKRaiRxOiVHhbMQe8/khXgYBeaLKEy8PU m0Xmp03QvIx07ixlItHBkmhUFVe/eddbw7x+6DPz3lcLt5hkozNRuCQcAvpcuwUmEq58 FQWWN5BG6UH70rR5DdclYUxHz1AaKyJX9zysMlI9A2IiRjY05UyOKJ2VSBb34PLquKeJ rewLYkrZs11gxQphMIsskr3onqgweKG9cowue/LgF6XTBEB/yXHxZfr5AG/yz8R6Ghc6 jwYkxsslcBs1CaiNhj3IRc6q4HH9dRyPGAWVK2VXevwSeHzxbNaQcx9IRJomSxbo0kju VI4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aJSqT0GMb6jpvcDlPiebahTgy8I40Mina/dEg7FojzM=; b=GdiPoKU1xiNT2OfVTy6PEcZbJY3uCY5Hy+nbrTyaStGgH3xKLydBx5x9f+p7KI/ETv dFJ47brQMID2paJCp7XJOj2bwWt8+1DQsHnvahDM8S8fVSFUC1ISTEvOZV+DQtAwVZng z4+tZgK5TTHFNwAyGV0QFvsHw6VtT1tFsks/4W2KBMcxZRA0UgiJ/HVgzxfB+x0bvL+R MiIr+aOofN1gz+gloMGjh6e0e815iKN6kdIKQ0ggU14Mn7Wt/lZ26FuG5zH6t6oqNM+X m1Zl98SuDlkLBnBDAkIjZjl8zUp3B6JqTWRJuexJY+Vbkx39aE8w6CBDZoC3Pl/w0sxV rFjg== X-Gm-Message-State: AD7BkJLIjT7+DC5oZdXekGwE+TMf7VYGLShdXj34vSPQusNtPdQM+HZ7bvA/lyG7itYgDQ== X-Received: by 10.98.93.1 with SMTP id r1mr15921939pfb.57.1456672821626; Sun, 28 Feb 2016 07:20:21 -0800 (PST) Received: from localhost.localdomain ([101.127.161.160]) by smtp.gmail.com with ESMTPSA id 70sm31902824pfs.78.2016.02.28.07.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Feb 2016 07:20:21 -0800 (PST) From: Vishnu Patekar To: robh+dt@kernel.org, corbet@lwn.net, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, emilio@elopez.com.ar Cc: jenskuske@gmail.com, hdegoede@redhat.com, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, mturquette@baylibre.com, sboyd@codeaurora.org, patchesrdh@mveas.com, linux-clk@vger.kernel.org Subject: [PATCH v2 13/13] ARM: sunxi: Introduce MACH_SUN8I_A83T option Date: Sun, 28 Feb 2016 23:18:58 +0800 Message-Id: <1456672738-4993-14-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456672738-4993-1-git-send-email-vishnupatekar0510@gmail.com> References: <1456672738-4993-1-git-send-email-vishnupatekar0510@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org A83T has CPUS clock similar to A80's. currently, a80 cpus clock only compiled for A80. So, Introduce MACH_SUN8I_A83T to compile it for A83T as well. Signed-off-by: Vishnu Patekar --- arch/arm/mach-sunxi/Kconfig | 5 +++++ drivers/clk/sunxi/Makefile | 3 +++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index c124d65..424b76d 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -41,6 +41,11 @@ config MACH_SUN8I select ARM_GIC select MFD_SUN6I_PRCM +config MACH_SUN8I_A83T + bool "Allwinner A83T (sun8i) SoCs support" + default ARCH_SUNXI + select ARM_GIC + config MACH_SUN9I bool "Allwinner (sun9i) SoCs support" default ARCH_SUNXI diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile index 3fd7901..2aabfc4 100644 --- a/drivers/clk/sunxi/Makefile +++ b/drivers/clk/sunxi/Makefile @@ -20,6 +20,9 @@ obj-y += clk-usb.o obj-$(CONFIG_MACH_SUN9I) += clk-sun8i-apb0.o obj-$(CONFIG_MACH_SUN9I) += clk-sun9i-cpus.o +obj-$(CONFIG_MACH_SUN8I_A83T) += clk-sun8i-apb0.o +obj-$(CONFIG_MACH_SUN8I_A83T) += clk-sun9i-cpus.o + obj-$(CONFIG_MFD_SUN6I_PRCM) += \ clk-sun6i-ar100.o clk-sun6i-apb0.o clk-sun6i-apb0-gates.o \ clk-sun8i-apb0.o