Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3817681iog; Tue, 21 Jun 2022 06:37:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sOCcdokJBSIEtUssf6pAt1au2eWkn6fOgseG+C3sJudPfJuYFV85gFYtZW5/ZWZjgrX2ZU X-Received: by 2002:aa7:df19:0:b0:435:5eb7:5e31 with SMTP id c25-20020aa7df19000000b004355eb75e31mr27266972edy.418.1655818633075; Tue, 21 Jun 2022 06:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655818633; cv=none; d=google.com; s=arc-20160816; b=zBPsQUu5qVWWHwMv2ndJcvJuEUKFw3BcF6OCd9KpTTQvm5dDtGc08o2gEPf58hgz2Q GCnDTtIzymzSuVOAtt8umRSn3amjvQcKstuGkwh0ufQTjCz1EHpe3b1I0TFsueIYHiF5 LelEECSb7lOQFodXiLdXBPP8qnXHy+tRttunVJXFlwLcGipXU1Oa31Sa3PBIvK4Z1Bib Yz5vhn/jjqWxxiw6Dn7WocS6bgcgj5AM/LpAqY27XN8Ddyj44Mi6tWeQwrYsLtQKqneT Pd9QZ58h7lShOUxXw0UulM4IyqDt7F5I5TieXk46zkIEU+ZjWIinnvy1ph8q3k8L0tSk HgDQ== 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=FvcFH8hs9U+8qUzrfULwdD24NzOQHv+R6DC4UXvsMzLQi0gn+AUZqvRhooufYhP2/q i3OWKy7iwWROuvoH5BlWeT2eCtuuhWg4pWbcJIenfQilrCHPndFXm97LgFvRgRLOvUeW R5mfOWGwU7v6H8JgqQxXJ6o8VOHNTe6nSZB/VGYPDIhViuB6NyeBgSeRc7sjLmsRwMMO wFOglPJfVJvu4Ait1fuSOAzHGYKya21tsgWlGgMtYp22sBmAfwM+0fkVe5AunUj9p4yB maz4yG5NWQ6ftdsJiavPA4Y8H5GP3HvMV4lcpOehp3tnLsdp+GysLvFy/vSUl12ZvCcq aSHw== 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 hp8-20020a1709073e0800b00718d033df10si18066622ejc.448.2022.06.21.06.36.45; Tue, 21 Jun 2022 06:37:13 -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 S1351496AbiFUNQF (ORCPT + 99 others); Tue, 21 Jun 2022 09:16:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351302AbiFUNOj (ORCPT ); Tue, 21 Jun 2022 09:14:39 -0400 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2BF685585; Tue, 21 Jun 2022 06:14:37 -0700 (PDT) Received: from NTHCCAS04.nuvoton.com (NTHCCAS04.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id CF6D81C811EE; Tue, 21 Jun 2022 21:14:30 +0800 (CST) Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 21 Jun 2022 21:14:30 +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; Tue, 21 Jun 2022 21:14:30 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id B27B763A51; Tue, 21 Jun 2022 16:14:27 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , Tomer Maimon Subject: [PATCH v4 15/18] arm64: npcm: Add support for Nuvoton NPCM8XX BMC SoC Date: Tue, 21 Jun 2022 16:14:21 +0300 Message-ID: <20220621131424.162355-16-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220621131424.162355-1-tmaimon77@gmail.com> References: <20220621131424.162355-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