Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp417400lqr; Wed, 5 Jun 2024 09:35:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWH4onEVi0/H806i2chBXyPtIfWuqQ1L40OsvT1T1WF9cpExBvX2jRZBjH8x7W8Fo3cKkK9kGh7hJjNg7+ukhbLfw+wMi5nThJaBsVy6A== X-Google-Smtp-Source: AGHT+IGI/pRJm2nQyO1os2F+Th2LuwzkGJcbRD8gv5M+E/Bid7SkLvTSbBnk70cBclkAsNYG6qfr X-Received: by 2002:a05:6a20:3c8d:b0:1b0:2ef4:e5b0 with SMTP id adf61e73a8af0-1b2b6ed8d51mr4163236637.17.1717605342743; Wed, 05 Jun 2024 09:35:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717605342; cv=pass; d=google.com; s=arc-20160816; b=yvFkUZJm6nSKbv3JklOPuk9ju+CC9xJszVTDrmar836oUJNwXFRdPVvoIDmZILD0lj 8W5C/3IDr9TpquNTsji6nL7VQMRJtHiikUVGNPPjTfxoMktcH0naAQJzwOSAJFMIMV0I 8bLK5uTePlgpqkcWveVLAw4qGGf5FypJmBBNxfKEdpXqg77WRbdZURx2ru2kzWk1j76r 490NSQJmLpLQjHSJZ6PTYma9dyShJ06iZ36og7iW7szYm/1PJhp4mDoD5m4Aam1j7yQ/ qm1qTCFT6V1nF2BQTjyGj+16j87DBYrTI12/BxpCVh4EUHKzbgFIUBma4x4SHZm88KXj IWbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=5sDg7XH+sw4rtqqZOSPVcua8cTURLbRBu83cbcLYlcM=; fh=eWxlP1X7eI/Lte0mahaUDmQ6q0ibgkDKr5csnqNL0MQ=; b=RmrwCQDs9mfuQt9CTy8a/Edq52GG0maBDfoaA5CkZ1n73I9vPItfNzkfTHa6ksSGxU esy/HhlIlgkJlum4ry51ppubVyiuxD9o1v/KC8IHzpFf8lum8jTKeG5RmcOg6YPmjFO8 Lb8rltIVdzT+nAdUiiizXtjue9xjynnyaHKbIGT6k+VaZ7D3R2UrquT3z04e8LZEnxa3 FcjO/2VdwaT9OI7DPG9u4VbZgDta+ih/eXPcYAgg8c2uGlyA+djuUz72UCIS3VMNBxQT bDZhVPg4VaTCsRY6v38c1efhofZa8tt6KL8BzNYUV/47xyem3D05SREfrDJrjmmesp5e QUyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TapXZmpy; 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-202908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202908-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-703ed2d0600si366039b3a.345.2024.06.05.09.35.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:35:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TapXZmpy; 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-202908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202908-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B04B7B24EE9 for ; Wed, 5 Jun 2024 16:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E96315EFA8; Wed, 5 Jun 2024 16:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TapXZmpy" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 A6AD71527B5 for ; Wed, 5 Jun 2024 16:20:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717604455; cv=none; b=ov8hXhkodsm2X0pVMlsaXJmzzI+UW5Z2riRuD5qw2vffOgnn8XZJfOfT2jURS8KhTvMGwNVcWrL/3e97ZbEZnJ8gsOjUxrvugshwAY5J5DAFaLNdiJO4Ks9REAfNaeJ6myWz3zm7gjGVEp+UJimJgqlzO0tLlElKETUH5qkg8s4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717604455; c=relaxed/simple; bh=BVB9g1nRXbxU1lO4q1xV+zm4LTA+/Q8NvRX9HKaO8Dw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=hMvudMLkaZ8Jf0b5TvSUisEl3U7Nhhb2rOkRwt5ZbCQIh3jj2w0QSNNAHKgfDbX8fhzb3DZL80E3HYgh7v4XgLgxN7lLiNm68YlYVHXdEVT9Zcxc/snrZnJY56xrdRC2igMPAEgsvE+gnKUWaEj6Fe0KbivrHoTgvLbZ0BtQXEo= 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=TapXZmpy; arc=none smtp.client-ip=209.85.128.45 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-wm1-f45.google.com with SMTP id 5b1f17b1804b1-421572bb0f0so443855e9.0 for ; Wed, 05 Jun 2024 09:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717604452; x=1718209252; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=5sDg7XH+sw4rtqqZOSPVcua8cTURLbRBu83cbcLYlcM=; b=TapXZmpy+YZpkk1j5NR8xjbV68eOmRrkKaZmj07jvM8/y6QKvftMXkQKeGUg0BbHoi CkYewsuzj9iADwNM+OElzqrrDfMOyBb5UMAp9gXQ50yM3uCWdR13S+1ps199aYeeu2EK RTA9ml8zbPVpkBeP08YDd88lAPulrOErAWxtZPVPrVRhPFx2DDUa19hwjNDOCSVx1J5Q tjzoCmzu2pkXTIYLRMJDGHO1KzOJXrnWUe2B7rvhVmWvKwNU3llkiO1RyH9zd3XpmuHL I3OJGWA6izBTlVF2w3vsq3+i7K8m9OUNE3e8kfNYZ90dDw0MzH9fRGgTS46w7Vxj27qR 9YOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717604452; x=1718209252; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5sDg7XH+sw4rtqqZOSPVcua8cTURLbRBu83cbcLYlcM=; b=K40o6aw+GJ6ZVFJvqZFknVhZkajOkpD5QnIBWiXNqfEKYQuY6ivWwD+zlHqO1IqmsH /84+OvwxU5HQL8L/qnB1LJImfUO7gYc9hXo552z6IyTai/c83d31jg3/asHXnVZhiQDu jU4a5jG6L37A+5oYKQrQPb3PQ66CZFQmyReWRLFLtkoqQ5csICcH+syWVJzVe8fLzx6z Ts/XSvJigkWGOc217xTEVOeeS+4v1oe5j46Cxb0NOb2UzPeMfbxv2rWZJl6OZ3iIQUB1 ngB+0LR1YUBWrb22A6Os5+nSG5tkYO6pf3+cn+5v5GCMlCR3smrLZaBLox2Fc8b5hb+t K1jA== X-Forwarded-Encrypted: i=1; AJvYcCWVVelyyMf2uqOLjID3NF/pQd2My3bfG5nFyuQUqvUd4RiZRFQLwJQOJcHs7TMguz2KEXgtD8sqynE19DLhY2TvYHNoQiUppr+16gRq X-Gm-Message-State: AOJu0YxzfGdCxUY74UJllomrsttSnTG2aXKFLrFG7Tk1dIp4K11mEro1 Mr9e3D6GB97HAy2FZYYFRzISfu6hOaxRXRJ/jzgOuYjneMty1NxFnC4xqxdDgxg= X-Received: by 2002:adf:a15a:0:b0:351:d2e6:9296 with SMTP id ffacd0b85a97d-35e8eeff649mr2128140f8f.41.1717604451858; Wed, 05 Jun 2024 09:20:51 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04d9364sm15053643f8f.53.2024.06.05.09.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:20:51 -0700 (PDT) From: Neil Armstrong Date: Wed, 05 Jun 2024 18:20:50 +0200 Subject: [PATCH] ASoC: dt-binding: convert spdif-receiver.txt to dt-schema 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240605-topic-amlogic-upstream-bindings-convert-spdif-receiver-v1-1-262465adbac2@linaro.org> X-B4-Tracking: v=1; b=H4sIAGGQYGYC/x3NQQrDIBCF4auEWXfAShukVyldxHG0A42KY0Ih5 O6Vrh7f5v0HKDdhhcd0QONdVEoeuF4moPeSE6OEYbDG3sxs7thLFcJl/ZQ0dqvaGy8reslBclK kknduHbUGidiYWIaRXLAx+Nk58jDOa+Mo33/4+TrPHwSdUmCIAAAA To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2021; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=BVB9g1nRXbxU1lO4q1xV+zm4LTA+/Q8NvRX9HKaO8Dw=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmYJBi0Poo0A9N6RiOwA403jPcyu6z+kNZ/o9krTJy C7MM++2JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZmCQYgAKCRB33NvayMhJ0T03EA CXzdZk6QugZiahTLIlDl9oOe5Hnt/sU6YHMNDGawQwyIpCPltv8nBJlobK6/4T2asi4HpTAe9mtJ3h x8zYFiYz0qJ1BixHlUBwC+0EMWvXpdES+T5I2WxylAKcbWm70KivaVUonO0UH1itUAgU722Qijl6Qj FgKXz9CZAneOXZ25V4C25U+gbnQEVkobK/GtgWZGfaJypTrs+1+fXeKkGLxoDIMOaUSIPBwFI61BFZ 0m4b3Mh+7+IkG+fGoHtP1K/2fI43/9VkWcRbbAKQaUmUGua7QS3TJPmo8xBYNZrHmtbIpPKC/t0FEQ fR+7IiMrVxotfwJ/yYfSqm7hNzq/6gbBssPqgcKT+LaehSG82e/Di7tM0259yY/IHgC3AXJR4M6j/G QUH0Wu62FTUFkOCooA93i+UZjanE7p+rUS67fai+Ozw7lg5uLHS5cXvh35v9JSF79x7YbAbNWCHQcp D2a28O/3GaI30cXw0kZpVR44IHAow9ez4a78tlwkJiJeiSuUlbdTxpHWWlkVI2jcdtO/o3fxAtLZNu yxTe44vncBIZw1MSpZJCLQ20LpsBxjr92pTIIkuIeBj2E7/1hXpZIqcFDamCdmC1dkOKb3wc21F9sG F9lY/VLzHBZvtRA6ZRyE1EXNi7tIgj0VhQDS8pothNljCckro+En+asOE6oA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Convert text bindings to dt-schema format for the Dummy SPDIF receiver 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