Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1791564lqe; Mon, 8 Apr 2024 23:30:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaeUj5IRTJ6URVpPkyavuueueBvrUHrlLMR7Cg9UCWg5lJqSTNSIJocPJ+s6zJl1XosuUeV5GcwSKfea1VRUQ48x00EQfxoFZnN7nQhQ== X-Google-Smtp-Source: AGHT+IHX99m6aoUnjPmDs+oHk0NwQzwWu3g9eydRlx6iY8DTBYS6GHSeVURe8abc6vNIX8HS5nfm X-Received: by 2002:a25:8741:0:b0:dcb:ba75:bde7 with SMTP id e1-20020a258741000000b00dcbba75bde7mr8109728ybn.7.1712644238512; Mon, 08 Apr 2024 23:30:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712644238; cv=pass; d=google.com; s=arc-20160816; b=IM2yWnp5ENFCweZ1w35hfzHLK4S2oNiW2NoJZFMte0RuQiChyQ10tPID/sWbfgnlo7 PYQ91/UwWAXeQdJBNNJ23eAALG3blKc2wU+Q840sL4PfviJsxaR7aOlvUR8g9NCAWsY7 PkBkFyrCOq3qNFZbMUX5hvfOrYifhL1MBRJtfGEl8CXu1bDw6+1LaWZu445BrJPDayHD Mhp38yh4pYz2IBTAx3RRL0Pc67HL/8bWE9xd2f5qs6eMBXSvulUdNS8YbqlxCuqmMFTB nvhsmV0u4GEowaa+NYOyJSP476ReFsH7yh0rL677t0dMFam8BTr7IY7s5Wjo6dGbZzpj 6lzQ== 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=JSfFuREisAT8UwnNGuE+3fIOXrzMP5PSYPhNRbJ9h10=; fh=i4Er9FeoqCZMaqsQ3DKbZC/B3rpyHxrp+wiImsLT1uU=; b=T7DmHSb20KZNDTBNenVJlfMiH0XA+xxMZReTF/7dqa0Z++TWe+gEoL5S8YZ9MYZ7x+ 07kVbEu9uRa66y/9wmuK9UuCjPa3emZ+iZtVI10+nqzys9iM8YCwwZiPWj2JqPxa9zeX p3SDlKsPSSQHxeXdiJiLCufrd7WdPRpdygmQC5EyLFdYOG4aljV7tSzskzPSq7XmdWjL 1ckpX7vk73bux9RqYfBjClyvoJxFb3wmSTip3D78hFlv1ElDAtf78cjFSH0cNtRjWteQ 4ljTro/Ka2VcnhpHiqsVq0OHYUgPL4lFGAhC+HoCpOuqHnd64e4HqONB76z+dhWoxVTz klaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BfZqNi4V; 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-136305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136305-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w5-20020ac857c5000000b00432d61ce48csi9987723qta.124.2024.04.08.23.30.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 23:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BfZqNi4V; 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-136305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136305-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6FE971C22C51 for ; Tue, 9 Apr 2024 06:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E355B1DFDE; Tue, 9 Apr 2024 06:30:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BfZqNi4V" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 43E33763FC for ; Tue, 9 Apr 2024 06:30:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712644214; cv=none; b=P6DtC4/B8/uZqEfalnzF0UAUI3lzRxj/pp14tkUYGZI/+I1/MM6uQd4xVOEQhWkS3IG3UgmkrKnT70aSK0oWYoW9eyd38zw1hV4Nmcw5A4XIN+k0Ug8yaOb+FtjCCVhZMsqkhEmD1AS/b5/SIAHLqCVmGCLXGwtsigFIG/73gOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712644214; c=relaxed/simple; bh=GLlGOxsGfKxek5hcLAceq+1uQpJbEpoRFNLaAKCpyOE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DD5spyDpyhGM4WiHMq3R7ooCEZtKWcxwCvdYRwXQbAjZreOvXdnuQCZKzVoTqt9fpoa6Y5FZ9yMiu8T58xAbDYYmCGyIn4pUELMmplgkrVkybA3VTxiG6U7+TykpQTnKeILytrHXP+3e3j0dybCekJyg1e7lWtjryGcGxxqMMdk= 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=BfZqNi4V; arc=none smtp.client-ip=209.85.208.54 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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-56c404da0ebso7759558a12.0 for ; Mon, 08 Apr 2024 23:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712644212; x=1713249012; 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=JSfFuREisAT8UwnNGuE+3fIOXrzMP5PSYPhNRbJ9h10=; b=BfZqNi4Vrz2yfyEB1I6GAz0w4RWTJhvbfZAIcK7ESckoh6LxaeCoULxmZ3KkcAOQYg sl2ceTA/YFWgjxiSE+ka2sKgu1/Xz0/0Txawhp6BtqxESxv2AQN/Hb2sW2IgTM25NMf7 TbF0zI1XJJeAmboTVorPHvBprNyz0fUy7iUEWwd/P3TO0xC7+tygnkbWBoF3vgBes2Nm UqKaeehWtfCcfuoQ/zaHi4z09FT8gVIUW8RDXLsdjYWXFmnRYeBmJjTtTAK9sPJ9GO7n DmIFw6faluEUi9VASzbC+Oule6bUa4yBeH3AnHtVT9Tp8fTnlh3UV2KibubHiNA0NO7F Cqpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712644212; x=1713249012; 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=JSfFuREisAT8UwnNGuE+3fIOXrzMP5PSYPhNRbJ9h10=; b=lAAmCwOr3mz7uqH6TwBucKyLpyi+YZPjcl7o4A6Kw3NdKe6uJLjMFieQAli5N7KTDX +FNpZxVekunBSh8KvHERmz0mdPOMvqhDuLHvaIwZ549G6tcryftzlvXChiymg3Re5JJY 9SVKds9z+OLW3kav5rt7JAWxlxh3s00o7oTG403LeA2wk1CU4MxS9wzfsrczlg9emXLC xo/qw5ZRRXse1MOOrkgVKXkISrS1p7ErVVHukQLNrtddqnpnSJOO7T8NbIBOpy/ITJOq g0JRQv+7rLDcTc9ZJ2EPANhEei50vZ0cgoSDZ5azyNhToZwrSXoWFc2AnpADNoCzr1Dj hQgw== X-Forwarded-Encrypted: i=1; AJvYcCXhFjAtpB5LSwO7XRBOJI/JWrH2AhGduXTgrmdJDyRQUwIKQmRA1PcL/L2Ky/7WwXghdadkiSJ/KSeWIgUVR86Ssd8HeUqu6fF9UTCa X-Gm-Message-State: AOJu0YzpljU1cK42oqc4yVtHR9TGlCGddYNgNFJal6J1MuOfb1zKU9ly /MxL9xO3krwnB21hR62tqqwlJ1v2O0eahPDIJlptiZpiEdrBX5MFLK8f2e17Lsc= X-Received: by 2002:a50:ab1d:0:b0:56e:4039:add5 with SMTP id s29-20020a50ab1d000000b0056e4039add5mr6697537edc.22.1712644211611; Mon, 08 Apr 2024 23:30:11 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id di19-20020a056402319300b0056b7ed75a46sm4986932edb.27.2024.04.08.23.30.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 23:30:11 -0700 (PDT) Message-ID: <51e482b3-ffbf-46f9-972d-875d106c2474@linaro.org> Date: Tue, 9 Apr 2024 08:30:09 +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> <69ab2bd9-401a-42ff-90fa-6600dd071722@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+XWKydnmsfY7S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Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+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: 8bit On 09/04/2024 03:37, Shengjiu Wang wrote: > On Mon, Apr 8, 2024 at 11:06 PM Krzysztof Kozlowski > wrote: >> >> 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. > > Maybe I didn't express clearly. > > we need at least one of them (spdif-in, spdif-out) in the node. which means > that we need to select "spdif-in", or "spdif-out", or "spdif-in and > spdif-out". > > So my understanding is that need to use "anyOf", if it is wrong, please let > me know. Third time: it is wrong. Can you test the code instead continuing this discussion Best regards, Krzysztof