Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp100399lqt; Wed, 5 Jun 2024 19:19:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsh/40rFSZ6PXKg9Piscvc8eZpzzYnLGDOUQgFfaLX+bIwTBJRbwHUmbU2Q3RRo8sbWYp48JR9tSX63yRUCnIbreGC97F9YDDsElerbw== X-Google-Smtp-Source: AGHT+IFX6oCAvhQRa5apn+EDFkeFtkolHQ0eYbC3z0OVpKc2eiYaIJGk91NjFtV1SWscx1VuLxO6 X-Received: by 2002:a05:6214:5683:b0:6af:bf15:35f9 with SMTP id 6a1803df08f44-6b02bf0d318mr56416096d6.1.1717640390792; Wed, 05 Jun 2024 19:19:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717640390; cv=pass; d=google.com; s=arc-20160816; b=l9QnPiMv3HfQiEa/P5GhRo6y5zQapjrYv1ZuoMUhAEgULsXmegGwqmw2VKHMyE6J9P 5v/JAUM8MocAtV1smf8B1R3RRKrFaHYOSuZz2y/wWgOguZe65H/9wMnOd42R00mn7LGA f9OQd8rDooQvPa5ufPQ4qnH80dF9rPE8Nfp3RhMJF7sdOEp4buygUZ4MPUC5eHY2FPec eD77/BiZKvyZTcAyUaWFQj9wwboe8dmY66FGo2MAQjjBLf0eeD+G9LkTfomGDDuZMQpu RrdX9ab3pWCh9adEE5KRs338wmFAoYFaxgFcqJ1E/SbEc4G351jaYT+t1YX+eIWGEd6s fMIg== 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=/PRDuWYjFtULWNP5TyyV5JrKa8zniHjDTaMzzJR6qvs=; fh=8SsFwT7yC/qCUGoZLElB2SBAmdZX7SjXa18IkXnrFZE=; b=vgRULLGB5FHUir/jFSMINiLd3VM51xmNcjE6x8EUXV/S9OH7KvrS43yTfG9vUZx/xK 2AVKRupWaKTgT86WdbbM6+JD2u/Qn62ChCpLX8PETVMfqtPJim2C3TCcACU3ejUf0kO3 a5KINR7LA46JSdsS33J1XI8cPin0O4xw5bPC/kq8uJpngWPC1G4hdNG1dO6doXCRGlBj 3ds0EeFzlKlAFLV4U6FgWEh3LU0jK9TKCgCX29u50biFj3yymT978IwqdMcsvzk3e5z3 pa9owirlScLJSr5ztLkHsJd8WgvV3Gvsg26xXUtAysYBqtPtXb1hjBrNG/i0IN/L7MXD Fh9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eEr57owC; 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-203531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f9ab0cesi4713176d6.359.2024.06.05.19.19.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 19:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eEr57owC; 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-203531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203531-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8257B1C224BC for ; Thu, 6 Jun 2024 02:19:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BE9A182BD; Thu, 6 Jun 2024 02:19:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eEr57owC" Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (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 3F4B2440C; Thu, 6 Jun 2024 02:19:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717640381; cv=none; b=JECThFXDd/1IsMFfGD+hc2QLmAqOkJKcSbyD6fZZoxwXg1lPJvs8ADeBwVPQoA4KR/nMAickQS2gt3DzuG0K17ZOxUS9NHjp5z6I2g6jKnfPMFGskGMzsS8iZUkDhwasYreyYbBzwKT67UdWrdHOISFmUjddFvHU+Ii/sQZANzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717640381; c=relaxed/simple; bh=yHnbLg4xPUbK99cwmxufgEME6D4RSpyJmscguwNIqxQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Oh2LTEuO+Pp4vfM03LUpPBSczdcVVIOQ3uq8W4wSVMp34VWGjKbMigmV8U8Jvpf3g5b8U4qDqQr3Je9aXeHfs92CwuFZ9TCAZmLy9d29fvVukqn8BzxsFFnosHw5zXAbCyHNbCCCYcCl8FP1bvirrtnQiVRuSwpu/51aYHLLIjY= 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=eEr57owC; arc=none smtp.client-ip=209.85.160.46 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-oa1-f46.google.com with SMTP id 586e51a60fabf-2508a32bb57so205241fac.2; Wed, 05 Jun 2024 19:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717640379; x=1718245179; 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=/PRDuWYjFtULWNP5TyyV5JrKa8zniHjDTaMzzJR6qvs=; b=eEr57owCCWzPIqVSbCAa62Eym3uzQTH69WM0dor3XSlf5ZccgJZ6ta76DraULjnszb XcwnWkzDeMzeu2B7jQb7WXPsXa4WWVMWTXOObc6PzriEhheICjUW1k4Ycde61MjHIz9G /2aKIDXUsIt/FjO3i7ZjWaIa8YGOB2jRJpSxJoH++8tUjtdHFOskjMrhMUQtSKwnwsdY GLo4l3GsvJxoeUxFFz6j6rawdxk+Qlwpdn7mTrVPMs8/x34KeTlqwgVLQ/9+CbJIlFzn cxnAaH5JRkkvt4VU7U2e2wcV35WA/MWnPlt7dElBwaJCfONvo2vFoaKrDgOSRnsKwvsL 6W5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717640379; x=1718245179; 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=/PRDuWYjFtULWNP5TyyV5JrKa8zniHjDTaMzzJR6qvs=; b=RQ/SXYVV2EofsLx6DLrg337jamDe2JcISQAd0aEARq/S5iJp34LBMyT1vjG6o5l/0H 1JlqHYJiGJ3bUHANn2xr536A67gy/0rer9M/SGMZmNLbiwcXAgqSQDRWR3kncVNLz19Y 18EUhVEPTZKtEbguW72pG3sPU+C7RuuOF/ZEoCFXbqSKCEA1z1B0v5aGsWTDnCVQKI25 bEZwRWfDIuroSXUAVOjcWG0B1j+3vt7SBqzMc+OQ4mripN+ghhK7gX0fiUWqk2r5XKgL Gb9z+JPKb9KJFVq54jtbQ7CCD+bzOJ/D5wZ3+q2ZbppSJd1SeP+KLrr1IFo24CCNOrVG 3new== X-Forwarded-Encrypted: i=1; AJvYcCWGtoiGne1J8pi7h1Uy54eGnuumqPPBmkoSvnP3lujMYhGun9zmVOjviSsUOvy2wnA5DsJMjOc2rQ7cWg8cbLLxKceJegTRIE0iMlajTLL2ZvIFPWyONj8VanJ/f5Lew1Ze9/HsJ0syX7I3QpfYBUJ5NqRqUbo0LUFYWcoNb9yFkslZlVUx X-Gm-Message-State: AOJu0YxIkjXhOka4gQigi+EgzaxTKiRq+3UTLqmI/ZcYx8RLTPMOWBlv peJMehDGcHFjmPwIavuyHWEze36/BDnSWV10xhZ29UZ0P8jW6i0zcTUzAx4948nuB2AUmOEUtEG hby8MPS8Fq+9gLYyfHfyex8VllJM= X-Received: by 2002:a05:6870:8202:b0:23e:b430:3f87 with SMTP id 586e51a60fabf-25121c94fa4mr4945606fac.2.1717640379095; Wed, 05 Jun 2024 19:19:39 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240605112301.8171-1-animeshagarwal28@gmail.com> <20240606005332.GA3526959-robh@kernel.org> In-Reply-To: <20240606005332.GA3526959-robh@kernel.org> From: Animesh Agarwal Date: Thu, 6 Jun 2024 07:49:27 +0530 Message-ID: Subject: Re: [PATCH] ASoC: dt-bindings: linux,spdif-dir: Convert to dtschema To: Rob Herring Cc: Neil Armstrong , Daniel Baluta , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 6, 2024 at 6:23=E2=80=AFAM Rob Herring wrote: > > On Wed, Jun 05, 2024 at 04:52:55PM +0530, Animesh Agarwal wrote: > > Convert the dummy SPDIF receiver bindings to DT schema. Make bindings > > complete by adding property "#sound-dai-cells" > > 2 conversions of the same thing in one day: > > https://lore.kernel.org/all/20240605-topic-amlogic-upstream-bindings-conv= ert-spdif-receiver-v1-1-262465adbac2@linaro.org/ > > As I said there, I would just add the compatible to > linux,spdif-dit.yaml. But this is fine too. > > > > > Signed-off-by: Animesh Agarwal > > Cc: Daniel Baluta > > --- > > .../bindings/sound/linux,spdif-dir.yaml | 34 +++++++++++++++++++ > > .../bindings/sound/spdif-receiver.txt | 10 ------ > > 2 files changed, 34 insertions(+), 10 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/sound/linux,spdif= -dir.yaml > > delete mode 100644 Documentation/devicetree/bindings/sound/spdif-recei= ver.txt > > > > diff --git a/Documentation/devicetree/bindings/sound/linux,spdif-dir.ya= ml b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > > new file mode 100644 > > index 000000000000..61767873200f > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > > @@ -0,0 +1,34 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%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: > > + - Liam Girdwood > > + - Mark Brown > > + > > +allOf: > > + - $ref: dai-common.yaml# > > + > > +properties: > > + compatible: > > + const: linux,spdif-dir > > + > > + "#sound-dai-cells": > > + const: 0 > > It wasn't in the txt binding, but users also use 'sound-name-prefix' > property, so that should be added here. linux,spdif-dir.yaml If this is the case, I'll add the linux,spdif-dir compatible in linux,spdif-dit.yaml instead of creating a new file in v2 of this patch. Regards, Animesh Agarwal