From patchwork Fri May 5 08:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 90403 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp285090vqo; Fri, 5 May 2023 03:13:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6h42TIPQiiBDMUdBi39Ou4EaC46xnicEZauu+sBxlRGSaphjUSVANxeskzfyQQW7sNb14k X-Received: by 2002:a05:6a20:7620:b0:f2:791f:7ce1 with SMTP id m32-20020a056a20762000b000f2791f7ce1mr753209pze.44.1683281589657; Fri, 05 May 2023 03:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683281589; cv=none; d=google.com; s=arc-20160816; b=r8IaeI0zmuyLXpDdIN7EMiF3+E9OnWNT2zHLehmug5ziWZFuQAyM2KBvA11b2irlBR b1gnKqcvv8upQcDvES6wVxuWYPCJ34Qyc2muL6zev9T+EBXZEWc+iEiCleKMPA/1D4AS SfBvX1UF0pOfMSWdxEkSGauFBB/WTOhRSmaRs2MYODdY8aAWLBZdxcdT6WP4frMwr1a0 EAY86Rso1rrvkxz/kYR55CdDCtbRNE2jodAkNkQiiMofeWSD7rN+VDyaUnPVpET3Q5vU FMfLbiwsfLnedtoGjmuvh/nZAzuhqeI6SV/Y/jgn1G6UeGS6GkBL29Aj4KMwELBn8dz1 2ZKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=dcoc0TaLj2PqYHrHsjoa5H3Fd5Sh+EZ+E15K/tnODBY=; b=kVVJ9Xp+ba1n9t25F99SUzklCudrBizshA5NExY+A5kLizNHIVIhP3gC3ycQr03WMG kC4Mdp+KbSVpFJ5JHreXinMRFhjxiPIQXWZkSDllEijgku6YKOseJiH/z2ANcUuUQrGB VP+paWEUGkABZWqwIZzwpxQYztNJ7fBerN675EqF8FYqtoOgFGVHR9f2zQ9nwpHwE7eO wqfebYRF1nzXseFc9pYzgK3BiT9fuBQ3jtscTBLOKNsHtvBgmfG9c/AJYmznhQ/i9Hzc IOsjgdDgSyOIrHBRRUUS+VwZjdKV/Bk0b/hxzP/nBBWIT60PvigP0LwhJp1f7fw7NAM+ 2mMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="FrM10/DP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v184-20020a6389c1000000b0051394ccd19csi1716074pgd.55.2023.05.05.03.12.57; Fri, 05 May 2023 03:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="FrM10/DP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231790AbjEEJtU (ORCPT + 99 others); Fri, 5 May 2023 05:49:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjEEJtS (ORCPT ); Fri, 5 May 2023 05:49:18 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBF618DD2; Fri, 5 May 2023 02:49:15 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3458Q6ne076875; Fri, 5 May 2023 03:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683275166; bh=dcoc0TaLj2PqYHrHsjoa5H3Fd5Sh+EZ+E15K/tnODBY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FrM10/DPdGSDPFfWy0E/gKSCiEWHXRfg7Jh44prTOEpNNtXnG0Ih8NZQSZGbIHspC toRtHq+SSb/osFBGxkUeBpTeYCeMEOxNlvVM1fBySZ6h2/hiebFy6UIjhrMH4g7Pnw gVYCStek9Qxgg/sj6Hcek2z3FHTQNB7TuYvwFEkI= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3458Q6sg035302 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 May 2023 03:26:06 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 5 May 2023 03:26:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) 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; Fri, 5 May 2023 03:26:06 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3458Q4Rb021882; Fri, 5 May 2023 03:26:05 -0500 From: Vaishnav Achath To: , , , CC: , , , , , , Subject: [PATCH v2 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA Date: Fri, 5 May 2023 13:56:01 +0530 Message-ID: <20230505082602.31783-2-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230505082602.31783-1-vaishnav.a@ti.com> References: <20230505082602.31783-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765048675835478021?= X-GMAIL-MSGID: =?utf-8?q?1765048675835478021?= Add bindings for J721S2 BCDMA instance dedicated for Camera Serial Interface. Unlike AM62A CSI BCDMA, this instance has RX and TX channels but lacks block copy channels. Signed-off-by: Vaishnav Achath --- V1->V2: * Move J721S2 BCDMA entry to else condition to avoid failure with AM62A BCDMA. .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 54 +++++++++++++------ 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml index beecfe7a1732..54d4b8e0c8ce 100644 --- a/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml +++ b/Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml @@ -33,6 +33,7 @@ properties: enum: - ti,am62a-dmss-bcdma-csirx - ti,am64-dmss-bcdma + - ti,j721s2-dmss-bcdma-csi reg: minItems: 3 @@ -152,21 +153,44 @@ allOf: - power-domains else: - properties: - reg: - minItems: 5 - - reg-names: - items: - - const: gcfg - - const: bchanrt - - const: rchanrt - - const: tchanrt - - const: ringrt - - required: - - ti,sci-rm-range-bchan - - ti,sci-rm-range-tchan + if: + properties: + compatible: + contains: + const: ti,j721s2-dmss-bcdma-csi + then: + properties: + ti,sci-rm-range-bchan: false + + reg: + maxItems: 4 + + reg-names: + items: + - const: gcfg + - const: rchanrt + - const: tchanrt + - const: ringrt + + required: + - ti,sci-rm-range-tchan + + else: + properties: + reg: + minItems: 5 + + reg-names: + items: + - const: gcfg + - const: bchanrt + - const: rchanrt + - const: tchanrt + - const: ringrt + + required: + - ti,sci-rm-range-bchan + - ti,sci-rm-range-tchan unevaluatedProperties: false