From patchwork Fri Nov 24 04:57:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 17032 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp902298vqx; Thu, 23 Nov 2023 20:58:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2poumt+9O3k3dUb40l83+x2Rk2Q9wE5ub0OYXaeJKl7X0p4EDxOuBQ9P6Gxliskh+W07z X-Received: by 2002:a9d:7d96:0:b0:6d7:f8c1:e473 with SMTP id j22-20020a9d7d96000000b006d7f8c1e473mr1974740otn.19.1700801915000; Thu, 23 Nov 2023 20:58:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700801914; cv=none; d=google.com; s=arc-20160816; b=T4L8aFV/9Ni46cecBKYrHl+7uvdruf6mCpsoWmbSnmbiXiItJYNRjKSyFv0qxy4XaM 7ZL2Fr8uEGap3ngl6BSi0t0rWqsTuKq/Oz1oomjt5zO9YwSd8Cvt41mxjiOUJGj0rMgw Xgm1IVQ6yx9ALbIO8UpXFgkH/P6+ueoao6WXqxlHUxseqMAhlkcNL/jAy+UeOyaRa+RX kTk8+ZXD8igmHVSientOLoZEBJ9T7E6w18EHc6XCH5aEYLqmBMUnJxuCIT/y5BDkNEf3 f1VjjAAf9Jf3VWv/+hOTjh0kBR5NgEyjMwcs2rn32PDjkw2UvgL0nh+z6zXHBP9Pyhnk WubQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=DudPOU9UQ3hB64Er+3q7A3laXlUnc064WgE+sKHDjLk=; fh=B6DI7mf76QCA0ygIwIhVcOwVWtR/7jOd0VIow308g04=; b=SoTMk1qXAc3mohSwPXBuQWxptkW+0Wpo44LkpihxZ7N2lXBZj+dzP8WvOZS0NeQPnU IJ12WSWXU0z8VWQo4FOghX0GKshyKeo/O+fgkKNNHyDaWIjoyw9VOc/xaoQesoZIQHOp Fwfscp4j/9PDCpUX+VwjZP1P+7op3ogH7vUSOtmReSBkopoa9friPCKlIj2vtdDilBvo rkiAY2Jf/7XUDAcMtLh3Xp1yjEn2BUsqqzLo3diweWuKRVK5uPhUsMSD1whLf4iCzbie hDCB8NaPYVMeOXsBmDhAnaaLW6NAkbHB2lJMT1po/Y2P2wlyBN97HwmN//QJ+QkBVoMk LIfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GJsFN6QQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y35-20020a631823000000b005893b7094easi2719056pgl.554.2023.11.23.20.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 20:58:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GJsFN6QQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id C237C81E6280; Thu, 23 Nov 2023 20:58:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjKXE55 (ORCPT + 99 others); Thu, 23 Nov 2023 23:57:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKXE54 (ORCPT ); Thu, 23 Nov 2023 23:57:56 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DEDCD67; Thu, 23 Nov 2023 20:58:02 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AO4vs48103199; Thu, 23 Nov 2023 22:57:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700801874; bh=DudPOU9UQ3hB64Er+3q7A3laXlUnc064WgE+sKHDjLk=; h=From:To:CC:Subject:Date; b=GJsFN6QQAukkj9vjtcsko9NqOgLD1Ta1gryqq51BNhVtda28slmL8g0izQI/n06r4 Y6+JSgy4CQRmw9s7lNbPQb7rMaq7stRCb7CKuVSvVMeZzuWCQ4OtypTpX3m3kc4zv8 cOwp2gRKNPEA1wTfuBVTEyq4A0ZqfXyCOCUrL/vQ= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AO4vsc4080853 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Nov 2023 22:57:54 -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:57:54 -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:57:54 -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 3AO4vo8f004756; Thu, 23 Nov 2023 22:57:51 -0600 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Vignesh Raghavendra , Subject: [PATCH v3 0/4] dt-bindings: dma: ti: k3*: Update optional reg regions Date: Fri, 24 Nov 2023 10:27:18 +0530 Message-ID: <20231124045722.191817-1-vigneshr@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 20:58:29 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783420069147038051 X-GMAIL-MSGID: 1783420069147038051 DMAs on TI K3 SoCs have channel configuration registers region which are usually hidden from Linux and configured via Device Manager Firmware APIs. But certain early SWs like bootloader which run before Device Manager is fully up would need to directly configure these registers and thus require to be in DT description. This add bindings for such configuration regions. Backward compatibility is maintained to existing DT by only mandating existing regions to be present and this new region as optional. This update is mainly to aid SPL/U-Boot to reuse kernel DT as is. And is applicable to entire K3 SoCs. v3: Add back toplevel reg and reg-names constraints in k3-bcdma.yaml v2: https://lore.kernel.org/all/20231122154238.815781-1-vigneshr@ti.com v2: Fix issues pointed out by Conor and Peter * Add new patch 1/4 to describe existing register regions * Rename cfg region as ring * Add bchan register space for bcdma * Include descriptions for new registers v1: https://lore.kernel.org/all/20230810174356.3322583-1-vigneshr@ti.com/ Vignesh Raghavendra (4): dt-bindings: dma: ti: k3-*: Add descriptions for register regions dt-bindings: dma: ti: k3-bcdma: Describe cfg register regions dt-bindings: dma: ti: k3-pktdma: Describe cfg register regions dt-bindings: dma: ti: k3-udma: Describe cfg register regions .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 39 ++++++++++++++++--- .../devicetree/bindings/dma/ti/k3-pktdma.yaml | 26 +++++++++++-- .../devicetree/bindings/dma/ti/k3-udma.yaml | 20 ++++++++-- 3 files changed, 73 insertions(+), 12 deletions(-)