From nobody Mon Dec 15 13:42:16 2025 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 9FB4FC4332F for ; Thu, 14 Dec 2023 05:43:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443199AbjLNFnC (ORCPT ); Thu, 14 Dec 2023 00:43:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443185AbjLNFnA (ORCPT ); Thu, 14 Dec 2023 00:43:00 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2070.outbound.protection.outlook.com [40.107.94.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDFDAC; Wed, 13 Dec 2023 21:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V1SGACpJ9ZO3Dnr50H6rubkWsNMXxEIZvLzvaXBYQ/VXOWq2EUXP/whkQJCZvNs+Vq54UEaG5OTX1QyEcdJIlR6ULEPTUfMKCvUHawW1nYo6pymclJgQeTI6n4esAN2CrLRDiZM9uAa5JcEQzh3YKIrsdb5hFF5Q1iH9T2EMH9f4a51G12dySbZObAuD3UoBwndkbac/FalJzH+7JVTMPr/WH1/DN7/xxtbWwsJqqDtMG8zeSwg8wNga43x/RaVik3y9reREnUnKRXOaerVj41n7LlmpLKTmHlMxeKBIVEJHGhc909su+fD/kTzGPfizGjY6P2OYkoGu+qy/kSMUFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XVLROPzv5+ocNkpztqk6gXOLbbYZ/XJj+0LnpY6o3Qk=; b=XBBLjkF0viaNupkEVACn/+wRQmOoMCVriI/VfHds1AHdEZF+x3jhRvnIbULhvfh+HV6cpt/5DNET+xF+0Ax4Eg0jTkGUF/Y86jpsCnisdakHx6n9X7ho2evXVj2VG7dYLthlZ2wMJaxIusTSHS/DPZFguFH8hxT/ZgA7Uywa92KIDihUxQBf2vHONeavUurrkckZFPIMRbhlU41N4iGCCg0ddtjDd+28+tF0FfmQ1EqSDgHDcxBxnX6SmlU+WzdXEvlevliIx0ILUyAqTlXRg0OzMtj5QyaK6GxaSd6RD2Gr43OoU7UGs/tYGJkdgayq5qILdH5dssXy1LJ/owCfHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XVLROPzv5+ocNkpztqk6gXOLbbYZ/XJj+0LnpY6o3Qk=; b=GjwFw6XX+H//vTS8BUxmDTdeRKj6CapFbpZFirYbNuuoCaL9EZ8Be/jjX+EQiRhFZDGF28xYAEQe5vtBSJhk6yCMZObzb/82UqSblYIoeHBNb8o45bcieWorYSGihI1WrrYt6LOAtDvBz2vdtB34XHPo29oqOk9rcaH4zSjxPJM= Received: from DM6PR06CA0072.namprd06.prod.outlook.com (2603:10b6:5:54::49) by CH2PR12MB4264.namprd12.prod.outlook.com (2603:10b6:610:a4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Thu, 14 Dec 2023 05:43:04 +0000 Received: from DS2PEPF0000343D.namprd02.prod.outlook.com (2603:10b6:5:54:cafe::53) by DM6PR06CA0072.outlook.office365.com (2603:10b6:5:54::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 05:43:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by DS2PEPF0000343D.mail.protection.outlook.com (10.167.18.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 05:43:03 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 13 Dec 2023 23:43:03 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 13 Dec 2023 23:43:03 -0600 Received: from xsjtanmays50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Wed, 13 Dec 2023 23:43:02 -0600 From: Tanmay Shah To: , , , , , , CC: , , , , , Tanmay Shah Subject: [PATCH v3 1/2] dt-bindings: mailbox: zynqmp: extend required list Date: Wed, 13 Dec 2023 21:42:25 -0800 Message-ID: <20231214054224.957336-2-tanmay.shah@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214054224.957336-1-tanmay.shah@amd.com> References: <20231214054224.957336-1-tanmay.shah@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF0000343D:EE_|CH2PR12MB4264:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f960bdc-abd8-44ab-4b9f-08dbfc678a9d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dis1RbaFqj1mAUTvfwjQTKEBke95jyDhAX1nKDO64k2kD+dzi5U8FwqvOy8KJq8z1R5G5IslxeJZfWDNmuRq3P4SriaxqveXnyWFyateX9or/XaOZiOLk4LkLHye5GdpU9aVIAmKKEJEm+6ODIKOjp8/1mHvWptKHt79FArC0Cxz2FM33bv+H0t8J9xuVKup5re4rC065irBC1DQoWUZ+aMjrAOC8p0cXyItV1nSa1XkeDTaHnVuzY7QBWlnQ6E74libtXKrN3n5Vz37QRDmDJ/qV5ip2Hll5v9SIo8VMEH8eBoor1Wdz/QvjJL7zG7aypw1rL1nBQYEiVOqqLI+msWDKCAHNn4HJpHUj7EOxtngv6UEHnqYHyjE+4VTauRahVb1q/VNQ/eXWNPSqI4D7cbcLWY21qaru/ymbjqXOpJallUMFIjWofO9bCfLPkZinGixS72aXeFiK+fnnjDDTb0gv68r2A4qECluJsoG7ukCwRtdf8u17GBREAF1UbXwGdpu4zaX75OHVNKTV0qiHvpVmLE8DBfqD82BT88qY31TvKd0uxmAHd54WjlJnOVEW/HRo3aiPtb3OyOT2RQF/7EiFK43uJe/o0jq1PYBcpga0SlgmMoZFtq9124QpOyRL1PMOO3asCisRJ+gQPJlCQwQl//bsa3tdemfn9Fns93UimASdHlDgcNfzaO2bVMixRIRQGjrj0VlnPb0ufVfovZITgjLIWUb6yalR6QufaiSpV/uRpJ8ims2evnaSMgBujBc9KgAAFwVbetwGzeuYDE6zHVT7QUbSN2818nupfg= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(396003)(136003)(346002)(39860400002)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(82310400011)(36840700001)(40470700004)(46966006)(86362001)(356005)(36756003)(81166007)(54906003)(316002)(110136005)(70586007)(70206006)(26005)(336012)(426003)(1076003)(2616005)(83380400001)(5660300002)(15650500001)(4326008)(44832011)(8676002)(8936002)(6666004)(478600001)(36860700001)(41300700001)(2906002)(4744005)(47076005)(40460700003)(40480700001)(82740400003)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 05:43:03.9671 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0f960bdc-abd8-44ab-4b9f-08dbfc678a9d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF0000343D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4264 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" "xlnx,ipi-id" is handled as required property but is missing from binding doc required list of mailbox child node. Add that to required list. This does not break backward compatibility but bug in bindings document. Fixes: 4a855a957936 ("dt-bindings: mailbox: zynqmp_ipi: convert to yaml") Signed-off-by: Tanmay Shah Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mail= box.yaml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbo= x.yaml index 8b15a0532120..73c180871605 100644 --- a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml @@ -103,6 +103,7 @@ patternProperties: - reg - reg-names - "#mbox-cells" + - xlnx,ipi-id =20 additionalProperties: false =20 --=20 2.25.1 From nobody Mon Dec 15 13:42:16 2025 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 84B2BC4332F for ; Thu, 14 Dec 2023 05:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443202AbjLNFnW (ORCPT ); Thu, 14 Dec 2023 00:43:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443204AbjLNFnS (ORCPT ); Thu, 14 Dec 2023 00:43:18 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2085.outbound.protection.outlook.com [40.107.93.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC6C4F4; Wed, 13 Dec 2023 21:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gtGV59TqivlRGhgQ9ba9zjOxnwhGTZFmzMemH+RfFXIEDRlrQBNUTHKyfzvXsUBTsyBNnKxv7X6UwPYiA8q6J3r3LPCYWFd+xHwdZVWABnnLSbmSxSPducRzAApL8DLV2KJ5eovhRUUGOafNpAESGdasSGa8h1SJbVddH9EHsTKyaKWkOmi1KrCQ0ly5Euee5Rz7jtrKHQnPeLDMMSHCZkOwkoZjLm3wvShcoKLggOsyXYirDUhms209V551RmrEMplo9r+Kx72h4z6TiJKl8MeergPmmXjM6i4GTlLOmyY1lRYDLLjCDAtFT6ob691HguPMk7dyq9LAM/zUZgfWVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Xe4Bzl92G8N1fReGiPBEmvCi4wMm92+2s+v4ekvvjRE=; b=O4a5opsrhRMLBKjn+IKQLokA9jU2epidFGjy/46XK0eD28x2ZlFe9qVO8DrHWp0LY809Tmgz2RWjcyV+i13ZHaZJ/Xx/MxFaWsT6XYajQW7D8jgKaMVSlTMqlLrUepdlWVDGiDvVi/iTF7XoQJ0SaJwOw+ntOX4WAY6BadChP/jqCUgaDCtv6tUexVREjqJ1RSt5iXYNtxPNi8g3c7OMP6PjBCZi9Vg8I+alKMCH9P5KStAAJnRONNY8lWvHMyghBLh7yaaKnqtoZUW9IdpVsZQrLRPMSnbvM1IynyPZ/DNvoqoLb/Wwv91iEUMcyGeUJmpQEdV3opL/NPSXYgIpfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xe4Bzl92G8N1fReGiPBEmvCi4wMm92+2s+v4ekvvjRE=; b=qCWsExiPVyKl/UbsKG2exbq4FxKrvim0UGl3SBRUjZqTWcZ3UWmX/p6pONsVqvEs6jQoLip6nOF4rhTur33Mye1yE3IqdxPK3XfOPyd77RHqSk77JMwJDPCh0J/KOXQcXzfkGt9BWddFjffmxuT6KP1wtsBwwKiZvRyu1qzAlt8= Received: from MN2PR02CA0036.namprd02.prod.outlook.com (2603:10b6:208:fc::49) by BL1PR12MB5031.namprd12.prod.outlook.com (2603:10b6:208:31a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Thu, 14 Dec 2023 05:43:21 +0000 Received: from BL6PEPF0001AB4C.namprd04.prod.outlook.com (2603:10b6:208:fc:cafe::e7) by MN2PR02CA0036.outlook.office365.com (2603:10b6:208:fc::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 05:43:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB4C.mail.protection.outlook.com (10.167.242.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 05:43:21 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 13 Dec 2023 23:43:21 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 13 Dec 2023 21:43:20 -0800 Received: from xsjtanmays50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Wed, 13 Dec 2023 23:43:20 -0600 From: Tanmay Shah To: , , , , , , CC: , , , , , Tanmay Shah Subject: [PATCH v3 2/2] dt-bindings: mailbox: add Versal IPI bindings Date: Wed, 13 Dec 2023 21:42:27 -0800 Message-ID: <20231214054224.957336-3-tanmay.shah@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214054224.957336-1-tanmay.shah@amd.com> References: <20231214054224.957336-1-tanmay.shah@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB4C:EE_|BL1PR12MB5031:EE_ X-MS-Office365-Filtering-Correlation-Id: c0dc9652-cf9c-496a-91f0-08dbfc67950b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IxJsUneLoYMEB/04A2AIuCAFq0ALGBakAjyvPv7WNwyZRIwtTcbq5ZDQiqPLh3pa/Teh2+DUAejtYWr6gp1qnWdR4YEiSOkjgBaZagQf4+1L3iD4t5+ULsyp8Wp6jCcsDE5LUxSiMII6OzE5geTjlazjXITWiwHnRddmXWMpGfP5v0rChjIM/3JncGmOk84conGMutAuSfSPF39qGuYTrFjkHzS0M8gf3Q3HiN+BNDdqvuGZtSpDlqfJZwotUX9HszSd//IlGfLgAOBUwx1sNTgiBnhQYAkO3XzWx2a+Uh0Xds03il70Rm1DeRLfkGVZ4wIymtKPR/MvGvKsuRF5crqwjphWu2Fk/0tHiosf0yYtk2pt+cQ09bC9vEAMJeFAkdlGxTcgT1rt61MD6rBe3wp0oc/vHpNJtFPlnoRhpSdcKY3nE2osfRnFm2Q+dFFKC6msd3AYw6xiJAhtlGKhTiilQoN1bPYXN1dCEXd90Cll/DkRCLDpMM6Pt8oXX9qZJHH9J9EiGxMVro2T3Pa/ar1r0dzx3dT5v1W4NQMxwQRK9PPXVa52/qCzOWB30plj9z28ke32fYy+IeW8ZPdpi1MzICpdCtGQtHSEI255daTAanHmjRx8BPIYSewiFFxQbw3eR+j9jpm0mVImMA+aH0dRC2OYPpFV5RHg4gkswHV/j/F6/fQCaupPft43BpluYmGfQvhhyoiNe3PS2CNATo1p6dQemcGsn7wLMMNcHoU+2lG11b3lKt+t89cSKVCC9dEIaaFb1BEP4XaGgJT7nHVM4lnfkYEDPi7F04klU/A= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(136003)(39860400002)(376002)(396003)(346002)(230922051799003)(82310400011)(1800799012)(186009)(64100799003)(451199024)(40470700004)(36840700001)(46966006)(478600001)(36860700001)(47076005)(83380400001)(336012)(26005)(426003)(1076003)(2616005)(2906002)(15650500001)(5660300002)(41300700001)(316002)(54906003)(70586007)(70206006)(110136005)(4326008)(44832011)(8936002)(8676002)(40460700003)(40480700001)(82740400003)(356005)(81166007)(86362001)(36756003)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 05:43:21.4982 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0dc9652-cf9c-496a-91f0-08dbfc67950b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB4C.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5031 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add documentation for AMD-Xilinx Versal platform Inter Processor Interrupt controller. Versal IPI controller contains buffer-less IPI which do not have buffers for message passing. For such IPI channels message buffers are not expected and only notification to/from remote agent is expected. Signed-off-by: Tanmay Shah Reviewed-by: Krzysztof Kozlowski --- Changes in v3: - disallow parent node "reg" and "reg-names" properties for old device - remove cleanup changes for old device and only keep Versal related changes - replace zynqmp-mailbox node name with mailbox Changes in v2: - Add versal bindings to existing bindings doc instead of separate file. - Sort required list same as properties list - Add minimum and maximum range for xlnx,ipi-id vendor property - Move vendor property last in the list - Fix description of child node reg property for versal bindings - Change commit text .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 131 ++++++++++++++++-- 1 file changed, 118 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mail= box.yaml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbo= x.yaml index 73c180871605..fe83b5cb1278 100644 --- a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml @@ -37,7 +37,9 @@ maintainers: =20 properties: compatible: - const: xlnx,zynqmp-ipi-mailbox + enum: + - xlnx,zynqmp-ipi-mailbox + - xlnx,versal-ipi-mailbox =20 method: description: | @@ -58,6 +60,12 @@ properties: '#size-cells': const: 2 =20 + reg: + maxItems: 2 + + reg-names: + maxItems: 2 + xlnx,ipi-id: description: | Remote Xilinx IPI agent ID of which the mailbox is connected to. @@ -76,7 +84,17 @@ patternProperties: properties: =20 compatible: - const: xlnx,zynqmp-ipi-dest-mailbox + enum: + - xlnx,zynqmp-ipi-dest-mailbox + - xlnx,versal-ipi-dest-mailbox + + reg: + minItems: 1 + maxItems: 4 + + reg-names: + minItems: 1 + maxItems: 4 =20 xlnx,ipi-id: description: @@ -88,15 +106,37 @@ patternProperties: description: It contains tx(0) or rx(1) channel IPI id number. =20 - reg: - maxItems: 4 - - reg-names: - items: - - const: local_request_region - - const: local_response_region - - const: remote_request_region - - const: remote_response_region + allOf: + - if: + properties: + compatible: + contains: + enum: + - xlnx,zynqmp-ipi-dest-mailbox + then: + properties: + reg: + maxItems: 4 + + reg-names: + items: + - const: local_request_region + - const: local_response_region + - const: remote_request_region + - const: remote_response_region + else: + properties: + reg: + minItems: 1 + items: + - description: Remote IPI agent control register region + - description: Remote IPI agent optional message buffers + + reg-names: + minItems: 1 + items: + - const: ctrl + - const: msg =20 required: - compatible @@ -105,8 +145,6 @@ patternProperties: - "#mbox-cells" - xlnx,ipi-id =20 -additionalProperties: false - required: - compatible - interrupts @@ -114,6 +152,36 @@ required: - '#size-cells' - xlnx,ipi-id =20 +allOf: + - if: + properties: + compatible: + contains: + enum: + - xlnx,zynqmp-ipi-mailbox + then: + properties: + reg: false + reg-names: false + + else: + properties: + reg: + items: + - description: Host IPI agent control register region + - description: Host IPI agent optional message buffers + + reg-names: + items: + - const: ctrl + - const: msg + + required: + - reg + - reg-names + +additionalProperties: false + examples: - | #include @@ -145,4 +213,41 @@ examples: }; }; =20 + - | + #include + + bus { + #address-cells =3D <2>; + #size-cells =3D <2>; + mailbox@ff300000 { + compatible =3D "xlnx,versal-ipi-mailbox"; + interrupts =3D ; + #address-cells =3D <2>; + #size-cells =3D <2>; + reg =3D <0x0 0xff300000 0x0 0x1000>, + <0x0 0xff990000 0x0 0x1ff>; + reg-names =3D "ctrl", "msg"; + xlnx,ipi-id =3D <0>; + ranges; + + /* buffered IPI */ + mailbox@ff340000 { + compatible =3D "xlnx,versal-ipi-dest-mailbox"; + reg =3D <0x0 0xff340000 0x0 0x1000>, + <0x0 0xff990400 0x0 0x1ff>; + reg-names =3D "ctrl", "msg"; + #mbox-cells =3D <1>; + xlnx,ipi-id =3D <4>; + }; + + /* bufferless IPI */ + mailbox@ff370000 { + compatible =3D "xlnx,versal-ipi-dest-mailbox"; + reg =3D <0x0 0xff370000 0x0 0x1000>; + reg-names =3D "ctrl"; + #mbox-cells =3D <1>; + xlnx,ipi-id =3D <7>; + }; + }; + }; ... --=20 2.25.1