From patchwork Fri Nov 11 11:35:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 623864 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB5AFC433FE for ; Fri, 11 Nov 2022 11:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233491AbiKKLhN (ORCPT ); Fri, 11 Nov 2022 06:37:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbiKKLgm (ORCPT ); Fri, 11 Nov 2022 06:36:42 -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 1F07A7B20D for ; Fri, 11 Nov 2022 03:36:20 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id be13so7938497lfb.4 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=4+DBxwlSpUyj8lGt+IYb/lufNjAzDcecLdKZpM26350=; b=xVCLNlN9wYe+LKsEBRt77PDlL/q8IAYF63JYB5lSSfMFs84t+7wF58gGCa/h9z81Xa 2U0T8RbljMgHOwvugy2GY7dPPrjnhD9j7mUacdYMcZeS7/3II5eQ/ygKB3bNAtqhLyE+ +T0VxAZoWW8T1QN6NSsd66Cz0fA8ORrYx3Hlx1x04L070iJb1LhD/bTPrpdkzUgnAJi9 lv6dvkp20qsj+JrFUekCd1oH1DCybnMVvd+GL+fzgMSPvYPKQ4A41IyqhPJJUgQnXf71 5yBDqGUTGX2ANXztXXctpT6I4yNpTr6cXL6W6IlQebPwqLWj4ZJg5dimgtf3vCbc4Pu1 TOWA== 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=4+DBxwlSpUyj8lGt+IYb/lufNjAzDcecLdKZpM26350=; b=Vc/KvZ5lgnu4WMQs35Ke/9fa879tJyOKg69jiuxAb+pHORwoa0eBl5qXijlYs8oseq 31vY/PTbjKh9fJWHULvJoiSS0x0GN+DsXFWq3f3FRYBuo2d9iBQfKAuMIe3dbHK5zP9G Kvz8YxY+jjsMI85KXd63k3p7T6xplr8Z2AGwP1rg7a1IpkVa0iPMIcli325EQ7sXi2KG fhF6FyfFGdE9+4YkO843LGXFv+HTws1P3TR1Yd/jw6eZvHv8LbZpL95KFhQu+bXzEYZr m/yfGNllvxqrKmv6y3YsFGYCrJNpvhBYi/jbzwCx3VMvTRhgvvQgqHXvjqC84YJoza+h rFyQ== X-Gm-Message-State: ANoB5pkkXDwDVVZStk/Z6Tui1KsfimI4UhVj4dqGlQ1217jgdfD/9bSD ibbYV1qG6g80lIkqWYTcch2Sfw== X-Google-Smtp-Source: AA0mqf7ZN5G00D3X6MrSb4PtP9e42Wf0Nocjk8XCHEej02zqN2gKndXuNJE3QsxPmkI8wRnr0T37pw== X-Received: by 2002:a05:6512:3e1a:b0:4b0:25f9:14e6 with SMTP id i26-20020a0565123e1a00b004b025f914e6mr577507lfv.604.1668166580125; Fri, 11 Nov 2022 03:36:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:36:19 -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 10/10] ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node Date: Fri, 11 Nov 2022 12:35:47 +0100 Message-Id: <20221111113547.100442-11-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On SM8450 and SC8280XP, the Q6APM is a bit different: 1. It is used as a platform DAI link, so it needs #sound-dai-cells. 2. It has two DAI children, so add new "bedais" node. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/qcom,q6apm.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml index 7acb832aa557..cd434e8268ce 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml @@ -18,14 +18,24 @@ properties: enum: - qcom,q6apm + bedais: + type: object + $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + dais: type: object $ref: /schemas/sound/qcom,q6apm-dai.yaml# unevaluatedProperties: false description: Qualcomm DSP audio ports + '#sound-dai-cells': + const: 0 + required: - compatible + - bedais - dais unevaluatedProperties: false @@ -41,11 +51,17 @@ examples: service@1 { reg = ; compatible = "qcom,q6apm"; + #sound-dai-cells = <0>; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; dais { compatible = "qcom,q6apm-dais"; iommus = <&apps_smmu 0x1801 0x0>; }; + + bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; }; };