Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp816586rdh; Thu, 23 Nov 2023 21:01:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcJbt8oaq+NXlMBCGstWXPzSCeok0ywkZRXIz5V8M62lbfREUTa50T2UvjQUrQgc98k6rC X-Received: by 2002:a05:6a00:3988:b0:6be:25c5:4f74 with SMTP id fi8-20020a056a00398800b006be25c54f74mr2097905pfb.13.1700802068841; Thu, 23 Nov 2023 21:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700802068; cv=none; d=google.com; s=arc-20160816; b=EownxWI1L4EXQitaWrsXRE5gcNxKo6KM1SwKYOJPQcz4rL1LaG8btxCYHHj7vqaioz OCESa6ffc+T3cBv/ZAnHySkoa+UCViDttQ+mCaPcIezYt37SgGuLbL58YCr8cWBqtEby rgJevmHwU+X8OZj+5PwcITs6yeYn+zksVIYv3pASWJhVGEhSBRcFUhQNWGmgEB0QGN34 ZqY+c7ciMl55PI1+ui30u/C3wWBhxYDqOIjHBwrK2p0X+6Vepz58QcWlF+tERmpnmd+R b1X96pvaVtCBDasNY/K4UYpyndprR2toulqjdQorYUBGvDsUnKzMbtzxzPRGHSeSD6iu 3vIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Nr4yvQ63vzpR8jqHfgCSy9Z4F3QZkyPd0SgK2o1Puek=; fh=B6DI7mf76QCA0ygIwIhVcOwVWtR/7jOd0VIow308g04=; b=Fr6VNo+4sinegLH+VlZtRYnOdi05tdO/mjizlz2+RQ0aVvdExU2FaMcyhfCFtSaCyO /LsFOtSghMdqVucj2pzOQkXb3IOHBi6SWqI5raIJ1J4uVUPmR3qbfzLcC6sTT9hdfzg9 6UtgaEroQWOeaCfdFoYNGk2aCIfuJO6xlssIM32BAKJajNazhDwDYQtMj4Y0ljf5ayXG xTgmS75OW5ZQak5TTo8vYBsEs9vRrc+hwy8T3mOksLh96dx7aDCqMXKVuETLeMe4djky w0ql4uvTDNezeMs6v1qF7Ve1zU12h0naYkvCSIfKDjjKWrW/LiVNq/yAbz4s6cMuTNzI EYVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gmaFe0vk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l12-20020a65680c000000b00584e731e7fbsi2671190pgt.280.2023.11.23.21.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 21:01:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gmaFe0vk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B6F1181A335E; Thu, 23 Nov 2023 20:58:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbjKXE6E (ORCPT + 99 others); Thu, 23 Nov 2023 23:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbjKXE6A (ORCPT ); Thu, 23 Nov 2023 23:58:00 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 776CED6F; Thu, 23 Nov 2023 20:58:06 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AO4w08f043213; Thu, 23 Nov 2023 22:58:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700801880; bh=Nr4yvQ63vzpR8jqHfgCSy9Z4F3QZkyPd0SgK2o1Puek=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gmaFe0vkxa1e98/bnamHh/Mf3otRudVdOxqh89ystSFq0MIb080N6ji9Dw1AoSVNJ jwl8Ol32lS3W3YjJZUFTGAHMNIyMsaUBgGFg1HLkPrA8Ql5OsodY3FCuDUCux2INhI HTl/6Jup/xBjjZs6d+i74HsBr+G3449DctnXZ//Y= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AO4w0Ps080884 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Nov 2023 22:58:00 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 23 Nov 2023 22:58:00 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 23 Nov 2023 22:58:00 -0600 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AO4vo8h004756; Thu, 23 Nov 2023 22:57:57 -0600 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Vignesh Raghavendra , Subject: [PATCH v3 2/4] dt-bindings: dma: ti: k3-bcdma: Describe cfg register regions Date: Fri, 24 Nov 2023 10:27:20 +0530 Message-ID: <20231124045722.191817-3-vigneshr@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231124045722.191817-1-vigneshr@ti.com> References: <20231124045722.191817-1-vigneshr@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 23 Nov 2023 20:58:28 -0800 (PST) Block copy DMA(BCDMA)module on K3 SoCs have ring, BCHAN, TX and RX channel cfg register regions which are usually configured by a Device Management firmware. But certain entities such as bootloader (like U-Boot) may have to access them directly. Describe this region in the binding documentation for completeness of module description. Keep the binding compatible with existing DTS files by requiring first five regions to be present at least. Signed-off-by: Vignesh Raghavendra --- .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml index 11727af9df73..27b8e1636560 100644 --- a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml +++ b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml @@ -37,11 +37,11 @@ properties: reg: minItems: 3 - maxItems: 5 + maxItems: 9 reg-names: minItems: 3 - maxItems: 5 + maxItems: 9 "#dma-cells": const: 3 @@ -163,20 +163,30 @@ allOf: then: properties: reg: + minItems: 5 items: - description: BCDMA Control /Status Registers region - description: Block Copy Channel Realtime Registers region - description: RX Channel Realtime Registers region - description: TX Channel Realtime Registers region - description: Ring Realtime Registers region + - description: Ring Configuration Registers region + - description: TX Channel Configuration Registers region + - description: RX Channel Configuration Registers region + - description: Block Copy Channel Configuration Registers region reg-names: + minItems: 5 items: - const: gcfg - const: bchanrt - const: rchanrt - const: tchanrt - const: ringrt + - const: ring + - const: tchan + - const: rchan + - const: bchan required: - ti,sci-rm-range-bchan @@ -232,8 +242,13 @@ examples: <0x0 0x4c000000 0x0 0x20000>, <0x0 0x4a820000 0x0 0x20000>, <0x0 0x4aa40000 0x0 0x20000>, - <0x0 0x4bc00000 0x0 0x100000>; - reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt"; + <0x0 0x4bc00000 0x0 0x100000>, + <0x0 0x48600000 0x0 0x8000>, + <0x0 0x484a4000 0x0 0x2000>, + <0x0 0x484c2000 0x0 0x2000>, + <0x0 0x48420000 0x0 0x2000>; + reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt", + "ring", "tchan", "rchan", "bchan"; msi-parent = <&inta_main_dmss>; #dma-cells = <3>; -- 2.43.0