Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp224226lqr; Wed, 5 Jun 2024 04:23:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxba6maYdS/vyCsnYBYyX2F1G8AyOD0+n6jTnjr2ZIO0+MftOUPx8gckg3cxvyYsBslV3JBji2eJoVzmJbORzGsHdgkfuXy+7tmXW1Ow== X-Google-Smtp-Source: AGHT+IFeO5DP0Km82QNQkFyeYEu17vMbhc0pfC1fRyQpm2cGgL4ihpNrX+ZaC5Vy0W0JX/ZCigNh X-Received: by 2002:a25:c507:0:b0:df4:f200:4580 with SMTP id 3f1490d57ef6-dfaca9e6c12mr2123581276.29.1717586622946; Wed, 05 Jun 2024 04:23:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717586622; cv=pass; d=google.com; s=arc-20160816; b=jr5ykt7E7lfUWf29iM5gCHSqmM8gvEq9VST3aC2Ywi2snrGGOtxyQ+Zj8MWd8xQFmq 6OxViNsL8R64eotZlIRbQdc6WqPyN13pfaPWLiIp/LFAOCFmDrbj0K8LkK/SmIOipHD7 Xghi/SdcaBCGDLeKkDeEzR9Of+tUvl2KMaM8F+VF8Aq6RaZ3YSwCx8++9v/VoXmgH24g OEMzd45nFOddDmF/G2n/Q5aHoTwfvwUGk557YdoO/yPj/QTH92y2LBZbvrugZMPwvxff KAw9FoLKchyQ5N9fr3AJBwmUQZMDoN/YLUOXhvpl7nyJfdog0ayuKZwuc0rwjdbILCUj 95QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=v8lBmo+de872z4HgxVCrHC0+rUnsK/Cm/QHFRT3M9h0=; fh=XuLq0J5+UybMk3uUZ93eP5GG8DGIxFp1B2B1O5zKCiQ=; b=XOlnrCPoJL//54nExuGxpZxmva2EjHzhcRQ0zdzut5yT4NgKwGOYuYWN3JilG8Bh0k rdXSEnhyNQs9YtPH4oDwus2R2VO/h88viAE+wd9HLya/jvZ5O3rb/Ds4DOu1hly6qj6h 2mLnkA9+ZhrHcsL4BjcSmUGZ8JfQJs06f32atwixIRWszfDVQkwtOTLvO7YqT105t/km E0GbBA68Map6uA7byZV3jAta4ohIwh+GMIo9f6d0ZKryhKcAAkBKisZqK9B9ox/Y7qjG g0jj2ragwTYH2U7elWGoYkyTlGNah460/66OXZXNXrypS1XJVAUfAkcnv/0NDX9lFZ9Y 1sPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iWOssg0x; 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-202258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202258-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff25ac6b3si134793861cf.699.2024.06.05.04.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202258-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=@gmail.com header.s=20230601 header.b=iWOssg0x; 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-202258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202258-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 D2D851C2339A for ; Wed, 5 Jun 2024 11:23:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 452F3192B9D; Wed, 5 Jun 2024 11:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iWOssg0x" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 1E3468F6A; Wed, 5 Jun 2024 11:23:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717586604; cv=none; b=q6NjNtjjVL+ixUu9XzCFyH7Wsj2K9wVyAioavDVO11g+g45Lg54AwzG+sf7pnDxOyMGXOK6WJK0LRuYyp53leeM6TJrEza/tMysn0WNFHug5N4hEf6DlwLVQ7VOPooJr792WKuKClP6R9T5TACWA2wBCD5Fn243TUKMZAQ43RYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717586604; c=relaxed/simple; bh=ulQWyHpv4zET4nAlFDTZoIUSCT3nKmoqAd0xhJpllkg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N8COsvLRQ0niiRfZ9u8lcGAuNxB+jXQ80RX30TxPeZwRG/6y09hz6C5ZuwYqVKkN45anjOjZ8fbJEzmIDv5hifSUAnkDpJpzY5VYm1ShkHjR55ZKJQ3iBu4YKvBLFHGtG82AhIS7BBofukoPp48r1Z/kfSFMAA4tGpfNSGaUGXU= 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=iWOssg0x; arc=none smtp.client-ip=209.85.214.182 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-pl1-f182.google.com with SMTP id d9443c01a7336-1f630e35a01so44109725ad.1; Wed, 05 Jun 2024 04:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717586602; x=1718191402; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v8lBmo+de872z4HgxVCrHC0+rUnsK/Cm/QHFRT3M9h0=; b=iWOssg0xojAnixwXgEbsfo2l6zirRteBj1e1YM/MqhJk0EzYTbFlz8ppX6M/laJ0nW dBpZ4JodYX0YI2oVv5sliDGnqEKTeAjmliwcsD4eH8oAAxF5NcBah/T8XJ8ObgDjITzJ +Zavp3txhDRC6AW/9X89o0uGWwkbJkHddQbfYI3GnHO01LNl8LS1NY8BgB7m/wbQqQOe jvSBYSm3uVQBEA/dfDnGzNm3Bfwgf/ph8b+5iRQjnGQexNyTHwTgF7D4gqeEko1nnglQ CHWlk4qz/hDpQyV3DcNlseq2wIAxS3vo7MT0cQZz2gorDTbmJHcEy9oW0B1a/vUeBEu3 pjrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717586602; x=1718191402; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v8lBmo+de872z4HgxVCrHC0+rUnsK/Cm/QHFRT3M9h0=; b=jalggt5N6EHJECfDOwhwzxDlkB5kbX41RdWX8Pn6CGzTymmOPye63AP2GPUBteFGxX BKYqz4wDA2et85IOGy4s6UKcosFOd2yGfaVRO4kacoRys6vw2fh4WvEaUoHWCXBzCLdo LRMQWccKREVLOII0TFx1wpQVQf5/CjLK0aLAxj8U2aQJ1eENnREGURTBMii0yJQuRKT7 KWRgw5LBqYQo0PK0PPr8N65gB3hKsQYv0/kvNylSKtEQOo5RzhMwlwdDJ2cmslW2sQ+F P4Xlrq5YmFzs9ZpRwqYI5MHO2eu5LAhTcDqwoP48duC3RH5p2Rj6MV8eh9vw2DGW1ErX iBSg== X-Forwarded-Encrypted: i=1; AJvYcCUwHnfaCFYqbOKt3dRYtLjglMHDkSnMNf+H77OLTfb9taUlasBTit1yqOao8J54ibFa7o1w6t+VIf4uwMoT6SdQF9LJVSRo/lY9tnGlv63+nCXZaCEJd5nF5VQWSA8h1mflF7awc9RHndRRREHR48SJ1hLFz8I5fh+7VJEiixp12tXeQqYQ X-Gm-Message-State: AOJu0YzWpw4W3z1b6/gt2HH63UPqDQ7W0dzKblqiotUbkbU86RH5tpJF eq9SEVZ/KAudFhgwmtzfAwqkFw7fBnrd3wR9i7PQLwyvSPfTz0LUkgq8uiNX/pw= X-Received: by 2002:a17:903:2292:b0:1f4:64ba:af9f with SMTP id d9443c01a7336-1f6a5a69a3dmr24294085ad.48.1717586602201; Wed, 05 Jun 2024 04:23:22 -0700 (PDT) Received: from fedora.one.one.one.one ([2405:201:6013:c0b2:ea4b:30e0:4e3a:ab56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f63241d378sm99866595ad.301.2024.06.05.04.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:23:21 -0700 (PDT) From: Animesh Agarwal To: Cc: animeshagarwal28@gmail.com, Daniel Baluta , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: dt-bindings: linux,spdif-dir: Convert to dtschema Date: Wed, 5 Jun 2024 16:52:55 +0530 Message-ID: <20240605112301.8171-1-animeshagarwal28@gmail.com> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the dummy SPDIF receiver bindings to DT schema. Make bindings complete by adding property "#sound-dai-cells" 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-receiver.txt 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..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 + +required: + - compatible + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + spdif-in { + compatible = "linux,spdif-dir"; + #sound-dai-cells = <0>; + }; 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"; - }; -- 2.45.1