From patchwork Tue Nov 15 12:02:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20339 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2679653wru; Tue, 15 Nov 2022 04:05:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7oA/bovwQsoy/E13/dV9YPy1Lb4Vh4g4Z/6S+FUHRnGMTTcglRBkP5h70iIL4kf3mbR/oi X-Received: by 2002:a50:9e8e:0:b0:467:4595:fc5c with SMTP id a14-20020a509e8e000000b004674595fc5cmr14504024edf.114.1668513959161; Tue, 15 Nov 2022 04:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668513959; cv=none; d=google.com; s=arc-20160816; b=ea+WAu2N4/FrhqadS556LOA9773WRqmde2zKu7aud7QRfZV9WqO1YHZjKXQw9UFIC4 1cz0pDmSDJJo1f1Udn7B4a2u2szOdyjSJWoukLkTEq6dONFK+VefBXPaaOOqCYBIcl9T o5rXL9KlWj9VmxLhvYlFXyfewY/0sWJN5ZjMaVF4S5baT1eYxJ9PcSTN4Fi1RsSlLY98 bgxoVOkMipefr67X54zYw/ZunoBNOxVozv7B+oyEfzSL1u2NHfYoZSaLW+HPFnGigprp sMgQoxhUHvsWDLwFJCGDMyuI2cgKRaJfgZJJYoyUQLr3mxUwDn8G1Uh3nEQbh78Kca1T pZEg== 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=zaNhfP/nOLQ48+6TzTDF7R1fJQ8t4XkKM7Atq6L3Heg=; b=kSojRtjZhUIy/BA6GxddPQZnRR3gMvKn58xHXnLy1PEv2lLUh+nJtWi5jauaZUfvVG UYn3JhVO62hWNUevXiYjbcBCrIJmvMa5oyTOoj1K1Zzi4uXw9SR80dB8skMQ7ksU07/H dPcRwwXQyxpIZ2mGNqYUF9ac5AamCVLvWiapOdqgXE5ZWv+ol9zJi7XAZC+82FOpcx71 SB3T8C7Z/of7qrscuegoHLXSDGvts5K9aAElUO5nd/M7dr3FFTmmB9lTl4ssFoD4RHSS iZYL5AhBwgvAB/zEdpeSjJ+vsg2uAgQq/7Tke44wMKZ4P9PrIJe0uuQnlYirZ7c4gaBe X+zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HhMszbCi; 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 g16-20020a056402321000b00461f7a7a797si11426140eda.292.2022.11.15.04.05.33; Tue, 15 Nov 2022 04:05: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=HhMszbCi; 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 S238223AbiKOMEJ (ORCPT + 99 others); Tue, 15 Nov 2022 07:04:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237900AbiKOMDg (ORCPT ); Tue, 15 Nov 2022 07:03:36 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 883D82936B for ; Tue, 15 Nov 2022 04:03:01 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id p8so24058591lfu.11 for ; Tue, 15 Nov 2022 04:03:01 -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=zaNhfP/nOLQ48+6TzTDF7R1fJQ8t4XkKM7Atq6L3Heg=; b=HhMszbCidv1BjEeyqH+iNPff0dj/tzcenSFpriNx7CLV7PYZcTWKIBiTzXwk/EFCsp EjH4nFNH23GhDS2LQpa3VgHid3bsULTh7Lg4AZsAVoniu2iAB4ZDu9+CrqsqZznzVlFE CRp9DQL9qlF57NJCWaOva57ewkY5k6csI80ofKF31GymsI4VipYOkKmDKjuxSDm2i4FR G3SpZ5cnGmwUzEcn9jaf103ccLQUdiZeW/w9yT/O3+ZC3ACpYIWi58VtTYFPDlM0tBX7 KZ9XcDCMr4qMVYILY3MAuaL4Ml5s1bzPlIJhg0hOK6rZcWbZoCFVQ1vuakZtLCsbp5UE kM2g== 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=zaNhfP/nOLQ48+6TzTDF7R1fJQ8t4XkKM7Atq6L3Heg=; b=y7Wr7sf8aFoUEI+LQnrq2ANieZ2jHbYGEBB/s70nKp8FPVMO4ft4fckQVGgKV7Ckps f02IKlEkwL3zDbALDj8d1H0IHtLtwKLaZomAXGhK1oAckPXIxccKLLiKgrDr+TvDNkxj OsYzbWUsxZMRNectCf/YBvFKi8viRMnr3SNy0gq0NsyPeoedtH1pVQc2Hxkok4oGiWjz 68uvvOtbBUmyxjkdBQbEXfmQ6mEkxXPuekugXjxydZ3FkzR2k9w5xWi90xyGEAURcdug +b5DZqstzqGO0DSf7EpfAe7YFc+Rfzck9iH/NZi1+f3Yf3+nVosMv3upUh3dcLrtMVJi 0/5g== X-Gm-Message-State: ANoB5plt/i3dLs+1tZJJFNjlC8K1Y/RxMHDIRXQP6ziLXKxXSUZlfdfS Rqvv1Yf2QO4q54PPw0vb+M86xQ== X-Received: by 2002:ac2:4f15:0:b0:4ad:23ac:94ef with SMTP id k21-20020ac24f15000000b004ad23ac94efmr5961832lfr.510.1668513781099; Tue, 15 Nov 2022 04:03:01 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:03:00 -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 11/11] ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node Date: Tue, 15 Nov 2022 13:02:35 +0100 Message-Id: <20221115120235.167812-12-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?1749563693086151766?= X-GMAIL-MSGID: =?utf-8?q?1749563693086151766?= 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 Reviewed-by: Rob Herring --- Cc: quic_srivasam@quicinc.com Cc: quic_plai@quicinc.com --- .../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>; + }; }; };