Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1703458lqe; Mon, 8 Apr 2024 18:38:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWW9EMaFd5VfIwCwf0WNv4tjlRYP2zb13pHiovrN1/sdVGIJ0NtG9wn/W4VHYGoFnS/abYPnCEyOSt8KZ+4VkSCD2bamOItsJTzDU4Ifg== X-Google-Smtp-Source: AGHT+IGPztMb9/8eOyhgu73l0wgeXugMh6QaGmUTrTYnsoAoi/5tLD7BbPFGjKlE4v3PDJTYNpCg X-Received: by 2002:a05:6870:4725:b0:22a:9d77:f654 with SMTP id b37-20020a056870472500b0022a9d77f654mr12117810oaq.31.1712626711107; Mon, 08 Apr 2024 18:38:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712626711; cv=pass; d=google.com; s=arc-20160816; b=PxIBcQeoOR502s37W9NmX1X6YCX3aBGkpZxQ2zfyIPCzwGZVhvjc1WpEBejCfFvtyu s07E4ccyCE7g29hBiryhh55YVSxaRCv/iBuSHjjRvJwHTkdArECDY3pm0UT8nM6+hUab S3a1ec3aKg3bsYEurOwfvK9RB9x5JSovEXuLWly1QmY+Gcv9PGf/OVhpyyK+SIKmIw73 p/dD4lJmMtXF1F3Bnj9lXfZYEOR+wwJ9G5qtjootx6ds4Rux2C2YO+gSNyY6Y3i4xLBR uRI9XLmk95BzFkpfb93QnXCf/S+cHiqdTeqW6HtvOz5ioUJfV2hgWyDexub6HrjA3/xS G8mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9lrU41zZbg4rdCONBXZqOnSqD9/BbJGHGI3UVtCYp1A=; fh=IrFtp81vHmCrvuRzQYjHzRXbecwgN6k6xCTk+tsvjlQ=; b=mrH7d/hKK8vMTGa+pSLpAsM+tOmeOFMTxt+fnS5Oyr0/xaE37A7usws2icvIb8sdpq MdWKSVQnad8yQmDWUYIQRl+uOFrDDFxuSf+2WF9VzG3F8owP5wqepyJ4TN1xHnpiZrpy ZGEdneyuBgTtCoe0I1LMmdH5yOaUQRQwhjImeoGUx9SzqYBaj55NvIh/hyydxFic3Wnn dqyUUowCak03qqEz+JKssIadWGT2VDq0JqVHIsgH6BCPGBI4HHQmUl8RI38Je83wsTFC nNB8xPKa+WDieOPwSLsz8KxXohgA1uwD0N19EgH+8NI4IDTPM5CHcQfMGtI53xqpGOL3 hCaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l9d0zUae; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-136090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u27-20020a63235b000000b005f06664ef2asi7410530pgm.206.2024.04.08.18.38.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 18:38:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l9d0zUae; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-136090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4AB1EB2454E for ; Tue, 9 Apr 2024 01:37:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEC6DA951; Tue, 9 Apr 2024 01:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l9d0zUae" Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (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 5D7978F59; Tue, 9 Apr 2024 01:37:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712626638; cv=none; b=RiZIoZ5a8HjZbJ+mIgDFfz1gjUY5ub+qoyad/b/gWbj2GeYe84yiY69WS0sQIgyLQjjOFntKdY+j0jeOaLnxUYe63FZ8ZBwdqUMevs+Ce7mneDAjVeVkdGsiL5T1rBU5naAXky6u5UNkV37lWbn9EahBnU9fToUy6EmHkCnCRvU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712626638; c=relaxed/simple; bh=REUfQMGxi6wZBiAigJvmtnxlwEZNsiAI6JDcOF9qSOs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=SBCIHpfeJtTROvTCPMcnscLCuf/NqdZsHwk1VyrdkXF19xcSU2PUR577GSwTTpELajRG9TmmUiiw60rz134fCERMmKW4MkWkU7UdV8UNCy/QP6+Uuk7x76lvCloOu5d5WudRO3tw5Jz+97hT1zTRPyh7mGk3c1Q3Cdwir+e0PUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l9d0zUae; arc=none smtp.client-ip=209.85.166.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-36a2ab5a05dso4081395ab.2; Mon, 08 Apr 2024 18:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712626636; x=1713231436; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9lrU41zZbg4rdCONBXZqOnSqD9/BbJGHGI3UVtCYp1A=; b=l9d0zUaeoONxcuX2LbObNdcK0dYSs3NetXU1RFkrWEcifa9dLQfxI4F6U7NpfmSQhu 6smdNTlJHC1zbyZMfqQZx1AhMcgd4ZDlhSfq6Mt84F6nZ/AEomwWYdsqV7FiYq3wtztR qPhsBVRPaOeSUtyyBZhUOT3f6pfb2I9ffHRBeUWHFSHhes0hXogufXkBU4KHhVeDGRWt HFyOn7jcoPC6HK0tf3xwVb3PpunDOMa7hdrQBbKQmkQbcfP/tj1Ybj6NnSMN11xGrB8P ziaWNI5QgSwgRo8Lzraf+QMDGzSQdGo3Fgg3SH+F8oG/8lurfzZ7gZ/hvmiIsHVMOwXy VCXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712626636; x=1713231436; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9lrU41zZbg4rdCONBXZqOnSqD9/BbJGHGI3UVtCYp1A=; b=YwQaw3zEKuab/u28VUMbXP4VMtdljCLljenFQu8TvtsUE9/rMBh5dIN1hWv1JY/ZsV uIyi2ZkdXKQOwvsS1spy0GHdvMgeF/USXcnbWam2LS22gwqOBszXp7HvOvaq8yBn3+up RaT/OC5jCr/T/68orNm0Zb9SlzynErwmtb0X0murso+gwmXoeI9LkEQ7cCn5G2K624QO lJ4sERzy9iVevjkXERMz3vNSn38kU6VmGjmWf0wMH67tX7YD1VMtoj1OzcnVVSeclic6 Roig0g0jzNRm1HOxj/d/rxOvwWtWKvSJD7I6Roce+BcG+fiwmqI+FaDxQcuVLTOT5f/r abEA== X-Forwarded-Encrypted: i=1; AJvYcCWQ5UNMGsx99emP1x/8NGtlSrhZyX/WG29NjQpTvEzWKDSSg+4NNKmCDahmqs7vuDt+wbtzK8JDN3PqVqJnmInKy0PkbaAyCmF0ePJpTuhYsJwl3d+qxCwrGR4Adb7Z1kwD+vcrVggqQOfLoCjMtusd4iY3B2lHH14zhBNi+qHRt+6c3V0i X-Gm-Message-State: AOJu0YxvbyjPUW6kT7zmN4qUIK+xk9evyrFQ05faQSxrmEKA0/BSq0aC a+4s4RrzMaWvpSo7rZpNbOPXwsjNXtc+mhKv1DwXVZFgAQtZOzZ5OyPhV+FMrKLNNCSSbOZCxSE dh9dd5QBNDSfKAIwfrypnbOWzLVQ= X-Received: by 2002:a05:6e02:b48:b0:368:aa7a:e25c with SMTP id f8-20020a056e020b4800b00368aa7ae25cmr12442798ilu.30.1712626636379; Mon, 08 Apr 2024 18:37:16 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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> In-Reply-To: <69ab2bd9-401a-42ff-90fa-6600dd071722@linaro.org> From: Shengjiu Wang Date: Tue, 9 Apr 2024 09:37:05 +0800 Message-ID: Subject: Re: [PATCH v2] ASoC: dt-bindings: imx-audio-spdif: convert to YAML To: Krzysztof Kozlowski 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 8, 2024 at 11:06=E2=80=AFPM 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 mean= s 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. > > > > >> > >>> + > >>> +additionalProperties: false > >>> + > >>> +examples: > >>> + - | > >>> + sound { > >> > >> That's a random change... So I can use "sound-spdif", right? best regards wang shengjiu > >> > >> 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. > >