From patchwork Tue May 11 15:38:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 434361 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50C44C433B4 for ; Tue, 11 May 2021 15:38:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C4EF616EB for ; Tue, 11 May 2021 15:38:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231782AbhEKPj1 (ORCPT ); Tue, 11 May 2021 11:39:27 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:63972 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbhEKPj0 (ORCPT ); Tue, 11 May 2021 11:39:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1620747500; x=1652283500; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SqNyNIfuwHW0yJuBwaT05X9QMLsai7UvDsw9rjA5dnQ=; b=AqF2CvmRMjMLnHKInnT9tDL5JBpxIDyCC4UCcBlPa6HcUKfuMfDYyB+A jOMG/8IcRNCt9VCbuQQ7lTjOcB3Pp8hUgQWGixuZbV4CyJStH+B9YTYnG Y35CpYoRABBs4tMTb41g+aCfrGo8kh4cFabEM6lw1wf5zd7oWxDcrqS5J 7lZ6w/gG99A9OAcQXUON6B+A+QB686FIS8bBERSDyzb8wOT1mvylXJs0Y 2jZdmuqQ+61kSzWR3m4DvkXSBh0nuRcNg2ETU2bmW/X1ebbfQ5KmhJpfO 4waIuN3qXu4lxXkTrtfzK0k5OxdqGdn0nTJODSnz8+hCe3WBwbI/TqRJH A==; IronPort-SDR: 1Iz84wIrYvtlI1aseHZjzJw0zLjGikuWxtFGv0QZojsnUfRwGihYWGLqJ3gJjUWB2D++ofmbQV /XTCV5rzEaD64T9R+peW6DDTqPQr8QSpwgACWsoQ/XTirG4SvshSONnGNJbl2B9SN4Pp++fY/5 dz8eaaz6Vcm+X7/u+BGPLfGWBoC8Y1RwI/vgHRf1U+jF6WnPX0A/xzswuZ8SrT5ODuueUeoXx/ gLg1ePngPmqL/tcJ0zDljpY8haBmtUXveeDyLDaL/Bzu7xmLM9YzJBzOxKDsVsVtyzANiDynUk gZ0= X-IronPort-AV: E=Sophos;i="5.82,291,1613458800"; d="scan'208";a="120686650" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 May 2021 08:38:19 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:38:18 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 11 May 2021 08:38:16 -0700 From: To: , , , , , , , , CC: , , , , , , Conor Dooley , Rob Herring Subject: [PATCH v7 1/5] dt-bindings: add bindings for polarfire soc mailbox Date: Tue, 11 May 2021 16:38:15 +0100 Message-ID: <20210511153815.28611-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley Add device tree bindings for the MSS system controller mailbox on the Microchip PolarFire SoC. Signed-off-by: Conor Dooley Reviewed-by: Rob Herring --- .../microchip,polarfire-soc-mailbox.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml diff --git a/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml new file mode 100644 index 000000000000..bbb173ea483c --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/mailbox/microchip,polarfire-soc-mailbox.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller + +maintainers: + - Conor Dooley + +properties: + compatible: + const: microchip,polarfire-soc-mailbox + + reg: + items: + - description: mailbox data registers + - description: mailbox interrupt registers + + interrupts: + maxItems: 1 + + "#mbox-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + mbox: mailbox@37020000 { + compatible = "microchip,polarfire-soc-mailbox"; + reg = <0x0 0x37020000 0x0 0x1000>, <0x0 0x2000318c 0x0 0x40>; + interrupt-parent = <&L1>; + interrupts = <96>; + #mbox-cells = <1>; + }; + }; From patchwork Tue May 11 15:38:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 434360 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 897BFC43460 for ; Tue, 11 May 2021 15:38:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 576D8616EA for ; Tue, 11 May 2021 15:38:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231754AbhEKPjj (ORCPT ); Tue, 11 May 2021 11:39:39 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:23503 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbhEKPji (ORCPT ); Tue, 11 May 2021 11:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1620747512; x=1652283512; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4p3t+4D2U+AKPg4n/O+ArrbzKLVo+0girpiXU0sKiVo=; b=JwBIguSfwz8fQL+6CemHHiJkPGCpilC3Vcd2TCld+Mf7szRA/YLPX9cO 4LOEysaSiOjwjIb0jOLzfjul5rnnBfeIonlN4cf3XeU/jHLC8M66DMAJU 38pia+2FaCGdWLGg0PQbYzC1N8lO6CzwXRFbLyXo1pw/gJEYzBr51bqrE LfAEQ6zoH5e0Wlo+D1HSa5C7uqaqNGaOf1I/BUhsVGR73JW5Y4TV2MN0W XBlUT4vT1JCrrtpGeNbRdJCITkgr64eZwWpE1Bri7yMpDK6E0GGTVcNYa w8iXETd2F4uEeVMhUqz9EQKX4CbTXXWNk1JEIFFl6pqegWvBmpqamGHED w==; IronPort-SDR: 4xe8/nHLh0ufC9t1GOMwyzfFKW1sZqa+2ZwWJoJOAXMkjDy98dC4WmShbyT+bJ4niN7LQRZSh4 S38I2Q8ielnimohsimFXDuGWFLlnD9FEHwuOnRFRTF43Bx2uzD+jhhmL5USOZpGOuqeT+9hQsr 7ChDuiO1bC9OCCU7BI8oZObjybkb7JHUX/DSv4DexepxONMTuH3GOl3Y7OvU4le36c/Me/T91c vhVX8Ygm6H6xrjDH8HYG7WxohzDp8m7aMp77n3SQJq65mIuIkdc3BCTdIR8EdytzBh+eHpP0Cd zjs= X-IronPort-AV: E=Sophos;i="5.82,291,1613458800"; d="scan'208";a="121227821" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 May 2021 08:38:31 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:38:31 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 11 May 2021 08:38:28 -0700 From: To: , , , , , , , , CC: , , , , , , Conor Dooley , Rob Herring Subject: [PATCH v7 3/5] dt-bindings: add bindings for polarfire soc system controller Date: Tue, 11 May 2021 16:38:28 +0100 Message-ID: <20210511153828.6579-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley Add device tree bindings for the MSS system controller on the Microchip PolarFire SoC. Signed-off-by: Conor Dooley Reviewed-by: Rob Herring --- ...icrochip,polarfire-soc-sys-controller.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml diff --git a/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml b/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml new file mode 100644 index 000000000000..2cd3bc6bd8d6 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/microchip/microchip,polarfire-soc-sys-controller.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) system controller + +maintainers: + - Conor Dooley + +description: | + The PolarFire SoC system controller is communicated with via a mailbox. + This document describes the bindings for the client portion of that mailbox. + + +properties: + mboxes: + maxItems: 1 + + compatible: + const: microchip,polarfire-soc-sys-controller + +required: + - compatible + - mboxes + +additionalProperties: false + +examples: + - | + syscontroller: syscontroller { + compatible = "microchip,polarfire-soc-sys-controller"; + mboxes = <&mbox 0>; + }; From patchwork Tue May 11 15:46:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 434359 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C3E3C433ED for ; Tue, 11 May 2021 15:46:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA9CD61278 for ; Tue, 11 May 2021 15:46:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231609AbhEKPrv (ORCPT ); Tue, 11 May 2021 11:47:51 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:64898 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbhEKPrv (ORCPT ); Tue, 11 May 2021 11:47:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1620748005; x=1652284005; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2wFNoG8f366htGhQt8VAHF5ZyPpaUVl2/KxdsBD2KTY=; b=fAX2fUftE0e3WSJwlVg2mSsaDYRTdarhgPLbvh8uNDy026wJeR1H9KT1 YA0wPqq8j8ViIN3Qq0jIC8hKUmf66lhn/qPt0vvh+f0R9yhF0A1H0peWM WMwF3r82JYbm0P1AANmEhN0HYB7bSLZwfPjuvGZN9TzgsRiPNFL1lz6qC h7ZP+7tKScBCfqW9Deqh2wUPQciHhzv9Vw/ZaFrJmIpwEaKVGxr7LA7ip QTiI7DSnX+rCkOyaWvIfDEMz+ChZE0hp9agK0zLViKq9FB08fBf7k4N0W 6l5SH/gAfMO0mv4Cs7RybZDvTox9UeOR5TOOiPwFDX8WrN29UdYX4zab3 g==; IronPort-SDR: 7VPdf6u1uldYlANmAUTf8Cs9wmc1Ja/pJAmKHvFRoVADALlJPQFQHYVm6ULh7yL5tyNfznn7OA Cr87ifwt3TW08bknBl+fs8kxmuTlRsfq2WocO9faRGtn6o+iJsZb+gahRcf7RpwqEte0UBg1CI aPj1pUJngeVg4aT00lvdl5UqIxz/i/qmZTmKPJc5GXyZLv/EmHJkJt7QMijpzxBQ1HS5w2yQy2 8U7JzMFBVKzUajznsvtkpfdFSduXnOWJhZe4zT6MEeawYe8NCDcE8ZOo3XbTFGdPP4/j6Ca0Pf MKs= X-IronPort-AV: E=Sophos;i="5.82,291,1613458800"; d="scan'208";a="120688921" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 May 2021 08:46:44 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:46:43 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 11 May 2021 08:46:41 -0700 From: To: , , , , , , , , CC: , , , , , , Conor Dooley Subject: [PATCH v7 5/5] MAINTAINERS: add entry for polarfire soc mailbox Date: Tue, 11 May 2021 16:46:40 +0100 Message-ID: <20210511154640.6831-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley Add Lewis Hanly as a maintainer for the Microchip SoC directory and the system services mailbox driver Signed-off-by: Conor Dooley --- MAINTAINERS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bd7aff0c120f..c3ec9407ce2c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15693,6 +15693,14 @@ F: arch/riscv/ N: riscv K: riscv +RISC-V/MICROCHIP POLARFIRE SOC SUPPORT +M: Lewis Hanly +L: linux-riscv@lists.infradead.org +S: Supported +F: drivers/mailbox/mailbox-mpfs.c +F: drivers/soc/microchip/ +F: include/soc/microchip/mpfs.h + RNBD BLOCK DRIVERS M: Md. Haris Iqbal M: Jack Wang