Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1408088lqe; Mon, 8 Apr 2024 08:06:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAG2qQQOzangXYvVy6sNqHj/Tcm+erniEciU6YYMNAsEDDr3hAMPbkN//Jv6JLWkVgTSlp54jtfV2Vv/xry1hkgWhWF4M41vQElRsMEg== X-Google-Smtp-Source: AGHT+IFoKKHQwLRjvfTOtPN5TFubxFmBsP46DbVq9wgKiKheHSJHSjYWKlazGEbxG2NB2Y4Y6rAY X-Received: by 2002:a50:9ea2:0:b0:568:c621:c496 with SMTP id a31-20020a509ea2000000b00568c621c496mr6786672edf.42.1712588797971; Mon, 08 Apr 2024 08:06:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712588797; cv=pass; d=google.com; s=arc-20160816; b=I42Yf0iLvTCwlCo4HYzq4h07jT9K4aotACeUSDAnkIgt9oHtwIJzlQPmfgbb2YPW5O FdunDAQ3ZS56iu1mfqpG2XPObAqe0jMpABYzEksIqJyrsan4H/tGLNBWptu44JDvE3Vf 9yeXiPEvh/jFeZkrZXfdqbJBSV3uS/20x8v9yYzsZn+DE6D5kBsbyQ7Ld93Kui1Jlr+k 1lqx+gMM5Yep+Sr2Q0O+q2b2mHd6D+O0ffTKys0eNtTSWT0x3UThbtLvcjfpZ2wtgoRa twPcVZ2kPiwfs+R5UCUHV8MeNGzW8XONBjusUuJKxzLuxslC8ojrZfnUrgfHFmHS5F3e GBDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Dxs6cIQGM15UBhBDso3tA3kUyIdNuLINVbFD4GzTI/Q=; fh=QEXQMflyKd2dALzfz7Eixm/j0woR3QpvzjLAWYHhrKM=; b=LYypzSKixg4vt88hnOlOBofeJElTGwD2Lc2OBGkecFBN8cLgyED+BzcIiVprW/wXGe 87qebcp828wJhWTk+9I8RuEcew1QazIGpPS8BskORFNcGKUFmEQ0E+02WjOHKUrFiwz4 oU3G5CpyPEsYzmeggBUVhqRDbqVwKDw0B1ywRoTPzaFC/3TQlLiMKOYiDnUHoKX5rPGb qncEwr2d+RaeWivo9q3NGP3565BFDKz6PfLngSqo2iKn8253pV8z21Wbfd246f7yGkOl z5AV8SE7wXV5RyDN1+MEjX7gGdfFZOLqo/7OciFkzVFDJ8AvJSmSUZTbUZRy9uiclGgH VFOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vCRYj0Zo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h5-20020a056402280500b00568b856f574si3724234ede.145.2024.04.08.08.06.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vCRYj0Zo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 875821F23CF3 for ; Mon, 8 Apr 2024 15:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C35B413F44E; Mon, 8 Apr 2024 15:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vCRYj0Zo" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E22313F440 for ; Mon, 8 Apr 2024 15:06:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712588788; cv=none; b=PezYfkz9QN7+jxO/DSUoPsHHHeW5QwckCZlwQBBws2UZS/i4SZMYu/7gqXCEWNro2yC5uoQzmXkwL3ZV3Oo57aJnML6FwPYzJtQvyRpfHygX1X2GZKt018lB09TzA7G14unqlZeoTzju9FH8Eabk6YccrVaJmjxma4Ww1oD7NPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712588788; c=relaxed/simple; bh=MsNpVO9pB/7MMcibh2I88NHwGOLe1uSWzf4L7HJ0tE0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b7on60fzrxgTqvC6zTc+u86/9y5M8N1nZh5OsqNJJGoQ5fBSSONrS7z2HJ6pwK/pdA1ST/JKhCdGZOQ4uFPZC1jETevS+BYQ+R82pWF/RCvYb3epQBIkvsMGuS8F1tgW0404qmyukMOYIDUJtb+IsIv7wDtOiaQSwr38dRaG4Oc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vCRYj0Zo; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4165805e158so10399725e9.1 for ; Mon, 08 Apr 2024 08:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712588784; x=1713193584; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Dxs6cIQGM15UBhBDso3tA3kUyIdNuLINVbFD4GzTI/Q=; b=vCRYj0Zo/VI9J8iHKRgyZJeNxW+CL7ZduogXCThyoMGKjHS0zyapKDeJ/mnZ9w5RLM EITe3YeyXDofQ9m3U+4b8VBeGqGA4lAmD9B5RVNqD9Um8dwWgcT3PDg92UCKFeN9Mppn JvSZCBZzYplhqELjw+kjDCFPYMlUFsCWAtiIt/ZdG705IiGTLf/LuePAv+y8LvirQlJI VOHxNq9Z+eQlk+2rUZXeyZswzn6yAynjc5VYKCfU5/uUFfen2NRL3ccxMV3pyrKMm/s3 gHFFl77qyeMQpskKZrtBej35SeNW3UDNp5wOPwyMn5jWCrwmOJ8smHrY7OLlXuPwA4nA WpWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712588784; x=1713193584; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Dxs6cIQGM15UBhBDso3tA3kUyIdNuLINVbFD4GzTI/Q=; b=AbVMkO0uTFw7QX3wCaE4hdKNmYV4AWNo8tUt/idxxxR+atyTAJ9HFVzby+4+LJ23oR 7LEjHDqlBCnH49yofi1cIQR2Jp02oiQtg0sCIKA/yArYCbcyEqxe0OesJuBhJOm9uYqy bJWkBFxA+Du0+fWXScTyD3LdI2LdfLFqkdZoN2a6cC1C1Y5PQc6j9cTsHsksncxDhuJl lpJp7x/EYTyVei7ER6j35JKv+kbdQnQPOflcnQScim3eQHzDR+L+R3Opef3lN3qGCpxt GJMnbsOQVNXwlM7OdhNGOIsVUmKgPCpLMdh3hIOekupcwP4gaq4vyoUX2iwO8tQZHxHz Q20Q== X-Forwarded-Encrypted: i=1; AJvYcCVTo5GMdJm85wjUXxdC/pBenJDgAEL1+xax8EuqTzeKJGPjmm0lkdQmLSiOEHD0VoBOy9oARUy5Z7tWe/W3/NaIGzZcIpoUz3kP/2SW X-Gm-Message-State: AOJu0YzHbM8GD1rX6UhHPfqgDT+Q4XxUMVX12K2UUGAdA0nNIurmdql/ Ne13RrE/qfjtmFmBJH3K2X/ThfDAgRqb26pTubm1ZwAsOfBzKPzBh/2foNCyy0U= X-Received: by 2002:a5d:6086:0:b0:343:d06e:51fe with SMTP id w6-20020a5d6086000000b00343d06e51femr6955094wrt.20.1712588784285; Mon, 08 Apr 2024 08:06:24 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id n6-20020a5d6606000000b0033e745b8bcfsm9165815wru.88.2024.04.08.08.06.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 08:06:23 -0700 (PDT) Message-ID: <69ab2bd9-401a-42ff-90fa-6600dd071722@linaro.org> Date: Mon, 8 Apr 2024 17:06:21 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] ASoC: dt-bindings: imx-audio-spdif: convert to YAML To: Shengjiu Wang Cc: Shengjiu Wang , lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org References: <1712561233-27250-1-git-send-email-shengjiu.wang@nxp.com> <01734d96-bed2-4f7e-bbba-7068f14c822b@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh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8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/04/2024 10:01, Shengjiu Wang wrote: >>> + >>> +anyOf: >>> + - required: >>> + - spdif-in >>> + - required: >>> + - spdif-out >>> + - required: >>> + - spdif-out >>> + - spdif-in >> >> Do you need the last required block? > > Yes, one of them or both are required. And? It's already there: that's the meaning of any. It is not oneOf... Before answering please test your changes and ideas. I pointed issue here and you responded just to close my comment. That does not make me happy, just wastes my time. > >> >>> + >>> +additionalProperties: false >>> + >>> +examples: >>> + - | >>> + sound { >> >> That's a random change... >> >> Instead of sending two patches per day, please carefully address the >> feedback. > > In v1 you suggest to change it to spdif? but spdif may conflict > with the fsl,spdif.yaml. so which name I should use? I don't understand where is the conflict. That's a different binding. Best regards, Krzysztof