From patchwork Tue Nov 15 12:02:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20341 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2679757wru; Tue, 15 Nov 2022 04:06:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4rD4vK3aGvuPTcLgrHwCmfncHpaaVPllrxRjOADeycC7E9m+yfgxyCoeG7lHJRfeR1g1k/ X-Received: by 2002:a63:1a52:0:b0:45f:702a:aec2 with SMTP id a18-20020a631a52000000b0045f702aaec2mr15997090pgm.450.1668513969907; Tue, 15 Nov 2022 04:06:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668513969; cv=none; d=google.com; s=arc-20160816; b=FSE22JBMkhOLeAVFNrE7AA1ZCxW9xGRR6KAH5y8EIwb81eTgQFqL6hAWiTtjOmLCT9 YNy+Q/0RYIov0H0con6zMr+hmmab8wawnF27UpEnvQ/IMVu8mbxJMW/AfEHWuqGPobl1 Pa20HBJ/mepiSHxPR51838VzDiapRK4JnVLntCQ1eaG+MQzYuse3ZIwycPPoayIWgBbQ FdGnFH74i15haQmPcl8Py7TRbtfwEb13CtRw2oNSFxhlJlgYthRNh3sMQ6qHsatn1tZx w3Atxsud0QSaHbT8B5PjTgD9aescgc9Pgq95XCA6jK42mSqGct/MuT02nFl1pjfk1x7z N8Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rkOf/mQUlsAzKnqG9ceUWMbAjAhQi8V3atO61+Os6Co=; b=lVc3WenAX9mSz5XybRWT6pKoIHuH1WWDLWkgidpe+eWh9bNZ2Bly0v7B32Aa4sZ2ko 3gTmdhrfpeH/YDuYI4B90ZLPZbg/6n6jvKHI2BpBzgXBhzOjwl4LzsTpKY/a+2R3IkQI QiBYlSo0PfzWWtNEWnFMvafQUYSTDEK2vM34ZuCPuCsIIaOvjcYpby3lJe3uQLV3YVwA BXZDwVtNBrGSbLJOV/CkFySOn8zjdwUKqKQNWBXQuf246bBaFC9aNrjj/EPGmRgfmVZL iZgLMXM0u11MsAf/Wrp3e5MvuEjtmRlk5tTpRtENSDK6RdEC+y6HPUEGRrPSwkbESnbD H2HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=anf744Ex; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a635049000000b0046ff87ea5afsi12033369pgl.451.2022.11.15.04.05.54; Tue, 15 Nov 2022 04:06:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=anf744Ex; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238294AbiKOMED (ORCPT + 99 others); Tue, 15 Nov 2022 07:04:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238136AbiKOMDW (ORCPT ); Tue, 15 Nov 2022 07:03:22 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADA112935C for ; Tue, 15 Nov 2022 04:03:00 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id h12so17202727ljg.9 for ; Tue, 15 Nov 2022 04:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rkOf/mQUlsAzKnqG9ceUWMbAjAhQi8V3atO61+Os6Co=; b=anf744ExR0fZsJ1I1OyvBXNU1H4MLAI7O2S1l1uefyxIpkbuEbViN251I+wha2NBEu wMXyVd/8/HUQOu8O/wOVe26LDSRCRD4pSiP5/+UICaxguM9E19p4okgTjWRNRj7YJomf vPGYjFLmqGBffiECXKg0kucezF7nWUpNe3VO1nnBBbiGcLEvqRiA9Bzc9SnxzpZvUeNT AkBq/dxBdGOyzFURgAzbYYgfLg1FJbPLyfXtmrfmH380IyYqgISaBZGyAtDIZeOQQALy nNMJtsJURx4mIb1SF8JXmasPAfXnwiSKyk9OCJbBNkpWKGnSa8tk3gcQfIaod0Pb1IUJ /imQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rkOf/mQUlsAzKnqG9ceUWMbAjAhQi8V3atO61+Os6Co=; b=r/m3xM+UPK1L1cm74wc6WsB81gM82y7J58Af07B52RFsmckhnMEOKdcDYRWzwPuc6a ruahwi81x99xQDU3Ql3ZqyxURwnnabz8rrdXF4TxuTJrUCSTXSniA5gssb5gcWVAr/SM xomw8AtA7hplpXloh2hXkFote/aUy4KAXGsr1TpbPm3rlEWkvf4XxI4IRXqLZfJdj1SH LJ4mbMUE2PcUSXpWrii4uKsNwibH2xi+WekkH7K2cLxVR2lmKj3PGtXNrC5xAB8YhB8S +AKVb/utAaCG2k/pewS36VUZGUcbPH7WQVvbXcwIxKBfUKCbMgqaA9FjLD8yRrHQmZk+ 6usA== X-Gm-Message-State: ANoB5pmiJDYDukryW6skxvwgkv2B5Hu18PbpTkq5dsPV+DOWxDSO4iRj MUK75TXC8+xJxUAUOp+zPla9VA== X-Received: by 2002:a2e:b706:0:b0:277:d75:f1de with SMTP id j6-20020a2eb706000000b002770d75f1demr6146907ljo.272.1668513778946; Tue, 15 Nov 2022 04:02:58 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i13-20020ac25d2d000000b004b0b2212315sm2176233lfb.121.2022.11.15.04.02.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:02:58 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , quic_srivasam@quicinc.com, quic_plai@quicinc.com Subject: [PATCH v2 10/11] ASoC: dt-bindings: qcom,q6apm-lpass-dais: Split to separate schema Date: Tue, 15 Nov 2022 13:02:34 +0100 Message-Id: <20221115120235.167812-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221115120235.167812-1-krzysztof.kozlowski@linaro.org> References: <20221115120235.167812-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749563704445658409?= X-GMAIL-MSGID: =?utf-8?q?1749563704445658409?= The Qualcomm DSP LPASS Audio DAIs are a bit different than Qualcomm DSP Audio FrontEnd (Q6AFE) DAIs - they do not use children nodes for each DAI. None of other properties from qcom,q6dsp-lpass-ports.yaml apply here as well, so move the qcom,q6apm-lpass-dais compatible to its own binding. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Cc: quic_srivasam@quicinc.com Cc: quic_plai@quicinc.com --- .../bindings/sound/qcom,q6apm-lpass-dais.yaml | 32 +++++++++++++++++++ .../sound/qcom,q6dsp-lpass-ports.yaml | 1 - 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml new file mode 100644 index 000000000000..4b3ce779206b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6apm-lpass-dais.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm DSP LPASS (Low Power Audio SubSystem) Audio Ports + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +properties: + compatible: + enum: + - qcom,q6apm-lpass-dais + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + dais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index b202692f1756..d8ebf2e528d2 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -16,7 +16,6 @@ properties: compatible: enum: - qcom,q6afe-dais - - qcom,q6apm-lpass-dais '#sound-dai-cells': const: 1