From patchwork Tue Sep 13 14:21:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiu Moga X-Patchwork-Id: 12974857 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 2B5FDC54EE9 for ; Tue, 13 Sep 2022 14:37:08 +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=xtPTChBpQX8zlqqYCzlxP+sIIVMJBXHqiDqpDR/o9d8=; b=gPt7t+DPXRksf/ KVFhw+WbKgo9gC7b3qvw306BUgAaWo3cgBJnub6rVyw7rzntRnf5E5P+ihuHBkCgd8nHJNHsCZVzD x4etY1J6EDspPxp1E8gFyYJezI2Bo6KO8iRAy68mKxEfFv7twKaMKiu+9wYMrd2+W1U7QCGiSUmEu YcHhHItXF/u+4pzO1wcQQmDiUGKoyNgTjNVheuv+memWMk9Gb97m8NWOvLNw0eYgJyLtkB8f6HxRK 0Oc/qmfLkRoifwueP2D2HdSmpKGP+pUBULj3BxpKg9aBjDMUaid2uXHruRLIgch0NkYr+PNcdQa1E IA/yMQCDj4CsEi2hSlzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY70z-00BhcU-K2; Tue, 13 Sep 2022 14:35:54 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY6qk-00BYkn-Mz for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 14:25:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663079118; x=1694615118; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RciFByXsjP8F/vnPuZ08wV7/HdHLctza/kpMMpKQnxU=; b=0TCv/AGTsSRNFgHbmcUVzdKigRmqSwEJwK29GKAHIk0RMrcvktqk+bmo gG/qz1RYtZq2UXJUo8AGMfTwvhU2N3xGLbvj+1n6ZqXJemKgqGAl0mTaj NTmiBaPLgtcs77WJWGsm4H7i1baY58lb6NFEG0217KWhpPtTXS7P5NxdX zBeKefQX/lNMLv/Z65Y5Ftn8ePTLiZN4kI2TObMVhOMABBR0+pRXPfPE0 xfRbDBw0H4OjQY/HvY4LjNkzrwwYCEP/gYxoJyFW2AKNy8XjkG2dXHHs8 dqz/8YcM7DnHTspJ9SaNi/yIlJCDWzgq9KEmesL4gfhVr8o8oH3uj78Ii A==; X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="190644030" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Sep 2022 07:25:16 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.12; Tue, 13 Sep 2022 07:25:05 -0700 Received: from ROB-ULT-M68701.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 13 Sep 2022 07:25:00 -0700 From: Sergiu Moga To: , , , , , , , , , , , , , , , , CC: , , , , , , "Krzysztof Kozlowski" Subject: [PATCH v3 04/14] spi: dt-bindings: atmel,at91rm9200-spi: Add DMA related properties Date: Tue, 13 Sep 2022 17:21:56 +0300 Message-ID: <20220913142205.162399-5-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220913142205.162399-1-sergiu.moga@microchip.com> References: <20220913142205.162399-1-sergiu.moga@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_072528_204785_8A221A5F X-CRM114-Status: UNSURE ( 7.75 ) 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 The DT nodes of the SPI IP's may contain DMA related properties so make sure that the binding is able to properly validate those as well by making it aware of these optional properties. Signed-off-by: Sergiu Moga Acked-by: Mark Brown Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Nothing, this patch was not here before v2 -> v3: - added Acked-by tags .../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml index d85d54024b2e..4dd973e341e6 100644 --- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml +++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml @@ -34,6 +34,16 @@ properties: clocks: maxItems: 1 + dmas: + items: + - description: TX DMA Channel + - description: RX DMA Channel + + dma-names: + items: + - const: tx + - const: rx + atmel,fifo-size: $ref: /schemas/types.yaml#/definitions/uint32 description: |