Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5686179rwb; Tue, 9 Aug 2022 02:17:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR7jI20LrND3I8tanlF1rUctCPR0n/iGucZM8dV75jETHLjswlgQUn/oQ6QMysNGhjjyGZ4f X-Received: by 2002:a17:907:2ccd:b0:731:53bc:6a6b with SMTP id hg13-20020a1709072ccd00b0073153bc6a6bmr6869884ejc.40.1660036630509; Tue, 09 Aug 2022 02:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660036630; cv=none; d=google.com; s=arc-20160816; b=0po+IwNH/dK9WyAkhcbF7F92+o4L5lqqfHfrqoiVNfM4YiwnUlAmp4cUdhvgKoPxRN +s9UlnZc2jwGTPpFOvjS71rrwN/tluZldejaxNklhQpjvoWOtKop9+dvHZAncEFEktoA l6/gnZRX/BEhz2o7TBdy9bpkOqMKs5ueBTjL7PnTZX2BhxGbNDlpJ6DNEPSl1CvygCPN d4FYTJOyoSAn9MnlF0irSRtiyWue4gmU1Fxpz6PoJEW90eXWlkbHJXVkD5fIutOTQscS O72tZXU9rKp6tqGiXR1YiK35NHGuzB95JTUYY0dce6DcVKcZVv1wyfsd6scUeCmLGqhL a9NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5ZRqoSrGd+BoiYjAKUkI728rotE5kN9fSo4lEQOI+8g=; b=CORMbv6pFy7AJFEoJOKq6cxwfnGtPyrw10u5CNLYBWmcEnkoYcbPPCV7T1+vaGYeRD QA5XNVUqCqRLFcp75QwaafYQmBYxtlAIPLlM5qapJfaI5ICcooXFo+vPemXZYSvmtnbx fq5YBngoC+zYhJQoXsH1qM8IwvMs58XiXpY2YotkuJR1P58pL740JucQpcJgnLJXKMMu fffoYU2VJmxtqqBoinAUcy4G+HXTHbq9STRaoHlunngpDpoiXffS1YaENL9m3lTNLYMK VdE4Wzn95vj/HlXDiOcIqNejUFEnv01yHS19ERzsRVHqHWnzWqHnHpv2goTeSpFe82cF f44A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="e/vdzEJt"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji10-20020a170907980a00b00730d34ce2aasi1919170ejc.988.2022.08.09.02.16.45; Tue, 09 Aug 2022 02:17:10 -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=@linaro.org header.s=google header.b="e/vdzEJt"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241111AbiHIIr6 (ORCPT + 99 others); Tue, 9 Aug 2022 04:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241126AbiHIIrt (ORCPT ); Tue, 9 Aug 2022 04:47:49 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE5A222AE for ; Tue, 9 Aug 2022 01:47:48 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id z25so16112653lfr.2 for ; Tue, 09 Aug 2022 01:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=5ZRqoSrGd+BoiYjAKUkI728rotE5kN9fSo4lEQOI+8g=; b=e/vdzEJtB1SxPZDhfRGHx30J19/pApV7RI9Lxl4m7eRLimeRmgkEdJtwR7BdT3fM+x oDBNdrUKj8TMdURTdwOe4eh9buM5Ow196l0vHWvk//YSyj2pH1Yknob9RfDH/WMimZEK BByitWQFDuKFJljHKxEirForcLNpkBSNdM0H00Ov4sQR1swxmH/bR8b0wuMs+G/fQ0hv NBb0vYl8GmBq8pDqqncy8CFfCy7hcTiDsEu9hwEo+YRHDsgv+pPNvTyKG9oBS1lcSM/T a4/x7RvfqdUgD29yEhrwneZgtIpiImnRa9yS2umOHlVBtnQWXFEZb4kOL1HIUHebCsSz N96A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5ZRqoSrGd+BoiYjAKUkI728rotE5kN9fSo4lEQOI+8g=; b=UTaz5oUn8DHZX47fpg6k3g9WHaqJGP/msQFHX4Xwxcy5ugkjJr8rLZ7EVOcEWM9MOt dQodVVG7RBhQiwBff+YgX/olpsaoVnUYcKjmTPd3wSfvlkj/zht35wJDrWQiKGz44lNq Jx3lGk72OGFsaUlz8jKo0YKEtP/21fXg1iFnzXaZ7ZjtOyTWfGBV/irJSdO0gitQfcJ4 sSLUu9ALV0h9/UwyiE1Z8LmDpgV5DdwG/QjGjyTLk3mBXSiQMmMo3nGR7pYUILfGnvO+ uOL4vnIE9x+FQ63JkjrK2aqiADfYNF+Tcvs60K0cPT4rSMHBKMEmPfFwdhzu66E0//D1 1oTw== X-Gm-Message-State: ACgBeo0azHkVh8WdpqawkzxSbmM5zPvsU4u/RelQQJgUvAFKYNFNGl0z TGc7HIr7bPL70VeDfipkA6/rSQ== X-Received: by 2002:a05:6512:3b8e:b0:48b:23c6:9b0 with SMTP id g14-20020a0565123b8e00b0048b23c609b0mr8176669lfv.470.1660034866470; Tue, 09 Aug 2022 01:47:46 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id v22-20020a197416000000b0048ad4c718f3sm1687682lfe.30.2022.08.09.01.47.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Aug 2022 01:47:45 -0700 (PDT) Message-ID: Date: Tue, 9 Aug 2022 11:47:44 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/3] dt-bindings: sound: Add Apple MCA I2S transceiver Content-Language: en-US To: =?UTF-8?Q?Martin_Povi=c5=a1er?= 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 References: <20220808224153.3634-1-povik+lin@cutebit.org> <20220808224153.3634-2-povik+lin@cutebit.org> <8ce59940-f559-35cb-5f86-37399da166a1@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 09/08/2022 11:40, Martin Povišer wrote: >> Describe the items because otherwise you allow any order. The list will >> be unfortunately quite long, but still readable enough. > > Well, I would assume the ‘dmas’ 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’ (maybe the word ‘respectively’ thrown into the description > would have made it clearer). > > Anyway that’s just discussing my assumptions. I can roll out the items list > for ‘dma-names’, if that’s what you mean. Or do you mean explicitly describing > the items in ‘dmas’ too? 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. > >>> + description: | >>> + Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b' >>> + based on the associated SERDES unit. >>> + > > (...) > >>> + >>> +additionalProperties: false >>> + >>> +examples: >>> + - | >>> + mca: mca@9b600000 { >> >> You called it I2S transceiver but isn't it also actually I2S controller? >> If yes, then the node name should be probably "i2s". > > It’s a peripheral you use to transmit and receive samples over I2S, frankly > I don't know the nomenclature. Looking at other devices, it's i2s. Best regards, Krzysztof