From patchwork Thu Dec 14 05:42:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanmay Shah X-Patchwork-Id: 13492277 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F51DC4332F for ; Thu, 14 Dec 2023 05:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rRIYF2r0Skrq4NO0L6k1J9uenKXYb7Ay3taaeNvbwZ4=; b=P2bgPO6+cpWVdC F4ou6hAbvy+8+tQJ1ot8BRJ1xOFhgwRbDJe7ou8lQLGPkvlHMt9MzltUGBarSDn1AN0WN2iORxq9C JFgdPF+RpIGMMzm8Vg+cnzpyVZ8OxojzFzv35+eoSvHuo8PU4EJlD4E+NZmk7SZIq2FBWImkFTKNN xNEKQJgM3GC9HZSC7/3WYO9NTtetLj73dgv10NKX7xlWH32SWiqjGppa3WY9gk65wcmou1e1j0paP /t/VDC2R8DN4r3W1Qh0QQ8m7aprvt4UI7vv7how53GySdXPgmneu1ge2Sr1NoSqGQG7Z10Z+EfN3F +rLxb8LJSYxSVDYjbmRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDeVD-00GpDY-0n; Thu, 14 Dec 2023 05:43:19 +0000 Received: from mail-bn7nam10on20600.outbound.protection.outlook.com ([2a01:111:f403:2009::600] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDeV6-00Gp9i-16 for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 05:43:14 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_214312_386028_D9C4E20C X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org "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-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.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 additionalProperties: false From patchwork Thu Dec 14 05:42:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanmay Shah X-Patchwork-Id: 13492278 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6C3BC4332F for ; Thu, 14 Dec 2023 05:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sBuVHaJcjua6spZo4xUELtp+ayNoLlk/s4likS2TTjg=; b=KQ4jam9UH7UrAS lnlKYU5Mz0vBsl10xfX8XCgAsEgyaXAqE55cucJRFD6luN/fBWzwvjx2CwyO4R91HyziN/tpDgPb2 CUS2eEqkO5MAkIVi6y8WVhKZmQaZ6aGJbXTW5pAovah3EDi2Gf1czGBH+L6dN2+YdH1DgOPONoAjK /8Ys3JZhrOc4y3D7si89xeNYqvKxnUx7etkxrh9zpE5UDDGhWe6HVWfDvXlFxDPmO5YW0Mk34Miuc hgIqCVglIgDysF9/OxNmz88NxL7fDaioSCl0JOIOneMJy/hhGOcXQjkL1dNaQXTQO+MjQTwE7YEiE sCDi6sGZFyqkQKP+zamQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDeVT-00GpJE-0h; Thu, 14 Dec 2023 05:43:35 +0000 Received: from mail-dm6nam10on20606.outbound.protection.outlook.com ([2a01:111:f400:7e88::606] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDeVP-00GpGt-1T for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 05:43:33 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_214331_495125_AE00C0F2 X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.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: properties: compatible: - const: xlnx,zynqmp-ipi-mailbox + enum: + - xlnx,zynqmp-ipi-mailbox + - xlnx,versal-ipi-mailbox method: description: | @@ -58,6 +60,12 @@ properties: '#size-cells': const: 2 + 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: 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 xlnx,ipi-id: description: @@ -88,15 +106,37 @@ patternProperties: description: It contains tx(0) or rx(1) channel IPI id number. - 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 required: - compatible @@ -105,8 +145,6 @@ patternProperties: - "#mbox-cells" - xlnx,ipi-id -additionalProperties: false - required: - compatible - interrupts @@ -114,6 +152,36 @@ required: - '#size-cells' - xlnx,ipi-id +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: }; }; + - | + #include + + bus { + #address-cells = <2>; + #size-cells = <2>; + mailbox@ff300000 { + compatible = "xlnx,versal-ipi-mailbox"; + interrupts = ; + #address-cells = <2>; + #size-cells = <2>; + reg = <0x0 0xff300000 0x0 0x1000>, + <0x0 0xff990000 0x0 0x1ff>; + reg-names = "ctrl", "msg"; + xlnx,ipi-id = <0>; + ranges; + + /* buffered IPI */ + mailbox@ff340000 { + compatible = "xlnx,versal-ipi-dest-mailbox"; + reg = <0x0 0xff340000 0x0 0x1000>, + <0x0 0xff990400 0x0 0x1ff>; + reg-names = "ctrl", "msg"; + #mbox-cells = <1>; + xlnx,ipi-id = <4>; + }; + + /* bufferless IPI */ + mailbox@ff370000 { + compatible = "xlnx,versal-ipi-dest-mailbox"; + reg = <0x0 0xff370000 0x0 0x1000>; + reg-names = "ctrl"; + #mbox-cells = <1>; + xlnx,ipi-id = <7>; + }; + }; + }; ...