Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758333AbbLCDA0 (ORCPT ); Wed, 2 Dec 2015 22:00:26 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:58582 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757864AbbLCDAW (ORCPT ); Wed, 2 Dec 2015 22:00:22 -0500 From: Jiancheng Xue To: , , , , , , , CC: , , , , , , , Jiancheng Xue Subject: [PATCH v2 3/9] ARM: hisi: enable Hi3519 soc Date: Thu, 3 Dec 2015 10:42:45 +0800 Message-ID: <1449110565-23590-1-git-send-email-xuejiancheng@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.159] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.565FAF47.0068,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c376f575d175e1b8451a4761543b2f53 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1727 Lines: 61 Hi3519 SOC is mainly used for ip camera and sport dv solutions. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/Kconfig | 9 +++++++++ arch/arm/mach-hisi/hisilicon.c | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 83061ad..bc5b873 100644 --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@ -12,6 +12,14 @@ if ARCH_HISI menu "Hisilicon platform type" +config ARCH_HI3519 + bool "Hisilicon Hi3519 Soc" if ARCH_MULTI_V7 + select HAVE_ARM_ARCH_TIMER + select ARCH_HAS_RESET_CONTROLLER + + help + Support for Hisilicon Hi3519 Soc + config ARCH_HI3xxx bool "Hisilicon Hi36xx family" if ARCH_MULTI_V7 select CACHE_L2X0 @@ -48,6 +56,7 @@ config ARCH_HIX5HD2 select PINCTRL_SINGLE help Support for Hisilicon HIX5HD2 SoC family + endmenu endif diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..a93ac5c 100644 --- a/arch/arm/mach-hisi/hisilicon.c +++ b/arch/arm/mach-hisi/hisilicon.c @@ -81,3 +81,12 @@ static const char *const hip01_compat[] __initconst = { DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)") .dt_compat = hip01_compat, MACHINE_END + +static const char *const hi3519_compat[] __initconst = { + "hisilicon,hi3519", + NULL, +}; + +DT_MACHINE_START(HI3519_DT, "Hisilicon Hi3519 (Flattened Device Tree)") + .dt_compat = hi3519_compat, +MACHINE_END -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/