From patchwork Fri Jan 13 12:53:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wojciech Zmuda X-Patchwork-Id: 642202 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 7154EC54EBD for ; Fri, 13 Jan 2023 13:06:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240951AbjAMNGm (ORCPT ); Fri, 13 Jan 2023 08:06:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231274AbjAMNGP (ORCPT ); Fri, 13 Jan 2023 08:06:15 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DCCA755E7; Fri, 13 Jan 2023 04:53:33 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30D1avKd003864; Fri, 13 Jan 2023 04:53:29 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=5aR+U+xGoyUqy1QRwIY6rPuZMSwevlfyyMEUgL+N7Z0=; b=iLt4iM1pDE7XBh2v3GHmjKf5RtKmzI7iPMN58jLqAM88UyofvRwpIrmQE0N6MK6qC4Mk SyKwb4gzdZOYcZLHMFuH3Mepcbms8oGdIBvI45FpeWqvJ0MM3QiaJ5aZZ+OKoC6VTSRM dT7zR8aqxiiGOes0XMqQu8lDCobhZ+kh8XI6viMhFM2jNSAYO28KKgnx0FHxnAxr2Yr7 Upy3TWh5CRJlT9kK91SszToHxIC3L+4eVPO8cpU+V02VKuhyMcqNlsJrpCOfBrobazmT 62rVykHrmmBuEZRildAi2btMZyF5uskzSGAtw+peVjT9SyTQy93bJZJpYyiBCYiQsrB7 4w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3n23b2p3af-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 04:53:29 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 13 Jan 2023 04:53:27 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Fri, 13 Jan 2023 04:53:27 -0800 Received: from localhost.localdomain (unknown [10.110.150.170]) by maili.marvell.com (Postfix) with ESMTP id 578543F705E; Fri, 13 Jan 2023 04:53:27 -0800 (PST) From: Wojciech Zmuda To: CC: , , , , , Wojciech Zmuda Subject: [PATCH v3 0/2] Add support for Marvell MHU on OcteonTX and OcteonTX2 Date: Fri, 13 Jan 2023 04:53:21 -0800 Message-ID: <20230113125323.3744-1-wzmuda@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-GUID: yrlRFQajKU8r3qy7_ZHc7zqs2LK68a3h X-Proofpoint-ORIG-GUID: yrlRFQajKU8r3qy7_ZHc7zqs2LK68a3h X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-13_06,2023-01-13_01,2022-06-22_01 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In order to support ARM SCMI for the Marvell OcteonTX and OcteonTX2 SoC, add a generic platform MHU driver based loosely on arm_mhu.c and pcc.c. v2->v3: - Unify SoC naming used throughout the patch set - Drop 'driver' from patches titles and use correct prefix for bindings - Add detailed and extensible compatible matching (with SoC models) - Rename driver from mvl-mhu to marvell-mhu - DT bindings: - Fix typos, indentation, reorder properties, use lowercase hex - Drop usage example in the firmware/scmi node v1->v2: - Clean up - Rebase on 6.1 - Remove PCI interrupts Wojciech Bartczak (1): mailbox: marvell-mhu: add Marvell MHU Wojciech Zmuda (1): dt-bindings: mailbox: add Marvell MHU .../bindings/mailbox/marvell,mhu.yml | 59 ++++ MAINTAINERS | 9 + drivers/mailbox/Kconfig | 10 + drivers/mailbox/Makefile | 2 + drivers/mailbox/marvell_mhu.c | 295 ++++++++++++++++++ 5 files changed, 375 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/marvell,mhu.yml create mode 100644 drivers/mailbox/marvell_mhu.c