Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3288325imw; Mon, 11 Jul 2022 05:58:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWWaRwUhePmaXAhSbu4O7YOzcOuXfxxPbP1e3LSGvNUEGRLKTTlpZXYGKu/DEDl5k4xcLs X-Received: by 2002:a05:6a00:8cf:b0:522:93a6:46e9 with SMTP id s15-20020a056a0008cf00b0052293a646e9mr19117233pfu.62.1657544283362; Mon, 11 Jul 2022 05:58:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657544283; cv=none; d=google.com; s=arc-20160816; b=f8uF2CmV/ab7vUX6Y/ysE04wSevlJ0MRRIgzFgeJ/eTIXhAWOXBG0L4H1BYBU7YzyS L5INxuCpncyKp1plwOoeFsDE5XqNb9Dt8h33b0wC0Bxo2lmqxd2t9zdg40jZzDDvVryK JabUGP0kWgKlKlywEn0VirI0+vHpFvR2dg3MFRrowAfNUtU6R98tC3SD7Z6EpoLVMFri 2v45GMsqsiNgZ6LbJ55fCvzoI0m3W8EjQ8MzF22YApbVhCYrQAD+d9S2SiaH+DqGJwFm r0C9ubuwUzOJX8nOkvy/prRdN/RHHTEzhy+xZxSePdUX1Tw50LtJOy/CD5cBrEEyoV5j JONw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OTQttjc3i9xBq8VcZe2CZt0QDhHsopLcLzgBH1a7WEE=; b=UJWL5jAG4hcB8eYeirQ9t0gTBS0uZeOMctJNypmFvzXnlc6UBpSxihgHFdmT0NB9J/ voh5g8JFoJcMN+AgYIN/5DibeqUCTAMoQRA1mYLjeKImRIQKrFvrfTUfZddT3mz2/UMp rJ2elcAKZvjRNqqxh/iw2iBboEC9GFAW5pka0g8qHDEZgbNTMaYHXPvxnNZ4rjkrD0c4 5ZxnFnrvP+HUs+I4g9KMgb8xLCT41DZSgLLdthAJQFgjx61BI/rLdA8EvjVjrXyhEPrI ruTxhCXXb7bLkgagvbgvCL0ogtbJYloPctX1fd9xghF36qBVM+EfrndLGI3yH8o+tixU shWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f23-20020a656297000000b00415bb65d706si9581101pgv.748.2022.07.11.05.57.51; Mon, 11 Jul 2022 05:58:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231784AbiGKMgF (ORCPT + 99 others); Mon, 11 Jul 2022 08:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbiGKMfe (ORCPT ); Mon, 11 Jul 2022 08:35:34 -0400 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B5F552FFF; Mon, 11 Jul 2022 05:35:29 -0700 (PDT) Received: from NTHCCAS01.nuvoton.com (NTHCCAS01.nuvoton.com [10.1.8.28]) by maillog.nuvoton.com (Postfix) with ESMTP id 4023B1C811AA; Mon, 11 Jul 2022 20:35:26 +0800 (CST) Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 11 Jul 2022 20:35:25 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2375.7 via Frontend Transport; Mon, 11 Jul 2022 20:35:25 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 3197D63A58; Mon, 11 Jul 2022 15:35:24 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Tomer Maimon Subject: [PATCH v8 13/16] arm64: npcm: Add support for Nuvoton NPCM8XX BMC SoC Date: Mon, 11 Jul 2022 15:35:16 +0300 Message-ID: <20220711123519.217219-14-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220711123519.217219-1-tmaimon77@gmail.com> References: <20220711123519.217219-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds support for the Nuvoton NPCM8XX Board Management controller (BMC) SoC family. The NPCM8XX based quad-core Cortex-A35 ARMv8 architecture. Signed-off-by: Tomer Maimon --- MAINTAINERS | 2 ++ arch/arm64/Kconfig.platforms | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f52543aedd61..69cb86b913cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2448,9 +2448,11 @@ F: Documentation/devicetree/bindings/*/*npcm* F: Documentation/devicetree/bindings/arm/npcm/* F: arch/arm/boot/dts/nuvoton-npcm* F: arch/arm/mach-npcm/ +F: arch/arm64/boot/dts/nuvoton/ F: drivers/*/*npcm* F: drivers/*/*/*npcm* F: include/dt-bindings/clock/nuvoton,npcm7xx-clock.h +F: include/dt-bindings/clock/nuvoton,npcm8xx-clock.h ARM/NUVOTON WPCM450 ARCHITECTURE M: Jonathan Neuschäfer diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 4e6d635a1731..c68d1b4f8975 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -202,6 +202,17 @@ config ARCH_MXC This enables support for the ARMv8 based SoCs in the NXP i.MX family. +config ARCH_NPCM + bool "Nuvoton NPCM Architecture" + select PINCTRL + select GPIOLIB + select NPCM7XX_TIMER + select RESET_CONTROLLER + select MFD_SYSCON + help + General support for NPCM8xx BMC (Arbel). + Nuvoton NPCM8xx BMC based on the Cortex A35. + config ARCH_QCOM bool "Qualcomm Platforms" select GPIOLIB -- 2.33.0