From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79978C433EF for ; Sun, 1 May 2022 05:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241031AbiEAFY2 (ORCPT ); Sun, 1 May 2022 01:24:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237866AbiEAFYZ (ORCPT ); Sun, 1 May 2022 01:24:25 -0400 Received: from mx-out2.startmail.com (mx-out2.startmail.com [145.131.90.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6831D13D05; Sat, 30 Apr 2022 22:20:59 -0700 (PDT) From: "Marty E. Plummer" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2020-07; t=1651381846; bh=CJkQRIMYjHGkPOoD08ZRSBh5tWFuR3jmLS/jherWFo8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:From:Subject:To:Date:Sender: Content-Type:Content-Transfer-Encoding:Content-Disposition: Mime-Version:Reply-To:In-Reply-To:References:Message-Id:Autocrypt; b=o67qEAg5gAkd6aO3l0M/uuD6stU6h4qJ4oopGC415zc5pO2zQTW329j2QcqnSRTOh 7zYDEcn08hRVwpsrvv/BCHLybFI0XmctjQcw5z68oRt3l+LCnQYfoIhiVv8OPYuyYv uu+JuDHkVz6RHZbwLfsdN1o2g/zfOHJhw9ivo2TrIr5wbT3bZrQwx3NCvkLcyrLzZh YIV5sOWL3oGj9lFhE7MDb4DG5wVYhKuPUbb3STmPok/1UT+dPKSNvkcvWgMzwRigbj 86SaqawgnxBpX+SMQU/Ntv1GkZFYWA6zZXpBGnWnar6AfLxTcIzdgQjDggVBTCgeLS 0nkd+nCCRZd1A== To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Wei Xu , Russell King Cc: "Marty E. Plummer" , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm: hisi: enable Hi3521a soc Date: Sun, 1 May 2022 00:10:20 -0500 Message-Id: <20220501051020.2432338-3-hanetzer@startmail.com> In-Reply-To: <20220501051020.2432338-1-hanetzer@startmail.com> References: <20220501051020.2432338-1-hanetzer@startmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable Hisilicon Hi3521A/Hi3520DCV300 SoC. This SoC series includes hardware mutlimedia codec cores, commonly used in consumer cctv/dvr security systems and ipcameras. The arm core is a Cortex A7. Add hi3521a.dtsi and hi3521a-rs-dm290e.dts for RaySharp CCTV systems, marketed under the name Samsung SDR-B74301N. Signed-off-by: Marty E. Plummer --- arch/arm/boot/dts/Makefile | 2 ++ arch/arm/mach-hisi/Kconfig | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7c16f8a2b738..535cef3b14ab 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -242,6 +242,8 @@ dtb-$(CONFIG_ARCH_GEMINI) += \ gemini-ssi1328.dtb \ gemini-wbd111.dtb \ gemini-wbd222.dtb +dtb-$(CONFIG_ARCH_HI3521A) += \ + hi3521a-rs-dm290e.dtb dtb-$(CONFIG_ARCH_HI3xxx) += \ hi3620-hi4511.dtb dtb-$(CONFIG_ARCH_HIGHBANK) += \ diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 2e980f834a6a..165ffb972157 100644 --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@ -13,6 +13,15 @@ if ARCH_HISI menu "Hisilicon platform type" +config ARCH_HI3521A + bool "Hisilicon Hi3521a/Hi3520dcv300 family" + depends on ARCH_MULTI_V7 + select CACHE_L2X0 + select PINCTRL + select PINCTRL_SINGLE + help + Hisilicon Hi3521a/Hi3520dcv300 family + config ARCH_HI3xxx bool "Hisilicon Hi36xx family" depends on ARCH_MULTI_V7 -- 2.35.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C18EC433EF for ; Sun, 1 May 2022 05:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ovQWxfLyl2hqPfsVgaOyNM9aYjahLgDw0D1X9M1yfOQ=; b=hQsYzg4WecRiws H/98Jz6r7yguiYkqHh7S6SxafLCjEss2OSlKbK+dtyBpxFEQFE2uIJv08Ol2izLJZNukJ3TzliWPG ADiNUNKktE1tPf2/TfGmoXBwhIidayiAQbL1SdXgkV3X0ocILHfU2EMIXNHu/z01ztB7PKRH7WZCT +xk2Xmx9yUoagPVz6PFOjE9d3O2vLu7OLNv3J3rEURfQVy9AhDkfxXeexiJ77z+4WH9hZ1RN/BxdR vVS1JFBzYHYCwhK3g6+SIhu3C3oyT6K9Pe+vaNrgJOP1E1bKxMOjTLug7M9sDqh9aH5759X9BpPZJ zjyZf8UVE03SupatwHhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nl1rG-00Fa55-TB; Sun, 01 May 2022 05:10:58 +0000 Received: from mx-out2.startmail.com ([145.131.90.155]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nl1rE-00Fa4D-8x for linux-arm-kernel@lists.infradead.org; Sun, 01 May 2022 05:10:57 +0000 From: "Marty E. Plummer" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2020-07; t=1651381846; bh=CJkQRIMYjHGkPOoD08ZRSBh5tWFuR3jmLS/jherWFo8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:From:Subject:To:Date:Sender: Content-Type:Content-Transfer-Encoding:Content-Disposition: Mime-Version:Reply-To:In-Reply-To:References:Message-Id:Autocrypt; b=o67qEAg5gAkd6aO3l0M/uuD6stU6h4qJ4oopGC415zc5pO2zQTW329j2QcqnSRTOh 7zYDEcn08hRVwpsrvv/BCHLybFI0XmctjQcw5z68oRt3l+LCnQYfoIhiVv8OPYuyYv uu+JuDHkVz6RHZbwLfsdN1o2g/zfOHJhw9ivo2TrIr5wbT3bZrQwx3NCvkLcyrLzZh YIV5sOWL3oGj9lFhE7MDb4DG5wVYhKuPUbb3STmPok/1UT+dPKSNvkcvWgMzwRigbj 86SaqawgnxBpX+SMQU/Ntv1GkZFYWA6zZXpBGnWnar6AfLxTcIzdgQjDggVBTCgeLS 0nkd+nCCRZd1A== To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Wei Xu , Russell King Cc: "Marty E. Plummer" , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm: hisi: enable Hi3521a soc Date: Sun, 1 May 2022 00:10:20 -0500 Message-Id: <20220501051020.2432338-3-hanetzer@startmail.com> In-Reply-To: <20220501051020.2432338-1-hanetzer@startmail.com> References: <20220501051020.2432338-1-hanetzer@startmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_221056_511620_F40AF2F4 X-CRM114-Status: UNSURE ( 7.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable Hisilicon Hi3521A/Hi3520DCV300 SoC. This SoC series includes hardware mutlimedia codec cores, commonly used in consumer cctv/dvr security systems and ipcameras. The arm core is a Cortex A7. Add hi3521a.dtsi and hi3521a-rs-dm290e.dts for RaySharp CCTV systems, marketed under the name Samsung SDR-B74301N. Signed-off-by: Marty E. Plummer --- arch/arm/boot/dts/Makefile | 2 ++ arch/arm/mach-hisi/Kconfig | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7c16f8a2b738..535cef3b14ab 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -242,6 +242,8 @@ dtb-$(CONFIG_ARCH_GEMINI) += \ gemini-ssi1328.dtb \ gemini-wbd111.dtb \ gemini-wbd222.dtb +dtb-$(CONFIG_ARCH_HI3521A) += \ + hi3521a-rs-dm290e.dtb dtb-$(CONFIG_ARCH_HI3xxx) += \ hi3620-hi4511.dtb dtb-$(CONFIG_ARCH_HIGHBANK) += \ diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 2e980f834a6a..165ffb972157 100644 --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@ -13,6 +13,15 @@ if ARCH_HISI menu "Hisilicon platform type" +config ARCH_HI3521A + bool "Hisilicon Hi3521a/Hi3520dcv300 family" + depends on ARCH_MULTI_V7 + select CACHE_L2X0 + select PINCTRL + select PINCTRL_SINGLE + help + Hisilicon Hi3521a/Hi3520dcv300 family + config ARCH_HI3xxx bool "Hisilicon Hi36xx family" depends on ARCH_MULTI_V7 -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel