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: 8447181 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B91DB9F372 for ; Sun, 28 Feb 2016 15:27:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD15620303 for ; Sun, 28 Feb 2016 15:27:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13282202FE for ; Sun, 28 Feb 2016 15:27:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aa3E0-0005Qh-Aa; Sun, 28 Feb 2016 15:25:36 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aa39G-0007zK-53 for linux-arm-kernel@lists.infradead.org; Sun, 28 Feb 2016 15:20:43 +0000 Received: by mail-pf0-x244.google.com with SMTP id t66so3272907pfb.0 for ; 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=CdxeEWSYHnysO3PT3vXbUC3iJ7awuiCETGng4PBRe/derGAM1VtO0ccusW7j01Pa8r OGnpeqvImk00VibMKqBqy5wvzq1FPimgPM3K1BFtvA8Q5c72s/4w+dNK/WK2Xkij2Efo VnRIiNW+/sLodQJiiv17sZhvFTFbiLutwHPa5wPZj7MsW7pZPTxHC3k+dYwvVpvdv4bZ 4I/zhe0qDtZ1P4NMab7j5qOp1Y222cn7CDNpJ7TIhMX6fhSuD18af1J633uevBHY1fxb bY4AILfDqfLga/hl4151GEoigALT5VFsL+yS07OqzeIwXSeyuyucQ2ah056+5Y1fHXU+ rlcQ== X-Gm-Message-State: AD7BkJKmTI51Bu4iCZiB439FAOdJheskPPQfrNtfmLyK37IR+tVozCpKIREsZNakcQE5iQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160228_072042_381435_5C8E7ECF X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, patchesrdh@mveas.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, hdegoede@redhat.com, wens@csie.org, mturquette@baylibre.com, jenskuske@gmail.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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