From patchwork Fri Aug 9 06:09:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13758432 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 8B401C52D71 for ; Fri, 9 Aug 2024 06:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=7fgbu+vmMtWkXTudPY9JxMV+R2mA07ox3D1YVBDgvZU=; b=Jfx5YnKIa2Vc4LZh6+l9Mo/ZwQ Gu+W2IPC8cv8Zu71/tN/AVLDtAqcEifhsT16AoQ8QFTzdoESnW63uqJONDyE8j83+Y2E0qPZnRQDp 914FhxEq9KeG+Zz5m3u4fVQlZjwj2Y12bgtmjYHy94TLK6O2w7LT+5G2Fv7qNw1ovQbLQo0REWkae JDnzP7GEidkKKTb0XYfvDPE79cva1mW4eeuDouZVI5qVLiFUqf+QyzCgbnL1cNBwKwTD1pDi1u8se pN80EEQ9A5r773tMa2+dRbIZV8xMIAGMRECUhiBkUh1DGGzhuORSUF+v7XWQZLgtOHSd1ZuPKacFR GKXlTrXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scIqi-0000000AOny-25uU; Fri, 09 Aug 2024 06:11:40 +0000 Received: from mail-bn8nam12on2062c.outbound.protection.outlook.com ([2a01:111:f403:2418::62c] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scIpa-0000000AOQz-2UqJ for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 06:10:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TAATKIRWExbH5cSaxdkEHtRyOY547YajfZL7PvGAe7OnrMb21eINGUOiGM+kucFKPlIgVGJnDj0+sL+Lamphdox7LMNge+XHA0iXDJmx+VjGbNRfN51NKDavnz4Xt6HBlAitbouqv2Ah75SU1TqbnQqplDIsNa/nrluR2CK5/kY5ffveEBa6UECM8pYccfVlq9zmsHRxXfPjow8oqYeA+XeQ7fAnE/uFg+Nbh8FlmabMmLQCIfL6FR0KuXOaN02s/M5EdL5N+6CTSlkyqn+HcTFUf6jXOpNPZNP3+7c72Hs7A4TmMLc+YyeHfBKL3A3YKt5SD1i/XRS7w4xUVTC/FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=7fgbu+vmMtWkXTudPY9JxMV+R2mA07ox3D1YVBDgvZU=; b=NuKhtSh+Jo+hekZ+J1MSIiGO7w1cD945K8HR3NX00L8IL0V/PLmIxi2R844h84Qip+MsefmZ9F+8EsSaVCknjB4YG86NAo4MQfT06XUpNIOqEqdsRvc043LhGjxa+J2wFT0DQHdz8E7xZiDFCarBsgJo50lrSd6d+ztSUySpeDfvp2NDyVJrOSGFajCKnRCTMvuuEW0dS7lR0BJ7Rg0H12Ml9fDoFEewDAgJA/DGr4hmYc0dhAUe9ACz1VnCUHlCsxkfSPRPX5ExA5AgVqzeLCGFLbpzcG4jkE7Kb3bjl8+zPG650phGrU51gnDjJl5Vwq8fV+Zhn3yc+3OpilsqNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=temperror (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=temperror 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=7fgbu+vmMtWkXTudPY9JxMV+R2mA07ox3D1YVBDgvZU=; b=cM8XEmyQYj7qJzris0KVQ4FxkeQq158lH0qzsGlawkXFGNaVgFdfbIlPU/PhXDOnrasxHRHCpXa9Af6hJrpunsqSf7UlTiq5hACcMDHWwOo57/Yr/lWiuDX49X9VbY97HsEvkV5riZtLxIgWgXxhkgEoA0QnJT8SuoFmnvoNES4= Received: from BL0PR02CA0079.namprd02.prod.outlook.com (2603:10b6:208:51::20) by BL1PR12MB5729.namprd12.prod.outlook.com (2603:10b6:208:384::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.14; Fri, 9 Aug 2024 06:10:22 +0000 Received: from BN3PEPF0000B069.namprd21.prod.outlook.com (2603:10b6:208:51:cafe::71) by BL0PR02CA0079.outlook.office365.com (2603:10b6:208:51::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.14 via Frontend Transport; Fri, 9 Aug 2024 06:10:22 +0000 X-MS-Exchange-Authentication-Results: spf=temperror (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=temperror action=none header.from=amd.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of amd.com: DNS Timeout) Received: from SATLEXMB04.amd.com (165.204.84.17) by BN3PEPF0000B069.mail.protection.outlook.com (10.167.243.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7875.2 via Frontend Transport; Fri, 9 Aug 2024 06:10:20 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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.39; Fri, 9 Aug 2024 01:10:20 -0500 Received: from xhdthippesw40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Fri, 9 Aug 2024 01:10:16 -0500 From: Thippeswamy Havalige To: , , , , , CC: , , , , , , "Thippeswamy Havalige" Subject: [PATCH v3 1/2] dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx QDMA PCIe Root Port Bridge Date: Fri, 9 Aug 2024 11:39:54 +0530 Message-ID: <20240809060955.1982335-2-thippesw@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240809060955.1982335-1-thippesw@amd.com> References: <20240809060955.1982335-1-thippesw@amd.com> MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: thippesw@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF0000B069:EE_|BL1PR12MB5729:EE_ X-MS-Office365-Filtering-Correlation-Id: fbfb3b19-edfb-431f-e833-08dcb839f310 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: 6RolUSKNW/dlVQIwYq6JBF2xuKJoappCuKyn/ldOi9v0x/4Fjri+xJVcR7AhmaNszPv1mJMcFJbB5bmEKEA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sG3s4eR4+zMlNoyEUL0r87aH7UGOpAnUC/Xnk52Z30cuIYpJ33nZ74eF8ZxMvLPY4kbdI2d+v5W1MHrzUxy2IWH0wvxvP2qfMTc7q0kKopya7X3GYywRDPlNhvKia0fHTYMYr5bTezqxNGH05aCsHWt7KBtgp8nTjQ8xWUvri7CRA+Aadj8rsYlETKpTtxiu0oKXk5hDxp0w+aNi5y9ktNGFMolGfHg32bENv314QJelON4xK9GXxCB8Ylva5w+X73IkOqApkwf+UTtB+6EOW+VmyuSKKdnmAjauxXlpyBOeq1 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:(13230040)(7416014)(1800799024)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2024 06:10:20.9604 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbfb3b19-edfb-431f-e833-08dcb839f310 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: BN3PEPF0000B069.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5729 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_231030_668252_F5CEBE7D X-CRM114-Status: UNSURE ( 9.85 ) 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 Add YAML devicetree schemas for Xilinx QDMA Soft IP PCIe Root Port Bridge. Signed-off-by: Thippeswamy Havalige Acked-by: Conor Dooley --- .../devicetree/bindings/pci/xlnx,xdma-host.yaml | 36 ++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) --- changes in v3 - constrain the new entry to only the new compatible. - Remove example. changes in v2 - update dt node label with pcie. --- diff --git a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml b/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml index 2f59b3a..f1efd919 100644 --- a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml +++ b/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml @@ -14,10 +14,21 @@ allOf: properties: compatible: - const: xlnx,xdma-host-3.00 + enum: + - xlnx,xdma-host-3.00 + - xlnx,qdma-host-3.00 reg: - maxItems: 1 + items: + - description: configuration region and XDMA bridge register. + - description: QDMA bridge register. + minItems: 1 + + reg-names: + items: + - const: cfg + - const: breg + minItems: 1 ranges: maxItems: 2 @@ -76,6 +87,27 @@ required: - "#interrupt-cells" - interrupt-controller +if: + properties: + compatible: + contains: + enum: + - xlnx,qdma-host-3.00 +then: + properties: + reg: + minItems: 2 + reg-names: + minItems: 2 + required: + - reg-names +else: + properties: + reg: + maxItems: 1 + reg-names: + maxItems: 1 + unevaluatedProperties: false examples: