Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp598168rdd; Tue, 9 Jan 2024 13:38:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpC83OeYBnvvk6vnDW3MDuwhgDSExd7TPyre83rtzlgQuPH96bi5UAfJQepdG7Qxp5m7Z+ X-Received: by 2002:a17:902:a381:b0:1d4:dff2:c62c with SMTP id x1-20020a170902a38100b001d4dff2c62cmr29864pla.12.1704836311694; Tue, 09 Jan 2024 13:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704836311; cv=none; d=google.com; s=arc-20160816; b=PLVKy/tb5IYVG3yupEUquSC5+KttxDp+UNuX1Kf2aWZB6rHkO7n3wUYFctNoxWJecj A1HjkcTttLoeOpdPV9AzLQR8NGLw4+t5lFG1n2V/04kVTN9yS6oSpw0RJfPj0HIEhYk4 eZHFTEQBAhyEXKj12DtsVG5xf+djN7vbI91dtOoXAwrHC2SzVMflHsqLvTul9P52cfnr zzzJwoN0HKkaskqMBAnJgSApT/Hy//XqKQpyCRqstpbf0vrDyQPDbRVOSUCTTP2GCYg0 K7aar0+xwWEWPKiswqRBtE4/X8ff2X8U9qGWyz3RvpELYDbI6o8z3A2GZR9mDpQBkfGf B+GA== ARC-Message-Signature: i=1; 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=A5G3kOVOJ3YPkVZuV6/moOWckQ3gnsEMdzz/Vic7oRo=; fh=IiBOHzvJhLkWFFK1AYmqhtGrjARhnUjho+HxkENoP3M=; b=tuICznLwTdLXS5dxiBMzOHqE3F9bK4SZbHyHmaODy7E0M2V9hTHw6aEdsYhBV9ywRj E8o9biToKLncRoZwuTXWl6fGMqMuojudgFf/HG8YMbTCDT03Xund9Eyug3pwkG45p8A/ ft7WVuYJzTX0r2XnSGUznjaWr1N0X95ZkfcOyiendOvllpmk1yObR2CytrVSNy00CArM xTcbBe88+ztOzTbk31dZxVMtDsZhPt5c8247d9sVNKcTCWk27L1xksQIn4GmLD2P9Ff7 5FWe9hWCHQHtYyU187UHdm3r/anV6HCWyoTker4E7YZb2Nz94zZZeUDAvzWYvlvxC8jB c8rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b27uJhjV; spf=pass (google.com: domain of linux-kernel+bounces-21426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j15-20020a170902da8f00b001d4be3e59f3si2252220plx.10.2024.01.09.13.38.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 13:38:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b27uJhjV; spf=pass (google.com: domain of linux-kernel+bounces-21426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21426-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E646D285D52 for ; Tue, 9 Jan 2024 21:38:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A52143DBA4; Tue, 9 Jan 2024 21:38:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b27uJhjV" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.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 729143DB84 for ; Tue, 9 Jan 2024 21:38:17 +0000 (UTC) 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-ej1-f46.google.com with SMTP id a640c23a62f3a-a294295dda3so394760366b.0 for ; Tue, 09 Jan 2024 13:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704836296; x=1705441096; 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=A5G3kOVOJ3YPkVZuV6/moOWckQ3gnsEMdzz/Vic7oRo=; b=b27uJhjVnSbkpq4sw6ycBiWAcU0t46PWMGyqUm/FqJKSOZfSU0JFN5h4zdh+enaWWj cvegy78/gqpr3LeQSq5KUp1ft+NgZn+Vf/0NUltrIz5meV4cITIFqrMiaCJn6M4rokUZ W5vvISyaWjfwkb65pbobiwi/yD52IlQZfVg8c0SSurQ0a25IBhT46rAhaHNIA8pJQfed ACrLjYWoL7Mxe2UVTDOFQVionzBD3XFwAHqNMosx77s7WWYDgI511j2x+4IHE1j3zYRx jWfJo0yqYNOgjcAjWkVAwYlSVLzZhT0GbfGK8udHYmzeJdcmWK2jHXRQ0NV2EPdFI9KQ r8Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704836296; x=1705441096; 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=A5G3kOVOJ3YPkVZuV6/moOWckQ3gnsEMdzz/Vic7oRo=; b=pbH1KsUCcv3bn38hWUUciJ4ed7O0pblHaJxpIF03e/ydP1XBcIesFNfiq72k6vgqam LQrX/gF39deSDelwoAtSy5mM/6gboNParGRsOfsq4ylyFsFWCWe5xZcPo7+xzQuutd5k u7gT9lNnlUVXj/ywWPtzIp9naLANMbi1Ou7wEmU3l24WbjTOxMkenhzXYuqsTPFhF6Jl OszLYSqnq0ratJYV2srYUZi2XQwIasiT+5pXbgWhxibkcLKOzzeI5la3XuG9Tkj4pPVf /4ya5gm03p/P/4onwnti42FqQ0rsCxkKQCPo7fUPlFX4en/I20yNeKEsl8qWmX1bUNA0 Uzcw== X-Gm-Message-State: AOJu0YzWDtTpxBwhu/hw7lgbchzTdq8gPDVAwtZlBMF4lSyg95lZKU5p 9nl4gcI1FKWNmlTUmVw5zdyoESaqtbOQRw== X-Received: by 2002:a17:906:39c1:b0:a28:c06d:2e12 with SMTP id i1-20020a17090639c100b00a28c06d2e12mr28962eje.21.1704836295878; Tue, 09 Jan 2024 13:38:15 -0800 (PST) Received: from krzk-bin.. ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id lf11-20020a170907174b00b00a26ac5e3683sm1420197ejc.100.2024.01.09.13.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 13:38:15 -0800 (PST) From: Krzysztof Kozlowski To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jerome Brunet , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] ASoC: dt-bindings: dai-common: Narrow possible sound-dai-cells Date: Tue, 9 Jan 2024 22:38:12 +0100 Message-Id: <20240109213812.558492-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.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 Instead of accepting any value for sound-dai-cells, the common DAI properties schema should narrow them to sane choice. Signed-off-by: Krzysztof Kozlowski --- Mostly sound-dai-cells are 0 or 1, but Documentation/devicetree/bindings/sound/amlogic,aiu.yaml has value of 2. --- Documentation/devicetree/bindings/sound/dai-common.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/dai-common.yaml b/Documentation/devicetree/bindings/sound/dai-common.yaml index 1aed2f0f1775..6db35887cbe6 100644 --- a/Documentation/devicetree/bindings/sound/dai-common.yaml +++ b/Documentation/devicetree/bindings/sound/dai-common.yaml @@ -13,6 +13,7 @@ allOf: - $ref: component-common.yaml# properties: - '#sound-dai-cells': true + '#sound-dai-cells': + enum: [0, 1, 2] additionalProperties: true -- 2.34.1