Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2001368rwb; Fri, 11 Nov 2022 03:44:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf45lM0GH1dt8/xyOIMEtYvVTGY36t/lAM41iCiStaTcffZhusUQms+uajdFqrkaoXfDntQe X-Received: by 2002:a05:6402:b61:b0:461:ed40:c2f2 with SMTP id cb1-20020a0564020b6100b00461ed40c2f2mr1039989edb.404.1668167048291; Fri, 11 Nov 2022 03:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668167048; cv=none; d=google.com; s=arc-20160816; b=wzGR17Bl06u5telGCVmhJyg2pT2asm/JFnekzVh4qczm6neJPvpP4Up69rtSKXSScq z0MW7bNk7Kwt0lWo5x2gXiQ4uLtQgUkBSFdZRKnVw9t7e0CjDbfO8n6wh/nWCQ3TF6Bs NXgEPRrw0xu/2kcp/2xzFho6tqIKRR8XoBWgAd4YDuhIiITJGsT5BIT439nkHH6HaF3O b/UH4QELayqniF7Q0FTCac144VkmUYHCLir+FdiB4COxtdTGfOQwInsP1ZigW885+fUZ fThD6GkyRu+wJlpe+c66gemzfSj+MloXELAFwmVELYrF0OOvdz3MIZkNuTzpMhCw2C6v Fu2g== 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=4+DBxwlSpUyj8lGt+IYb/lufNjAzDcecLdKZpM26350=; b=ZtefruRytkepJrT9v45Rsg+jZtMP2SSFAvE8WOTa+S040sakbALWbIhyJh+uo60XCb Cn6JUJz14APYcoInCtijizE21qhzoR2uUxaZeDIZfN/Ke7EBsKlDmNH6DEL3Z2qk4zTn WyM4/hMGnROvqeIbucZGgL2ECvKOax8LgwaHNdyCtwSDSbM+imWMyK17WVEInjvWWcj3 mgZfdFsp48pyLd/6SE9TIjVo1dy4n54i83H1+/xQMHSk0U5noAw6QYpBLyJPPn3XhtoH eBS8n+YLnQzh2y1WGINM4PwoF8z6UzBJhDTwDmSYF9EkAcoisO4wGXZ4J5benxzKFleN dfNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xVCLNlN9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a50c303000000b00463817b0ba1si1977145edb.163.2022.11.11.03.43.46; Fri, 11 Nov 2022 03:44:08 -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=xVCLNlN9; 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 S233213AbiKKLhW (ORCPT + 93 others); Fri, 11 Nov 2022 06:37:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbiKKLgt (ORCPT ); Fri, 11 Nov 2022 06:36:49 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 288807E983 for ; Fri, 11 Nov 2022 03:36:22 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id p8so7886852lfu.11 for ; Fri, 11 Nov 2022 03:36:22 -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=y0xrhK7vipmwDPzKSj7PdCRpuNW71RTx33lmvWgdjgsyeI5mrgdRUDCvCv2vp9RyxN ui68jx2XSgjTveBVwoZtO8NfdO0lIcJArC3+8k3X+6j5Yif80dA6ns7QBCSgAmspz8Dh PhrcFAdBAhBfCL3HR8YFppjMzZ/ZkWGfYCUbsJnBDCjNlmo1NB/xDesisoe1kq5HeZcG cJBfLPm6MeNP8mVRTxHwRTYW3OHdBQRFOGJGKLbqf+DwEz+55r9kelTslfF3YQVMlERV dteFodbTe+Nk/GDl8Z5/p7IxCmPXo97hfZhOKiy0/SwgWQbfdQEhI80nEz1chtLNtGlB O/oA== X-Gm-Message-State: ANoB5pmFY5ULZPE/mg4dNYOlgbCQB+L5r98WoFJ/2L/cPPs6Hgk6668c M5qADEFHf/HObhSMo/IwBfL44w== 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 Content-Transfer-Encoding: 8bit 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 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>; + }; }; }; -- 2.34.1