From patchwork Mon Jul 28 13:57:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 34385 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 92BD623977 for ; Mon, 28 Jul 2014 14:11:52 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf53155265pab.4 for ; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=Ookm99nTYNuFe/LjcOlsx3CA9E7KJ3/ZERwmtgpzpIw=; b=SKT30lxu31dubWY6PhP3bm7YX5IX67LNcppUwpLclaD5+d3jQLP2iTQo9N2NNRZ1ZW B6FEqd0pBT/p27b3UTnZhcG2k9HRyw9YHbvBveNTlGRqab8JMVVojiJ3UN6uaovasOpG AtXqegMhVZ6FHgP3Wg3iaXFfhAdOBFgFeukxBDOawHacWT+gnzUlZolwWpg+KrHwS3u5 6ETjaM3wsG/Lqybh6EFsEwMSe9DfNBi5IxErmvkxbfJkU4grQ/kilCnClJ7gvtzady0p DTG5uxnInJuvOGQzdgavtV1T2N4wz4g3hicKMc1+Gv/AUF/5fMf3/GEE12/zcK6HtAIl 5sOg== X-Gm-Message-State: ALoCoQmcRNOhKrzPWJVAOPWRl1nuoIAG/axfgXUg30f2kQqipw81Sy/h+eIVfnvLpB23hSgnlseW X-Received: by 10.68.222.194 with SMTP id qo2mr16568701pbc.6.1406556711873; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.78 with SMTP id t72ls1603607qga.87.gmail; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-Received: by 10.52.138.209 with SMTP id qs17mr2026423vdb.80.1406556711698; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id w6si12486327vco.104.2014.07.28.07.11.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 07:11:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so11266601vcb.33 for ; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-Received: by 10.52.120.38 with SMTP id kz6mr1989342vdb.86.1406556711603; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp169672vcb; Mon, 28 Jul 2014 07:11:51 -0700 (PDT) X-Received: by 10.68.125.226 with SMTP id mt2mr39220033pbb.6.1406556241266; Mon, 28 Jul 2014 07:04:01 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id pi7si8996783pdb.226.2014.07.28.07.03.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 07:04:01 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1XBlV7-0004NC-9Y; Mon, 28 Jul 2014 14:02:05 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBlU8-0003TU-JN for linux-arm-kernel@lists.infradead.org; Mon, 28 Jul 2014 14:01:08 +0000 Received: by mail-pa0-f48.google.com with SMTP id et14so10546243pad.35 for ; Mon, 28 Jul 2014 07:00:34 -0700 (PDT) X-Received: by 10.68.68.225 with SMTP id z1mr38534287pbt.110.1406556034161; Mon, 28 Jul 2014 07:00:34 -0700 (PDT) Received: from localhost.localdomain ([98.126.25.139]) by mx.google.com with ESMTPSA id tu10sm17773684pbc.43.2014.07.28.07.00.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jul 2014 07:00:33 -0700 (PDT) From: Haojian Zhuang To: marc.zyngier@arm.com, jason@lakedaemon.net, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, nicolas.pitre@linaro.org, khilman@linaro.org, xuwei5@hisilicon.com, arm@kernel.org, olof@lixom.net, liguozhu@hisilicon.com Subject: [PATCH v15 04/12] ARM: hisi: enable HiP04 Date: Mon, 28 Jul 2014 21:57:48 +0800 Message-Id: <1406555876-11989-5-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406555876-11989-1-git-send-email-haojian.zhuang@linaro.org> References: <1406555876-11989-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140728_070104_676192_80283831 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.220.48 listed in wl.mailspike.net] Cc: Haojian Zhuang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Support HiP04 SoC what supports 16 cores. And it relies on MCPM framework. Signed-off-by: Haojian Zhuang --- arch/arm/mach-hisi/Kconfig | 8 ++++++++ arch/arm/mach-hisi/hisilicon.c | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 9848829..2a36fb7 100644 --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@ -22,6 +22,14 @@ config ARCH_HI3xxx help Support for Hisilicon Hi36xx SoC family +config ARCH_HIP04 + bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7 + select HAVE_ARM_ARCH_TIMER + select MCPM if SMP + select MCPM_QUAD_CLUSTER if SMP + help + Support for Hisilicon HiP04 SoC family + config ARCH_HIX5HD2 bool "Hisilicon X5HD2 family" if ARCH_MULTI_V7 select CACHE_L2X0 diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index f37fb65..5b8c11f 100644 --- a/arch/arm/mach-hisi/hisilicon.c +++ b/arch/arm/mach-hisi/hisilicon.c @@ -65,3 +65,12 @@ static const char *hix5hd2_compat[] __initconst = { DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)") .dt_compat = hix5hd2_compat, MACHINE_END + +static const char *hip04_compat[] __initconst = { + "hisilicon,hip04-d01", + NULL, +}; + +DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)") + .dt_compat = hip04_compat, +MACHINE_END