From patchwork Mon Sep 30 09:54:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pierre-henry.moussay@microchip.com X-Patchwork-Id: 13815812 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 73ED2CF649D for ; Mon, 30 Sep 2024 10:05:35 +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=lx/VAPVP6ASNXlSIuVuNY2kFfuYQQyNAZg3HOSGdGzo=; b=BosWMLgiNpsT1x s2qO6Vrf5gweNTeEb+TrEPwV3MgMAkqO6S0qk+fVOXimViNOVAZwdSSDhEpqnoBaqpbOMom8bWFgK lMHlqAEO3blw2mjsGv/DTHFM5aTYzq0nQNPq6VRcVysOzix8MAFmzuDaRz6rfJMkIyi0vUa+uIePG 4agODo4PEzVW2tGlQn1A1euCvKq8RJ4o1+Ygrla8kGTbCAp0hFliPjgWgG68MIjOHFHCK7Ce/LaIM rOKuDttmFt27iYpZeFPGkaHYKkQDIC2KELucArpwcVsL5UaXKLB/39uMDZ0pBIlcg2/3qsJc6b5bQ 2xqAOHBtDRB9bYqx6o1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svDHW-0000000Ge3X-1XFo; Mon, 30 Sep 2024 10:05:30 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svD80-0000000Gb3Q-20UU for linux-riscv@lists.infradead.org; Mon, 30 Sep 2024 09:55:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727690141; x=1759226141; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HIJw5zliYUVkGzj0EIZ2JL0qFEk3m0cp+8xSuU/025g=; b=zkNA7qYmaGErxI5pL5mrpOf7yKthLgICW+Eb7FldwggUJvsRtdFIggvV ZW1xu3qiS+mMJdenAw7tOrziU4dTYUzm1gDUYnc/e9nRuOAAehLgZgc5D dbzmSw3DMcSjGx8k+khsT5+oUIMa96JI/DnF/AtSXljWsagXwcRsMqgrl 6Z+rFW5KZ7rw1xoWgf5htzZtTtDdg/wR5sw80nHYACVOLxPQUCppnQcEu 1q4C6YWoKgTdMk1pJar3huJsQVHA0+A/WsUKH5G4L5ZDdcf4ugYzHCR3y FB5DacfIq6+3iJvNI1mmLMWbujIIMsn3swdUveGenrX5gKBbSVVZbtS6+ A==; X-CSE-ConnectionGUID: VDfGPtv3TTmpuSmsWgS4Xg== X-CSE-MsgGUID: 2IWO0GoCT4mCcKJ5443kyg== X-IronPort-AV: E=Sophos;i="6.11,165,1725346800"; d="scan'208";a="263420159" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 30 Sep 2024 02:55:40 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 30 Sep 2024 02:55:07 -0700 Received: from ph-emdalo.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 30 Sep 2024 02:55:05 -0700 From: To: , Conor Dooley , Daire McNamara , Mark Brown , Rob Herring , "Krzysztof Kozlowski" CC: Pierre-Henry Moussay , , , , Subject: [linux][PATCH v2 04/20] dt-bindings: spi: add PIC64GX SPI/QSPI compatibility to MPFS SPI/QSPI bindings Date: Mon, 30 Sep 2024 10:54:33 +0100 Message-ID: <20240930095449.1813195-5-pierre-henry.moussay@microchip.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240930095449.1813195-1-pierre-henry.moussay@microchip.com> References: <20240930095449.1813195-1-pierre-henry.moussay@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_025540_555115_5E5FB28F X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Pierre-Henry Moussay PIC64GX SPI/QSPI are compatible with MPFS SPI/QSPI, just use fallback mechanism Signed-off-by: Pierre-Henry Moussay Acked-by: Conor Dooley --- .../devicetree/bindings/spi/microchip,mpfs-spi.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml index ffa8d1b48f8b..62a568bdbfa0 100644 --- a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml +++ b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml @@ -17,9 +17,14 @@ properties: compatible: oneOf: - items: - - const: microchip,mpfs-qspi + - enum: + - microchip,mpfs-qspi + - microchip,pic64gx-qspi - const: microchip,coreqspi-rtl-v2 - const: microchip,coreqspi-rtl-v2 # FPGA QSPI + - items: + - const: microchip,pic64gx-spi + - const: microchip,mpfs-spi - const: microchip,mpfs-spi reg: