From patchwork Tue Sep 27 18:53:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 609620 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 21D31C54EE9 for ; Tue, 27 Sep 2022 18:55:12 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 49AFDF3; Tue, 27 Sep 2022 20:54:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 49AFDF3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1664304910; bh=HQn6AJCOGY9iUnz2rjzNgpjVb78Rd4R1764ccE39xP8=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=nwtovK2PxiZhtg0Nph2VOmy+9TVyIPM+6NjRjNvgPCMeI68956MwGiE9xJIByzb+d H3g9yNmDBLR6CBNkaX7aLIF9nnREmDbw/kGXRhWc30XiByipWziKQjCmoDOA8nHyA8 hYoLpIgngf7hgANcbOrfyrlyvVTURwNAQ+Mkqd+4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E043DF8024C; Tue, 27 Sep 2022 20:54:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3E56F8025E; Tue, 27 Sep 2022 20:54:18 +0200 (CEST) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3379EF80166 for ; Tue, 27 Sep 2022 20:54:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3379EF80166 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="cr+DCfdj" 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 E56E380548; Tue, 27 Sep 2022 20:54:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664304852; bh=r72X1gQ8iyScTz13BxDWYPZsve0RS4joMPFJhECXWJM=; h=From:To:Cc:Subject:Date:From; b=cr+DCfdjNyWDnWemz2WGC6N7GywwAeV3piVQ97gphRdR8T7VDxoFjeoyOb59lzFu7 HI9JmPcWXQ2qBUYaEsFiZJa4uc3UF/mpfozxC6Ns/6Li9S+7T0M12F9F+Ddhj0XW6h UyBlqS4mqXeyF/0xiO1rXbz3SCVUhjWbyc2xg0asqdDjn0o7wOzFRtQ6jWLUTtuHUq p7Z6ZlCiBzC7Yics+dvyJmcWBFpNLY4NQzHWo8ynfeRb9dOgKr6g/uIMUZjgojpmEa PyD1JpkynU/MZaeD6LmzbjllEppDkvuMYCl2pIJ1/VYIWbVZyQyVOxJKrpwgFr9ErK Mj4QQlE80Y1ow== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] ASoC: dt-bindings: Document audio OF graph dai-tdm-slot-num dai-tdm-slot-width props Date: Tue, 27 Sep 2022 20:53:59 +0200 Message-Id: <20220927185359.294322-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 Cc: Marek Vasut , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 Reviewed-by: Rob Herring --- 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 --- V2: Drop the definition refs and just fill in type and description --- .../devicetree/bindings/sound/audio-graph-port.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index bc46a95ed8400..64654ceef2089 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -74,6 +74,12 @@ patternProperties: convert-sample-format: $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" + dai-tdm-slot-num: + description: Number of slots in use. + $ref: /schemas/types.yaml#/definitions/uint32 + dai-tdm-slot-width: + description: Width in bits for each slot. + $ref: /schemas/types.yaml#/definitions/uint32 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