From mboxrd@z Thu Jan 1 00:00:00 1970 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 5C099C04A6A for ; Thu, 10 Aug 2023 17:44:41 +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=N1qn9KumTgnR+XAHv8SYsGTWKAe8+xsfDzwoYc0hrq8=; b=gNKZomrj4Vp5Ru AbgokA/Jf/yze3HzrUAN7xaNjaRE/2QW9VMelDeO8OtpThj0VPT6aStfsJ+ArKMK5HS4BmOIlNCZK USwGzEO2jMr7SwYi9YifqowwnhDJ2e4wOwD7ppyC0RlrYSG3kyExNlX8YX45KQ6nz3Pfx/i0RHyuy j+rTf9JonBumSZy7QQOqlsdcyvLTbt6p1nuCCU2scIm/i3bDPQ6l7C+1wRgDpQrWXCmdbizV29alX Ef9HiOH850LWRIRsG7M/l15wc00UQ0gw8O8PrntoBEe2LsJbY0len87yVXvirtHIeGRdEFAYHcNoo 6clfkm1iCFpECBosudnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU9hn-008JrU-38; Thu, 10 Aug 2023 17:44:15 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU9hi-008JoX-2l for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 17:44:12 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37AHi5hq108007; Thu, 10 Aug 2023 12:44:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691689446; bh=p0h9a3yfqGfj6OxwLWntvYTPbXggepS1dBoJ4kxyu5s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=f+OwEkGGUIs5ARmwdvcLCe55T3LQtVOrGIxI//q54X5BciAz7tlvGCL/ebyUHjcW2 0zIXrKwFWedBpeKSK1xpQxR2Ku1kCi5Ul7acvf5sLglOMAE/ehUdR+aYHNpcEquT7B vPR5qmKSsWmqB2dZ17SiQurIdORvc6FP60qtfCYQ= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37AHi5V8026492 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Aug 2023 12:44:05 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 10 Aug 2023 12:44:05 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE102.ent.ti.com (10.64.6.23) 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, 10 Aug 2023 12:44:05 -0500 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37AHhxug084260; Thu, 10 Aug 2023 12:44:02 -0500 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Vignesh Raghavendra , Subject: [PATCH 1/3] dt-bindings: dma: ti: k3-bcdma: Describe cfg register regions Date: Thu, 10 Aug 2023 23:13:53 +0530 Message-ID: <20230810174356.3322583-2-vigneshr@ti.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230810174356.3322583-1-vigneshr@ti.com> References: <20230810174356.3322583-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230810_104410_979677_0E449497 X-CRM114-Status: GOOD ( 11.24 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Block copy DMA(BCDMA)module on K3 SoCs have ring cfg, 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 | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml index 4ca300a42a99..d166e284532b 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: 8 reg-names: minItems: 3 - maxItems: 5 + maxItems: 8 "#dma-cells": const: 3 @@ -161,14 +161,19 @@ allOf: properties: reg: minItems: 5 + maxItems: 8 reg-names: + minItems: 5 items: - const: gcfg - const: bchanrt - const: rchanrt - const: tchanrt - const: ringrt + - const: cfg + - const: tchan + - const: rchan required: - ti,sci-rm-range-bchan @@ -216,12 +221,16 @@ examples: main_bcdma: dma-controller@485c0100 { compatible = "ti,am64-dmss-bcdma"; - reg = <0x0 0x485c0100 0x0 0x100>, - <0x0 0x4c000000 0x0 0x20000>, - <0x0 0x4a820000 0x0 0x20000>, - <0x0 0x4aa40000 0x0 0x20000>, - <0x0 0x4bc00000 0x0 0x100000>; - reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt"; + reg = <0x00 0x485c0100 0x00 0x100>, + <0x00 0x4c000000 0x00 0x20000>, + <0x00 0x4a820000 0x00 0x20000>, + <0x00 0x4aa40000 0x00 0x20000>, + <0x00 0x4bc00000 0x00 0x100000>, + <0x00 0x48600000 0x00 0x8000>, + <0x00 0x484a4000 0x00 0x2000>, + <0x00 0x484c2000 0x00 0x2000>; + reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt", + "cfg", "tchan", "rchan"; msi-parent = <&inta_main_dmss>; #dma-cells = <3>; -- 2.41.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel