Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp31734lqt; Wed, 5 Jun 2024 16:10:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsBpuV9DlGVjd2aY1dnoyT6sMgpUhQ9sLxcyWfvvam93PduyorP2o8PCpyzThNwyUi6+Ox0oFsIHYIzqKRlfkgR5qHwossWBzARqvumQ== X-Google-Smtp-Source: AGHT+IFojs/IL/trQfoj8MRfsYzmPTwpJu2R/cPFdaP78quSZQl5tg3rI6gM0jw2pMnG8tXOdMGW X-Received: by 2002:a17:906:40c5:b0:a68:413b:36f1 with SMTP id a640c23a62f3a-a699faad16bmr264466966b.32.1717629039251; Wed, 05 Jun 2024 16:10:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717629039; cv=pass; d=google.com; s=arc-20160816; b=YZmQK2/0vtqw13soMDU0DtH8smiOMLvoUAMOCu5EyDKcUIyHo/rAXqnov2sPFLIiVn GUpCst1XzyVbrLJqRKgIkpD+f/1VZqmREa6+7N/ROubJG3/lb2UwVRqg2ii4Y70qmTph pZLKb/UkRymeZ46gMeMNQJBNZAW6vffH45POb5lBE2WNE/UjV6IU5owu3tfRcqLCPi6f EMDpmtVnvthHNejB2pMmumzuVAOzeFadcFE099pq9IF1GY4PXywKN9E3GZ7/rFo3QOjM K7cMXtRHLgj/Rmc8nnQ0O6WfsDoKDaLxIz1DgEObdFK5Rg1HC8B1d5EqHNtPHItKNSqQ ADrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Uj2Qft42TsVtgd2XCZeRe0RNvrbuyy8Ezi71OA+rx1g=; fh=O1uuQPi89fe2cjedBrdJ/Bqc1jbGWGMQRZC2xz6UZMg=; b=b9/kEDFEQ8IAKofH44O29YNt198e/7MIe8DfGc7th7J5WoiQ8m6XVY8fcKr5wbN4FG 4riOyAhrJ49sGCgQVPetWrlxfGrHvUzGgrciKSOT+U1qn7kh3RpcB7T71MR1g6fMiV89 EDkPOeKjd01jlybiRZx+0T0b43xUJA9ETruUf0Ju77a7LUfNfNGWTHEl3MPwv8xqr9GF Hzu2B6B4fKoVBwVPwHxtTGF0YqixQz6vIK6cPktyx7dnwUCG+Ur6arIt6tAkYCyyZIEQ hFjXETCIz+HCFzNr3N4+Y8P1PaNgaWIol7yNR043niRmcCWjNr/3cH6QdE0GJ9CMKx5X 2Muw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nk+k7pUO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dacd8si3282366b.473.2024.06.05.16.10.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 16:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203387-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=@kernel.org header.s=k20201202 header.b=nk+k7pUO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 F38891F24F2C for ; Wed, 5 Jun 2024 23:10:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD84916132C; Wed, 5 Jun 2024 23:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nk+k7pUO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02AFB160884; Wed, 5 Jun 2024 23:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717629027; cv=none; b=oopEz8tFai0RQHMWK/sNr5TpYgaHRehUD/NYyjLBOWO1RVMCH3ZD5uNE9RwbuPUr9w4Zy9vSMwh/MdvQJSzJcPkBqY1zfsb4HmVc95SN9hGkGQGAiNNBeJqVl+wqmD7A+5LHKAEhMen1YycL/ZC5fegKhSKJx/58A/MQjlyOF4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717629027; c=relaxed/simple; bh=DqNzbfeYdzlgSZnvwqVVM1/hr0wbxWQ46hLlfil+Yv4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Qp7OraF+hww9Mx3IL+mwMktetkNr6lFMbsE4pQUn/Sxdu/GQRuag4Y6cdB94ny6XjMksmdm1Wb3lInWygY9CLnqUrOLhmOPfPtO8k5uoo2yzRG6ESFw6tlTtS7HwoYvYXhk5xJSfY91JnsjEyskrLVfir9+kmfYWazYqTIWOvfI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nk+k7pUO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB4BAC2BD11; Wed, 5 Jun 2024 23:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717629026; bh=DqNzbfeYdzlgSZnvwqVVM1/hr0wbxWQ46hLlfil+Yv4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nk+k7pUOpZhqOLLY/euYavqSWDJBhAe1zQjOIZzw0Dwgp7Y34Wn7PuOjJWL/CmYPa h77OhkIhraRywOjrk5QBl9DiKeamh5Xy8ZOnNZLVvBl3cvdG4sOZf60nSt32hG1UCe C0A9eGPGnDyMwDqc73fxz+/OS8m8vEfXwDlf5y+3aolHWtTsRE+IwGOClzK8Ltacqp oiW0/ZOHQkqX4JPUbZ90SsZO7kQEcT/rDYT0DDw+L7x1db2Xtu0XKLSFUoPXbwC3Gv B38JBpGrciQiAzfWppMYx9Ygklps4r/b9yjpLor7fj1vCUkfsHH9xmrC+MB3KziKeM 5d5y37IT1fsyQ== Date: Wed, 5 Jun 2024 17:10:21 -0600 From: Rob Herring To: Neil Armstrong Cc: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: dt-binding: convert spdif-receiver.txt to dt-schema Message-ID: <20240605231021.GA3302324-robh@kernel.org> References: <20240605-topic-amlogic-upstream-bindings-convert-spdif-receiver-v1-1-262465adbac2@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240605-topic-amlogic-upstream-bindings-convert-spdif-receiver-v1-1-262465adbac2@linaro.org> On Wed, Jun 05, 2024 at 06:20:50PM +0200, Neil Armstrong wrote: > Convert text bindings to dt-schema format for the Dummy SPDIF receiver Couldn't this be shared with the transmitter. The only diff is the compatible. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/sound/linux,spdif-dir.yaml | 37 ++++++++++++++++++++++ > .../devicetree/bindings/sound/spdif-receiver.txt | 10 ------ > 2 files changed, 37 insertions(+), 10 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > new file mode 100644 > index 000000000000..ec8990c236f7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/linux,spdif-dir.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Dummy SPDIF Receiver > + > +maintainers: > + - Mark Brown > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + const: linux,spdif-dir > + > + "#sound-dai-cells": > + const: 0 > + > + sound-name-prefix: true > + > +required: > + - "#sound-dai-cells" > + - compatible > + > +addirionalProperties: false > + > +examples: > + - | > + spdif-in { > + #sound-dai-cells = <0>; > + compatible = "linux,spdif-dir"; > + }; > + > +... > diff --git a/Documentation/devicetree/bindings/sound/spdif-receiver.txt b/Documentation/devicetree/bindings/sound/spdif-receiver.txt > deleted file mode 100644 > index 80f807bf8a1d..000000000000 > --- a/Documentation/devicetree/bindings/sound/spdif-receiver.txt > +++ /dev/null > @@ -1,10 +0,0 @@ > -Device-Tree bindings for dummy spdif receiver > - > -Required properties: > - - compatible: should be "linux,spdif-dir". > - > -Example node: > - > - codec: spdif-receiver { > - compatible = "linux,spdif-dir"; > - }; > > --- > base-commit: c3f38fa61af77b49866b006939479069cd451173 > change-id: 20240605-topic-amlogic-upstream-bindings-convert-spdif-receiver-c8d2fdb688cb > > Best regards, > -- > Neil Armstrong >