From patchwork Mon Sep 23 04:45:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mahapatra, Amit Kumar" X-Patchwork-Id: 13809286 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 8AB31CF9C5B for ; Mon, 23 Sep 2024 04:47:31 +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:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=L96Fym9Aw1e0JKU5xfuwV3taU7LwRkH/gZNb67lFJuM=; b=anEyVGRabWDsb0klYsYyiy6Ycc kGpsNhIl8iSHtov8YHUexDOJ0G+yVbUAw8WL6Rw0mmw7jDRzcFAw7Zsj+/OZwG1krmTffiET5n5Qr PBhmvDuKBzEw2GhZYhUb4ScbsvXu0lSt57B/lvizADRsV9vV3I0JZgibLH4QWPYvKNs+9oxKd+XWy UJQ/jX2DHIDdAxgNVN6rEc/gAVFlw64y6S3TT7GmMT4NHzIbW+YhaFTCSlGRvhe7YuxVgd9QCDErJ lcLPgztsaW3YWk9sqy9I9pguCy0wSOSNTs3dbZgOi2FFxsYcQ/tMz1TwlITU1FGERzC5Yb0/SHxka 2rJdNwzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1ssayk-0000000GIlM-0wKC; Mon, 23 Sep 2024 04:47:18 +0000 Received: from mail-dm6nam11on2062c.outbound.protection.outlook.com ([2a01:111:f403:2415::62c] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1ssaxa-0000000GIfZ-0hr5 for linux-arm-kernel@lists.infradead.org; Mon, 23 Sep 2024 04:46:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jmAzBywm8hSrS+qCQdFqiH1gh6fBSYszDWmOjnDh4vlNGGlLE6lpKGAUBJ4GQ+nh/bBWBQ1NRydR6cLOJR6672bAytN3x9KenBfXNX3JKsQOqBOFlJW0BXzel6l8qTv2iQDijZWfrIXmED0+md57/D4HwrkO3FWX+dLqCXoqktFNaiiPMLeX2BHwgrgwteC4/QAH48//Uwyb0O3abx6HHJeMtc+f3GBf7psvJT56nynXoWU+mR42JC8ElqDUyV4JNUVQyEcX/IgP77sFKUOgXhx5qzCjpAj/NAE2PSXwYvuFSbPN+EO8ktFl90S1c8IJcDjeLqS2+u2dlu/JLsXOyA== 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=L96Fym9Aw1e0JKU5xfuwV3taU7LwRkH/gZNb67lFJuM=; b=IYGbj75zHf3cLKa+23BzoNjcZtYWLce/NVNdFbOoUNxqtQR4nnn7Fi8aLotnFkeCRUYBuLLH0xvGfAgOgt67u4zX1xl7t9FupST1qhbTQ8f7b99sLnbQX+zDeg/eBFMx8SmIKy3Fn8gOB/RZHjwtZGO/o5it8BFGUKeBfWoStdEJMDiEPtgaddQKK56JkTRN2WTBbURdMs2uiy1sRz8HmfjJ1MO/CTUAKgW3veeAzlYv7zQK2Dk+0kqy/WxWJK0FntIrSLi/Lz+Vm8gKP1+wqZ7NASSF1PeOD7Ew5pCT3im2JuvHN1eLN2vkatocKBnQ7aPnLKiom2FLDUhOenm/qg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org 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=L96Fym9Aw1e0JKU5xfuwV3taU7LwRkH/gZNb67lFJuM=; b=NQ0uJXUgl78hsiTtH0D2ZYLFEbYB0jFncg4BITofwYEDwLaG7dYrBG3oObE0QxpOd9d85FFld5djOQtFtHTdkjaO6oJQSG5lFJrLuTMUQRWmGaPO0tMi9I5LLYEeFCu21BbMk4zfdBv1b9aWxIh4/YzMPOIHis66bKmx2ZLjkdI= Received: from MN2PR20CA0018.namprd20.prod.outlook.com (2603:10b6:208:e8::31) by MW4PR12MB7237.namprd12.prod.outlook.com (2603:10b6:303:22a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Mon, 23 Sep 2024 04:45:51 +0000 Received: from BN3PEPF0000B074.namprd04.prod.outlook.com (2603:10b6:208:e8:cafe::51) by MN2PR20CA0018.outlook.office365.com (2603:10b6:208:e8::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.22 via Frontend Transport; Mon, 23 Sep 2024 04:45:50 +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 BN3PEPF0000B074.mail.protection.outlook.com (10.167.243.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Mon, 23 Sep 2024 04:45:50 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.39; Sun, 22 Sep 2024 23:45:48 -0500 Received: from xhdakumarma40u.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Sun, 22 Sep 2024 23:45:45 -0500 From: Amit Kumar Mahapatra To: , , , CC: , , , , , , , Amit Kumar Mahapatra Subject: [PATCH] dt-bindings: spi: zynqmp-qspi: Include two 'reg' properties only for the Zynq UltraScale QSPI Date: Mon, 23 Sep 2024 10:15:43 +0530 Message-ID: <20240923044543.2222-1-amit.kumar-mahapatra@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: amit.kumar-mahapatra@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF0000B074:EE_|MW4PR12MB7237:EE_ X-MS-Office365-Filtering-Correlation-Id: 0978ab1a-6c17-491e-8f7d-08dcdb8a9954 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: 8feBS05lO8OIZUH+ZL3Ax/yBPNe7EWgWKZFfz47snVUl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R+4nicksiL6zWq1YiiGKABWEebRIcwE6qUfUvS6W8O7KuhfeoQrVCpwzBMm0Ch5gRc7jO6N9bowiNiwfIbsyG24PL5zotfWrklr8tWDWTN9OZyIleUgSM4rlUz0tzlFjbjPY5sDswQcOqbXPGjuEYL3b+Uw/tOP2aByZNpHKOCfummIfepVk+V8meTVbifXTi15tEXsOxBwvHvqxxTpGYzwCIt0NYfdv14Tca6HxlpY92ztk9iKeUThoLTdcnWofoAxhKwYdPECxhfkm9Q+MRZEBUF0CX59e9KhnJvdAqDSVxl0pHxrWUkQN4A+eQifyDgFlHgFjbKlAEtGnn/BEYJ9SMr5dftNhZdOBu9QLwF0CJR 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:(13230040)(376014)(36860700013)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2024 04:45:50.3568 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0978ab1a-6c17-491e-8f7d-08dcdb8a9954 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: BN3PEPF0000B074.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7237 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240922_214606_216671_79988683 X-CRM114-Status: UNSURE ( 9.16 ) 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 Linear mode is only supported by the Zynq UltraScale QSPI controller, so update the bindings to include two 'reg' properties only for the Zynq UltraScale QSPI controller. Signed-off-by: Amit Kumar Mahapatra --- BRANCH: for-next --- .../bindings/spi/spi-zynqmp-qspi.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml index e5199b109dad..2f1fca137cd3 100644 --- a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml @@ -12,15 +12,27 @@ maintainers: allOf: - $ref: spi-controller.yaml# + - if: + properties: + compatible: + contains: + const: xlnx,zynqmp-qspi-1.0 + then: + properties: + reg: + maxItems: 2 + + else: + properties: + reg: + maxItems: 1 + properties: compatible: enum: - xlnx,versal-qspi-1.0 - xlnx,zynqmp-qspi-1.0 - reg: - maxItems: 2 - interrupts: maxItems: 1