From patchwork Fri Nov 11 11:35:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 18693 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp688092wru; Fri, 11 Nov 2022 03:37:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ay7C4aH2dvCClPmrYDaVGRW7j6qia19d6QY1pM7861/KSRKiOB+VnPNPUhfqYO8wx+Fgs X-Received: by 2002:a63:1601:0:b0:470:399:c953 with SMTP id w1-20020a631601000000b004700399c953mr1281219pgl.263.1668166679431; Fri, 11 Nov 2022 03:37:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668166679; cv=none; d=google.com; s=arc-20160816; b=fy8De9/YCmMhaFHTpV7kojF9Tg0s2nvZLz6zWLyOa0m9jjXNGl03pRZXR/2yQke7pQ A6gWT/KqSd1RqCsHH0P/0tuNHbVQqpLxfXJInqcwYtg3EibZPZMzFZy6rZmx+Goia1QJ CR+iX3Bc+v36OScGrHZ7KBYld3+fjV6ZrnB5w7j1XjxKSuVQGNSiSPqiG7lqIW9/7DZw kxM9jt+2wlm5lB0U4xAI3384mrnXKvW8RWH8lZfhBNCMVgFZfAGkuUjHoMXqRQLOFMEj 2TrjBNVZfCVcKjKJP0SsKACgCKzWoDuP6+YQ1WFLUd3I9xbEj4kA+dBxspPq9B6xWSrz nsBA== 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=IE0XX0QezEMZ/aKTh/HTXAG3MFrHP8nMS3WLzX4ya5U=; b=SDICTdvKI4oTWtUOPQaBYmWkM5GvhE4+xtPkX5CJUdJdkRKDEW+XRK2piBhN5Y+NJk D7bZFRuTteu1Hjj464MSyn2sZGlWNLIAqeCg+I9RlKUkFkAp8vQekLnwrwYHgLeBtqo9 EQ789YtEY4e7FW1eKM/yyWrS1wxb0cqKSsWXn+/loT0tm7isiI+VW3nQ9j1ltQeFcVcl Lnz17a+6X6o1gnSbuM1LneVk7ynCYdm2H2HdgY3IDw/BR+RGOgRbTZeWdIgy7b3uAj1I arI1yLyKoB2Khf8kQ6S0D7Wy203K8zv2PgNjcy0TdODJAz3kORvGPe+z8OuQfufHlWWP Kt2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s2gI4VxU; 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 k6-20020a17090a910600b00212dc2e1abesi2226360pjo.47.2022.11.11.03.37.45; Fri, 11 Nov 2022 03:37:59 -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=s2gI4VxU; 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 S231167AbiKKLhR (ORCPT + 99 others); Fri, 11 Nov 2022 06:37:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233717AbiKKLgl (ORCPT ); Fri, 11 Nov 2022 06:36:41 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C4C97F57F for ; Fri, 11 Nov 2022 03:36:20 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id j16so7879912lfe.12 for ; Fri, 11 Nov 2022 03:36:20 -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=IE0XX0QezEMZ/aKTh/HTXAG3MFrHP8nMS3WLzX4ya5U=; b=s2gI4VxUfsIKi0pZhF8MIqrbWNCRSvmA7zTOsT2Vi56Km8Hv93CZubsQjOikGkw0Wg 9zkS5VWib0yrQg5nMWImgwH5ZCZ+biHj+ayJLw4m3VjPx+EBus/mYaPI4myaYuA89if6 qXJjpQcXUCJ6NllRC+dSxXhOSNtosHTJyFpcLrCL/frgy4GhO3SkUPLdPtHiaMDXw1cn 11Vbyx806/xRyLzJZVoVsWPcfPvtjtQJshR+HfSIG1ji0K14Bj83yf0RwySzaH3eLIQL 8xvMkBEWTz1+BPLIAAS+kd34b/wxoKW35i2yMi9GW4CCY0pHLP8hEZ06/WM0cVKqOoYj HmiQ== 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=IE0XX0QezEMZ/aKTh/HTXAG3MFrHP8nMS3WLzX4ya5U=; b=KVUAoxgSd9Tk5r3HqqWCToL4DRCj8cTMAuceXIGypFE+aAzrELf5TSUINVmIqUzMdb LVAlJpZYsFdh64Gfj8ZGvqkfRTt/k83YL3Kg09pyKE7cZ7vA3EY5U2P7TQSR2KviC8O1 G6gRlQl/bLxfFS1VajWFqatzqR8GP23ms0bFJ7Vmf6SR6K/x3YWTNXJozEqqaZy9RsGj FpJiUjce/sNC16pAoZ2lgEH6bY+Qas7Q/Nk8FujKyFiq4a+FrSMfp8H54ZpBvgcSyE5/ //1InBquXOk9EpGRVdFJmcxHP1IFRaWJlwJX+9mOdgS1xZqpodh7uInGM4ZxfM+WiVds +eyQ== X-Gm-Message-State: ANoB5pnLKC1WJxIpUenvPRPaEKSmsxpwitymJ6OIn7zZ1lLAJ9RKF02y 9zGD1XABndiAPsMGCn//chshqQ== X-Received: by 2002:ac2:5ded:0:b0:4a2:b387:8b19 with SMTP id z13-20020ac25ded000000b004a2b3878b19mr568219lfq.284.1668166578907; Fri, 11 Nov 2022 03:36:18 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id bi30-20020a0565120e9e00b004acb2adfa1fsm274970lfb.307.2022.11.11.03.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:36:18 -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: Patrick Lai , Srinivasa Rao Mandadapu , Krzysztof Kozlowski Subject: [PATCH 09/10] ASoC: dt-bindings: qcom,q6apm-lpass-dais: Split to separate schema Date: Fri, 11 Nov 2022 12:35:46 +0100 Message-Id: <20221111113547.100442-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111113547.100442-1-krzysztof.kozlowski@linaro.org> References: <20221111113547.100442-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?1749199543752175044?= X-GMAIL-MSGID: =?utf-8?q?1749199543752175044?= 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 --- .../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