From patchwork Tue Sep 27 00:54:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12989632 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 75A18C07E9D for ; Tue, 27 Sep 2022 00:56:13 +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: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:In-Reply-To:References: List-Owner; bh=kkrKvdCfgVa6jfZlq1ZTNwmBKEKe+ZkQb3s8FbRbMjM=; b=akewfnmDflvf6o jIVJkid25Bqozms+MUiJxZeDO2yd+zX/n2Szjrt/upqoCukZiFrZg+y2v2ZsgLSbbfK07+4hO+PR6 Ed3zkmAAOYtDcVWOvpurntZQZOtinWqxLrIH9w7oBtRvNgJd5pko5htmqsLafrBX1yXGo/L4OPKQX 5ABJHKPYqdFYDT5zixNBV8dOESilZ8gBgSvLymnbRJeKDy/yRdw9XAtztygxDvzPg9VVUmFkserao zJ7yr2Afl2mcsvo4lpuLBTTzc98UU0i0QFGqE4KUMAH9DZEKvXMApujJ9XQTexy1trydJ21t+4CmB XqgU9V+b4hEiWmlL+ZkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocys4-007dD5-HN; Tue, 27 Sep 2022 00:54:48 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocys1-007dCi-38 for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 00:54:46 +0000 Received: from tr.lan (ip-86-49-12-201.bb.vodafone.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 290A383869; Tue, 27 Sep 2022 02:54:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664240081; bh=FsDScXFRX7C8vRitOr1X2Dru3V2z+v/UjgGzJhLlc4E=; h=From:To:Cc:Subject:Date:From; b=d6ytqkikv0e3VyowR4is+3zDBagPEot7wt7AczyufV/3SIsaIGbOdQsyqKbME+q7a z9KZ0xvBAee9z4Qzv17wrpHC/bNkcmTFkarLa2ERxGA9BffF9SM1vplHNTnC2HD32k 5P542zJJT3Q8K21Ej3tiPBHCrDMS3FdTt8gsZHIrkPPCC5PzGdqMELEnch/1WoTksc fVINu4/NN2CfJTqKnBAJXi1tw+8kR0i/rkFFwDYPB8K2w2HpdYeK2T4k12PP7fqVWl hcr3m2Sgadhtl1XUVhgswcyWNwNo73HOra1tsDp5xQ4WYzohzMqktjqCX10NI9kRDt W4UV8Oz0b597Q== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Rob Herring , devicetree@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH] ASoC: dt-bindings: Document audio OF graph dai-tdm-slot-num dai-tdm-slot-width props Date: Tue, 27 Sep 2022 02:54:36 +0200 Message-Id: <20220927005436.690904-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_175445_412284_06E0AB61 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document dai-tdm-slot-num and dai-tdm-slot-width props as those are parsed by simple graph card and may therefore appear in audio OF graph node. Signed-off-by: Marek Vasut --- Cc: Krzysztof Kozlowski Cc: Liam Girdwood Cc: Mark Brown Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: alsa-devel@alsa-project.org To: linux-arm-kernel@lists.infradead.org --- Documentation/devicetree/bindings/sound/audio-graph-port.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index bc46a95ed8400..c282b81632d8f 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -74,6 +74,10 @@ patternProperties: convert-sample-format: $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" + dai-tdm-slot-num: + $ref: "#/definitions/dai-tdm-slot-num" + dai-tdm-slot-width: + $ref: "#/definitions/dai-tdm-slot-width" dai-tdm-slot-width-map: description: Mapping of sample widths to slot widths. For hardware that cannot support a fixed slot width or a slot width always