From patchwork Fri May 5 14:39:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 90467 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp459175vqo; Fri, 5 May 2023 07:43:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Yz9xjDsi3UOeKJ34nwXWvK6dOnHlA0WeHS0cEsEDVrH/NEw2nZHzQ6Y/6t2mZuaVCS5I0 X-Received: by 2002:a17:903:120d:b0:1a5:2993:8aa6 with SMTP id l13-20020a170903120d00b001a529938aa6mr1862353plh.63.1683297804729; Fri, 05 May 2023 07:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683297804; cv=none; d=google.com; s=arc-20160816; b=CGpmnsj8qUlcSiBd0ls65obUBez0nZAlpZlL4jovpVgcAHA8UCe3zNzddLFnxDNbCZ WFrQ5hWbmBGa0NkuppUPGw4XUtN1ylK4FlmkJeFyGpLDirpal/m7V4MN6HPmF3RKZEh8 5nWqn3Gtvwq6GjIJNd9+jny/epLbaKlOsIZQNmu/IyiqAORW8F+2V9AgGuKLS2qG2FdK jMY1CYcz8srUYTlDWEN1jk4x/8yxWhrfUytOo9+rJw4GHVuwMznZDhIE5Ha7+io1Jksw yf3E3drQmTgqinPd+zb9MIxrhS4qpIsuCwPolvfPIWMQXu73E4pJnfpK/9WW4fXvePwn NkVQ== 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=1kQ1KWTdL2m4TLS0zoE+1YZP6/kYoYIQqI8C4X6l3nQ=; b=DtqzZkE4dXh1Jp3Y+SjqTwws9nTMiiVxSwvY3SGb9/YnTdrjmq44wlNWa7wrKD0C6+ uhhyNWHkM++gS8mxZ+s4nIfihkk5skNl8AYhRUKtU4/jym3Zapvj0uS+wEo+LpaTvyhR wKKDQT9A0e3susH2li9Zx9SFWIB1AcsTQaPLGuQMwPZgJpu9qT9pHr/8PC+gjA/HoY6x T40Vhf0aTgMyAT1o9MbNEoORhaQNXYNadVN1ZSlIBpFzmt1uI6FbxftNo+gbwM9ha/0G 7KODFHuDTEPmQ7rE136wS9OeMAB8Z7+cs3jint1cFGNhO2CnWS7wBerr+YMEvDuSenlr Ymfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RdnTrBbZ; 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 m18-20020a170902db1200b001a6dc4a98f7si1799013plx.365.2023.05.05.07.43.05; Fri, 05 May 2023 07:43:24 -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=RdnTrBbZ; 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 S232533AbjEEOjp (ORCPT + 99 others); Fri, 5 May 2023 10:39:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjEEOjk (ORCPT ); Fri, 5 May 2023 10:39:40 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7537F1634E; Fri, 5 May 2023 07:39:39 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 345EdXbG001399; Fri, 5 May 2023 09:39:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683297573; bh=1kQ1KWTdL2m4TLS0zoE+1YZP6/kYoYIQqI8C4X6l3nQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RdnTrBbZ5ovXP9Qlq8uZZhCXtx0nHIOdqFGbY8UpprK9s1gEexSDb3jFf1nmkfPc6 fDnAPZaQOTV1g/XXKS4CdBit7ZPjFW8YvBCcbzAisaB1S+cofErJBY3IdLbErQzwPo Rb89tJ4N3mb/uQuwBWsW1qhwOcOclNuCKav4E4Gs= 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 345EdXjr123278 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 May 2023 09:39:33 -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 09:39:32 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 09:39:32 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 345EdVNE045167; Fri, 5 May 2023 09:39:32 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH v3 1/2] dt-bindings: dma: ti: Add J721S2 BCDMA Date: Fri, 5 May 2023 20:09:28 +0530 Message-ID: <20230505143929.28131-2-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230505143929.28131-1-vaishnav.a@ti.com> References: <20230505143929.28131-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?1765065678782440807?= X-GMAIL-MSGID: =?utf-8?q?1765065678782440807?= 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 Reviewed-by: Krzysztof Kozlowski --- V2->V3: * Avoid using if:else:if, instead move ti,am64-dmss-bcdma to new if:, also keep entries in alphabetical order. 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..4ca300a42a99 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 @@ -151,7 +152,12 @@ allOf: required: - power-domains - else: + - if: + properties: + compatible: + contains: + const: ti,am64-dmss-bcdma + then: properties: reg: minItems: 5 @@ -168,6 +174,28 @@ allOf: - 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 + unevaluatedProperties: false examples: