Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5671441rwb; Tue, 9 Aug 2022 01:59:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR447Plz+C6tZRrTbZXb6CIv4pII3dCh5mS57lhVbBHnHSrtvPbT7JMpExaL+gZZsrVT9pOk X-Received: by 2002:a17:907:b02:b0:731:3f2d:f09 with SMTP id h2-20020a1709070b0200b007313f2d0f09mr8905282ejl.122.1660035569893; Tue, 09 Aug 2022 01:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660035569; cv=none; d=google.com; s=arc-20160816; b=oMkbLdFGPLUbV06WSd9n/Fp/FxbJP7hfQYsmqL89Hm0Yxlbc2UaQ4Suq9D28txvem8 FDlDa2WGoIJj/ctFLy1Zo4DoXnWhXhkQ3S5gOuf35/T8iiN7O4ohnSiWa0tPIAs+kHfJ YYtu7kv+S7621TIATYLPWKs5IZddCQYXHqo6QbypNvB3dvsOLeyQLrdoEObTPI/WRGl7 WZ7wZLHpdLx9n666qAUp+3J5HPIqe0lKFTrRPpMfNZctq0WjCjwu/harrR0Ny0gohbsm 0u5dvqpf51qmiR7uxr5oS8KMW6KxH7cfVpyLAgEJDTabBPgoi+QQiUlHfybUI+gDKOGk 1lZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=gC4GNArn5L/+qSmbqUbjWxF4hXj6UbOzOdSVGC9cgDE=; b=WYb7OEvqGJLl5eowNIj7z7Ww4+8iSvCaQyk+oUajdaf5zy/PDFgHrnClmJfgb4hEwO qIPVsXdImIIq6yeTUZ1dwIuV56u6txshN4xXLRiIORpe7n8Xs81g94bNdINb/THjupLW 3CTx1BmtLJhNoz0lFgqsqNzYoarqAPK3yN6EBe4Y8n/dyBAxNsbf+uOsh+XcUN1eoLNe jSF5n+upojm10INKvNYNVRJCxZgAEZenGVeYFcaSMxtLQ7OqO3z6MQcB+4ZG9nLN4wEE B5W64AdcQNszu9fdOdHM8NFtzf4+xPr+gtd6M6mZVN887bnDSTYTofAk/W/RmntrfJML GtQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=ZajEXVjp; 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=NONE sp=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc16-20020a170907169000b007306a5f1616si1852157ejc.509.2022.08.09.01.59.03; Tue, 09 Aug 2022 01:59:29 -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=@cutebit.org header.s=mail header.b=ZajEXVjp; 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=NONE sp=NONE dis=NONE) header.from=cutebit.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241262AbiHIIzj (ORCPT + 99 others); Tue, 9 Aug 2022 04:55:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236411AbiHIIzi (ORCPT ); Tue, 9 Aug 2022 04:55:38 -0400 Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45CED21270; Tue, 9 Aug 2022 01:55:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1660035335; bh=gC4GNArn5L/+qSmbqUbjWxF4hXj6UbOzOdSVGC9cgDE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=ZajEXVjp7mPMMG2eOn3wmWnNtyDDnBp6T+mh3Lh7LDgJkT00oLqeXkpQkzqJk4Tdb Q31ajC+zOqJEr6HgWWNNIXqDtjUn5onK4CiWqrqUJ4ukSUOYk6AkOziyznRr5ywn31 qQTwzcFLfOLG5AFWJHC4utUEbbWrT1nIUfpjjz58= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [PATCH 1/3] dt-bindings: sound: Add Apple MCA I2S transceiver From: =?utf-8?Q?Martin_Povi=C5=A1er?= In-Reply-To: Date: Tue, 9 Aug 2022 10:55:35 +0200 Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Jaroslav Kysela , Takashi Iwai , Philipp Zabel , asahi@lists.linux.dev, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220808224153.3634-1-povik+lin@cutebit.org> <20220808224153.3634-2-povik+lin@cutebit.org> <8ce59940-f559-35cb-5f86-37399da166a1@linaro.org> To: Krzysztof Kozlowski X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_FAIL,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 > On 9. 8. 2022, at 10:47, Krzysztof Kozlowski = wrote: >=20 > On 09/08/2022 11:40, Martin Povi=C5=A1er wrote: >>> Describe the items because otherwise you allow any order. The list = will >>> be unfortunately quite long, but still readable enough. >>=20 >> Well, I would assume the =E2=80=98dmas=E2=80=99 property as described = above has an implicit >> natural order, and the dma-names are tied to it. You order it like = the other >> per-cluster properties, and then within the cluster the order is = fixed to >> 'TXA, RXA, TXB, RXB=E2=80=99 (maybe the word =E2=80=98respectively=E2=80= =99 thrown into the description >> would have made it clearer). >>=20 >> Anyway that=E2=80=99s just discussing my assumptions. I can roll out = the items list >> for =E2=80=98dma-names=E2=80=99, if that=E2=80=99s what you mean. Or = do you mean explicitly describing >> the items in =E2=80=98dmas=E2=80=99 too? >=20 > The text description of 'dmas' does not mean it will be followed by = DTS > author. In current bindings DTS author can therefore put any order of > dmas/dma-names. Unrolling the dma-names forces this order to be fixed > and validated by dtschema. OK >>=20 >>>> + description: | >>>> + Names for the DMA channels: 'tx'/'rx', then cluster number, = then 'a'/'b' >>>> + based on the associated SERDES unit. >>>> + >>=20 >> (...) >>=20 >>>> + >>>> +additionalProperties: false >>>> + >>>> +examples: >>>> + - | >>>> + mca: mca@9b600000 { >>>=20 >>> You called it I2S transceiver but isn't it also actually I2S = controller? >>> If yes, then the node name should be probably "i2s". >>=20 >> It=E2=80=99s a peripheral you use to transmit and receive samples = over I2S, frankly >> I don't know the nomenclature. >=20 > Looking at other devices, it's i2s. OK, thanks. > Best regards, > Krzysztof Best, Martin