From patchwork Tue Aug 9 14:07:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 1664902 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M2FJg3YMlz9sFs for ; Wed, 10 Aug 2022 00:07:47 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M2FJg2dXzz3bXR for ; Wed, 10 Aug 2022 00:07:47 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=fail (SPF fail - not authorized) smtp.mailfrom=nuvoton.com (client-ip=212.199.177.27; helo=herzl.nuvoton.co.il; envelope-from=tomer.maimon@nuvoton.com; receiver=) Received: from herzl.nuvoton.co.il (unknown [212.199.177.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M2FJT3dj4z2ywN for ; Wed, 10 Aug 2022 00:07:35 +1000 (AEST) Received: from NTILML01.nuvoton.com (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id 279E7THZ006495 for ; Tue, 9 Aug 2022 17:07:29 +0300 Received: from NTHCCAS04.nuvoton.com (10.1.8.29) by NTILML01.nuvoton.com (10.190.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.14; Tue, 9 Aug 2022 17:07:29 +0300 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, 9 Aug 2022 22:07:26 +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, 9 Aug 2022 22:07:26 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 3355362EFF; Tue, 9 Aug 2022 17:07:25 +0300 (IDT) From: Tomer Maimon To: Subject: [PATCH linux dev-5.15 v1 1/2] dt-binding: bmc: npcm7xx-pci-mbox: Add npcm845 compatible Date: Tue, 9 Aug 2022 17:07:20 +0300 Message-ID: <20220809140721.28958-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220809140721.28958-1-tmaimon77@gmail.com> References: <20220809140721.28958-1-tmaimon77@gmail.com> MIME-Version: 1.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@aj.id.au, joel@jms.id.au, Tomer Maimon Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Signed-off-by: Tomer Maimon --- Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt b/Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt index e5585f38041b..9847112abd72 100644 --- a/Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt +++ b/Documentation/devicetree/bindings/bmc/npcm7xx-pci-mbox.txt @@ -1,10 +1,11 @@ -Nuvoton NPCM7xx PCI mail box interface +Nuvoton NPCM PCI mail box interface -Nuvoton BMC NPCM7xx PCI mail box, The mailbox is a high-bandwidth +Nuvoton BMC NPCM PCI mail box, The mailbox is a high-bandwidth communication module between the BMC CPU and host CPU. Required properties for lpc_bpc node - compatible : "nuvoton,npcm750-pci-mbox" for Poleg NPCM7XX. + "nuvoton,npcm845-pci-mbox", "nuvoton,npcm750-pci-mbox" for Arbel NPCM8XX. - reg : specifies two address space 1. physical base address and size of the registers. 2. physical base address and size of the dual-ported RAM. From patchwork Tue Aug 9 14:07:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 1664903 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M2FK5700Qz9sFs for ; Wed, 10 Aug 2022 00:08:09 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M2FK54tMQz3bYk for ; Wed, 10 Aug 2022 00:08:09 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=fail (SPF fail - not authorized) smtp.mailfrom=nuvoton.com (client-ip=212.199.177.27; helo=herzl.nuvoton.co.il; envelope-from=tomer.maimon@nuvoton.com; receiver=) Received: from herzl.nuvoton.co.il (unknown [212.199.177.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M2FJT3YGKz2ypf for ; Wed, 10 Aug 2022 00:07:35 +1000 (AEST) Received: from NTILML01.nuvoton.com (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id 279E7TfG006490 for ; Tue, 9 Aug 2022 17:07:29 +0300 Received: from NTHCCAS03.nuvoton.com (10.1.20.28) by NTILML01.nuvoton.com (10.190.1.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 9 Aug 2022 17:07:28 +0300 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS03.nuvoton.com (10.1.20.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 9 Aug 2022 22:07:26 +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, 9 Aug 2022 22:07:26 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 3D9E863A0A; Tue, 9 Aug 2022 17:07:25 +0300 (IDT) From: Tomer Maimon To: Subject: [PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-pci-mbox: Add NPCM845 PCI MBOX support Date: Tue, 9 Aug 2022 17:07:21 +0300 Message-ID: <20220809140721.28958-3-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220809140721.28958-1-tmaimon77@gmail.com> References: <20220809140721.28958-1-tmaimon77@gmail.com> MIME-Version: 1.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@aj.id.au, joel@jms.id.au, Tomer Maimon Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Add Nuvoton BMC NPCM845 NPCM PCI Mail Box support support. Signed-off-by: Tomer Maimon --- drivers/misc/Kconfig | 10 +++++----- drivers/misc/Makefile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 79cc23fbfac9..1174ad7a15a7 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -478,12 +478,12 @@ config NPCM_LPC_BPC interface which allows the BMC to monitoring and save the data written by the host to an arbitrary LPC I/O port. -config NPCM7XX_PCI_MBOX - tristate "NPCM7xx PCI Mailbox Controller" - depends on (ARCH_NPCM7XX || COMPILE_TEST) && REGMAP && MFD_SYSCON +config NPCM_PCI_MBOX + tristate "NPCM PCI Mailbox Controller" + depends on (ARCH_NPCM || COMPILE_TEST) && REGMAP && MFD_SYSCON help - Expose the NPCM750/730/715/705 PCI MBOX registers found on - Nuvoton SOCs to userspace. + Expose the NPCM BMC PCI MBOX registers found on Nuvoton SOCs + to userspace. config NPCM7XX_JTAG_MASTER tristate "NPCM7xx JTAG Master driver" diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index b6e9b550bb41..0400bfee295f 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -60,5 +60,5 @@ obj-$(CONFIG_XILINX_SDFEC) += xilinx_sdfec.o obj-$(CONFIG_HISI_HIKEY_USB) += hisi_hikey_usb.o obj-$(CONFIG_HI6421V600_IRQ) += hi6421v600-irq.o obj-$(CONFIG_NPCM_LPC_BPC) += npcm7xx-lpc-bpc.o -obj-$(CONFIG_NPCM7XX_PCI_MBOX) += npcm7xx-pci-mbox.o +obj-$(CONFIG_NPCM_PCI_MBOX) += npcm7xx-pci-mbox.o obj-$(CONFIG_NPCM7XX_JTAG_MASTER) += npcm7xx-jtag-master.o