Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp816537rdh; Thu, 23 Nov 2023 21:01:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOuDMHOuGtbFnLPmTTHDStaf3eXuHWdqGPwR199jicPyvV+uTvjOfPrMGtRWRMZhpPgARl X-Received: by 2002:a05:6a20:4388:b0:18b:30d1:8140 with SMTP id i8-20020a056a20438800b0018b30d18140mr2097665pzl.6.1700802065232; Thu, 23 Nov 2023 21:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700802065; cv=none; d=google.com; s=arc-20160816; b=TmFk6yk1F79XGYqgJ7O8sUuOOC7zJEckqEuVCFo0HkQDh9IqsSCfhbgSOWIojV85fD pBv+kjZ3L3YzQyJRx00j8ZRn/n6WaiS6swzR3n3xEG6qCDSQF+dZeL2pPkD7YL6+Uc4g NWUp33PBv0HXw7/3DfYqhWPbY8t1en80av7hPXxmpuSVNS4hkV84ZZUc3USb6ACbi7IJ R0RNqsjJiGbUglqS5HCYE7S9GfRDHFYnsFTQ3ULyNoMY/b5/urMoe262rF7gh5zijgnp hlv8xYC4gHVvJE0yxnSSnxJMSYFe2jm0cvZQck2EqxUSUiogqsRvBLuLBz8CWRPMwEgI tUFQ== 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=PbWoR+x8jS1n5qKzMhtUnqnJ8AmjrNrmPpkl+xNXAj0=; fh=B6DI7mf76QCA0ygIwIhVcOwVWtR/7jOd0VIow308g04=; b=dRTQE6tMFYSkphQeyOEEDZBcHOoFPID95TXYASFHxQvKblVrlY+NQyZt6CLxGzkLWP m1/ZVpiOzN9i0X2ZmLJ1oLigttUqeEgDF7t33bDIGk0IQw8/hDD6A5IIQ/zsNxA1uPju Tumx5Xw+hXP83Zb9clcEipjyzmQ6lJ1z/vDowT7neG0/qPg9ESj+lo+SbBm/N/uVnB+k wCObdsmH82FJkJ3iAm0JXolyPpOqQpMb1R5AkPl+bO+3slF8xGbNJxZCbdjFdPLNI2ly 26wOW9h4g6pZW+lNcZYhrjh614sXC8kRnF7A6J1E8T7U8PoGY1syD8ZuDVMrandzqCOS sCIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Wu4+LgRJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id k7-20020a63f007000000b005a073e0cc9asi2779195pgh.803.2023.11.23.21.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 21:01:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Wu4+LgRJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 E896B81A3349; Thu, 23 Nov 2023 20:58:35 -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 S231389AbjKXE6H (ORCPT + 99 others); Thu, 23 Nov 2023 23:58:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbjKXE6C (ORCPT ); Thu, 23 Nov 2023 23:58:02 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316B9D72; Thu, 23 Nov 2023 20:58:09 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AO4w3gl043223; Thu, 23 Nov 2023 22:58:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700801883; bh=PbWoR+x8jS1n5qKzMhtUnqnJ8AmjrNrmPpkl+xNXAj0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Wu4+LgRJzTvx1KSNAmx5HALdO2MhUq1DnY4dpEFsr/i5Q5O5YleLEACTd/aB8lhQG fmZczljRlWo5PIgMwPAC784fkc06OAQb1gqlJ2XEVWboIK3qTrug13bsonK6Ehixkc wNyY9YkfT8qMK7VukCHbHM+GHiMeXN9W2ISwl4/8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AO4w35k076500 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Nov 2023 22:58:03 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE114.ent.ti.com (10.64.6.35) 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:03 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) 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:03 -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 3AO4vo8i004756; Thu, 23 Nov 2023 22:58:00 -0600 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Vignesh Raghavendra , Subject: [PATCH v3 3/4] dt-bindings: dma: ti: k3-pktdma: Describe cfg register regions Date: Fri, 24 Nov 2023 10:27:21 +0530 Message-ID: <20231124045722.191817-4-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:36 -0800 (PST) Packet DMA (PKTDMA) module on K3 SoCs have ring cfg, TX and RX channel cfg and RX flow 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 four regions to be present at least. Signed-off-by: Vignesh Raghavendra --- .../devicetree/bindings/dma/ti/k3-pktdma.yaml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml index 3580b08f65c6..11e064c02994 100644 --- a/Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml +++ b/Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml @@ -45,18 +45,28 @@ properties: The second cell is the ASEL value for the channel reg: + minItems: 4 items: - description: Packet DMA Control /Status 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 Configuration Registers region + - description: RX Configuration Registers region + - description: RX Flow Configuration Registers region reg-names: + minItems: 4 items: - const: gcfg - const: rchanrt - const: tchanrt - const: ringrt + - const: ring + - const: tchan + - const: rchan + - const: rflow msi-parent: true @@ -140,8 +150,14 @@ examples: reg = <0x0 0x485c0000 0x0 0x100>, <0x0 0x4a800000 0x0 0x20000>, <0x0 0x4aa00000 0x0 0x40000>, - <0x0 0x4b800000 0x0 0x400000>; - reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt"; + <0x0 0x4b800000 0x0 0x400000>, + <0x0 0x485e0000 0x0 0x20000>, + <0x0 0x484a0000 0x0 0x4000>, + <0x0 0x484c0000 0x0 0x2000>, + <0x0 0x48430000 0x0 0x4000>; + reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt", + "ring", "tchan", "rchan", "rflow"; + msi-parent = <&inta_main_dmss>; #dma-cells = <2>; -- 2.43.0