From patchwork Sun Dec 8 04:39:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Havalige, Thippeswamy" X-Patchwork-Id: 13898481 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2061.outbound.protection.outlook.com [40.107.220.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CE9745005; Sun, 8 Dec 2024 04:39:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733632799; cv=fail; b=sjnv87+6Yyng6MM1A+levN7n35t0fuMdV/YfJagnNp/KG874TNewbhBrGIWb7tuIpF41zuxjL+xEPu+nI/OFmbfipv61lpLz6PKkPii28BRUGrpkbomtr2jyNnM/w1K1Z4a5pWJIxtyEv1RXc/5v1UORLVY0ncSITfuCQmWQVUU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733632799; c=relaxed/simple; bh=LUkd46oYVoghRXDPs2DqCXwa+H6TZuOmbobrY9Vm1mk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H2LiEtsyxHwkOqrXoOw0z0pCVvmasPbzlQpr1L/oQv8onZeK5RT2vdO++9GNt9rJcfGIMvVFUfTG/Ql2OMDzgXINbOuPmMTxnwdO1+hOc8ZzQczRy69TT/TR0NlLGDRV7Xj5vL2zZYOGcq1fJ2hmpX21itmJuHkB7lNAuoHUmZo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=b9zsVOFs; arc=fail smtp.client-ip=40.107.220.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="b9zsVOFs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A1QPrAQyQ361jv6+Qmxx3Y8j7pY9Ejr4BReVzkW0FzO+zXELRSSaezx6DvH9sPz1lu15MyStH1oAjDLwxyaxdJk+CLuBnx4B71bMTqBhFbzsnZT3QwtuynJdRYX/7R3XUZY7v72O5UGZWEhJnSRCaY7LFlVrelj+9BZrlQmoHvf7Eks2MiYtA2d7PKkSy7iBiDSqB1LoRnjQAt7FzTkLqM1uWHawaXfu4uOI+905DrLQLvlmuN1/G7/AMoQGRq7raA9KKg12zks0ytINlVGu59lJm9bLr1mOrKwjTd28xHc/7EaqGaoGfx9Nolkt+AkH1CNjsepa7/iKgfuMKhe6kQ== 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=FTxvKM27TnnFZsfdDmKzFnnw3NjvXD91BO8p/poI5Tw=; b=Ah0V91g89OUCWOvUz5coB+ivVg57HU7aiLCeBx8UMmv92/gj3sPV6YOiNv7fSLDlv3N9ykhyEjAEYWmVEROsOHPLhtPTqa5iVFbSbAM8NWx6/CCmw4Kz13LG9C89Yk3x085XNwJDVY9AXatozxG+AjD6z1Y2Zh9sxPUe10TjI7ZTJvF94VKHjdCWdMOEjBs0WmGM6AlF8CWSE6Wm/OcngVZqMsOufqdsdZCwl5BuGeL9io45HIj7Kc0srpdMfxzHdhIqGlwiOuxCm+u9OY78/XyvzZOy2X77dF32TkblRZCf9g7o5Y2Q6N94tufCE3+qi13SggqdtS6qBWLpGzquCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=google.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=FTxvKM27TnnFZsfdDmKzFnnw3NjvXD91BO8p/poI5Tw=; b=b9zsVOFs4vhb5rYcxNSpVMde2cQdlJgxe1TBUBrRtJjAbj+4luc57ma2suAlfRzSEDw6snxDhqOQt1C/W9rRbj2+/H2LvcNAPcQ8PvyGSphrhjoqbrmzTKYhzSWOm0Ur+NKMrVtIza9oiO0DkAXZRcge2oxsvVUi988lym288p0= Received: from MW4PR03CA0245.namprd03.prod.outlook.com (2603:10b6:303:b4::10) by MW6PR12MB8834.namprd12.prod.outlook.com (2603:10b6:303:23c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Sun, 8 Dec 2024 04:39:55 +0000 Received: from SJ5PEPF000001CB.namprd05.prod.outlook.com (2603:10b6:303:b4:cafe::a3) by MW4PR03CA0245.outlook.office365.com (2603:10b6:303:b4::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.12 via Frontend Transport; Sun, 8 Dec 2024 04:39:54 +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 SJ5PEPF000001CB.mail.protection.outlook.com (10.167.242.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8230.7 via Frontend Transport; Sun, 8 Dec 2024 04:39:54 +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; Sat, 7 Dec 2024 22:39:53 -0600 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; Sat, 7 Dec 2024 22:39:50 -0600 From: Thippeswamy Havalige To: , , , , , , CC: , , , , , , Thippeswamy Havalige Subject: [PATCH v5 1/3] dt-bindings: PCI: dwc: Add AMD Versal2 mdb slcr support Date: Sun, 8 Dec 2024 10:09:26 +0530 Message-ID: <20241208043928.3287585-2-thippeswamy.havalige@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241208043928.3287585-1-thippeswamy.havalige@amd.com> References: <20241208043928.3287585-1-thippeswamy.havalige@amd.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: thippeswamy.havalige@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001CB:EE_|MW6PR12MB8834:EE_ X-MS-Office365-Filtering-Correlation-Id: a97aa39e-f6f4-44e4-2320-08dd17425ccf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: yvMwXkKPNfp5Mmkm3gNhyrMYzbl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AB+w9VtLcBpo6xAlNnxfaYlqPgris8/ifVcxX02hbUT5gRE2KKGk83sb5h8alnKCuTFUpNijOwUtxtHPRh2Y4LTL1o430PmbhhDqfWLFCrv0OzJ2hHIBmRSOetGJBwWIN1dZUBW2QEKbCybpe7P4PIVcHMfg1TOXedjTpkeJiHQzhA6QndwPPl5R0k847fCO2/kfnBzu0ue1qix6rkYjaRYlvZbGn2DwjcPmykkR6vKKrjM6sBIGvm2xLCLKegNkrpkoSjlTcXw6IJx5i/yBMGwQ7ya3xrgpwSUao9tAIVbfkNEVntNXePIGEqjl9y33grXTh3X9fAPjp9QJnWxNLqCcvfsKsGE63O/mLEN+l 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)(376014)(7416014)(82310400026)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2024 04:39:54.7275 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a97aa39e-f6f4-44e4-2320-08dd17425ccf 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: SJ5PEPF000001CB.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8834 Add support for mdb slcr aperture that is only supported for AMD Versal2 devices. Signed-off-by: Thippeswamy Havalige --- Changes in v3: ------------- - Introduced below changes in dwc yaml schema. Changes in v5: ------------- - Modify mdb_pcie_slcr as constant. --- Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml index 548f59d76ef2..696568e81cfc 100644 --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml @@ -113,6 +113,8 @@ properties: enum: [ smu, mpu ] - description: Tegra234 aperture enum: [ ecam ] + - description: AMD MDB PCIe slcr region + const: mdb_pcie_slcr allOf: - contains: const: dbi