From patchwork Wed Sep 15 13:13:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 513085 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA2FBC433F5 for ; Wed, 15 Sep 2021 13:19:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E6006127B for ; Wed, 15 Sep 2021 13:19:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2E6006127B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BEC1B182F; Wed, 15 Sep 2021 15:18:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BEC1B182F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1631711977; bh=FTNshx8mgD/4dsjBE7iHgoCsCH/9Xhlk/9MW2GTlrRw=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=YLvthYKx1QPtt+4Lp3EHEzWywYFP4QhVhwLUPCUQtctvlyNmUPHU8zylmRJMrNFX9 JsU4DbU9vUSQh4R7q6l1qdWINB16x6OtceK+X564ALHr8+UXsCRgdTNhPZ5cmWhmx5 cn/CLECdF3nfAEYKIDPCEI73UmVbDcv3rA8ua540= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id EED84F80553; Wed, 15 Sep 2021 15:15:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2D4F6F80528; Wed, 15 Sep 2021 15:15:07 +0200 (CEST) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5D388F804EC for ; Wed, 15 Sep 2021 15:14:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5D388F804EC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VKAKkRSc" Received: by mail-wr1-x42f.google.com with SMTP id d21so3807332wra.12 for ; Wed, 15 Sep 2021 06:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=VKAKkRScP2Ss7XNPItGNsO1kHw6FNFTif5cWTVXhySk5F6VRJ+fLUog7QgeiShPYUO mUGT7+IkarbckNzxoqp1V70mN1dB76PTVj5vvR1h3zV/4NX0U2MtxYAHauRfwPOFaiwE csDWwu6irQRRt0n7bvz0AkWEPP0YzHgVGhXJAOm0akilJsumku1paDzbNAbtH0CHT9bz uThRfPR306qXDNCp3JOpFADItDX7fi0XcFQK1psecoQQfiLRu9Z7gQDPiiUJIBj79rN3 DRv8OYFTlWjlCeEoErQq1qkR/sz9ICbFKwZdQFYwXABSA6XYhBjgnOjTENtQdYoXk0uc WlEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=CJVLA0ynY+hKrKHBYl5CVWUjsFoisAM/iezjIzT3IuJA8sUgtYYb4h7Gcj5wls2eet jKIXtX6Pn5mUpiBUyu9Q4/i+nK4Y0fzXMptTFugaLouxmfgq9ZmQBSe3ZMM65Mv0u4DH CNvnyVrziIgoajn4sUqAMPfRt/CgBykenSpWTQaM0mmkwEJ5MssDh0WSgYP/PV2Bh89p BxDHbU18gXISqzuGHpQyGcguccCWj9art0Wgq5il33Gnd+S928Tc08rPX2KGV+ug+hAI XozVhlMbHAm0flSpjBBXnO56fwobSywEYFhispXWQ45RgfRwx/UKvKapmahY36LKzM/z JE5w== X-Gm-Message-State: AOAM531q+Hin8kIEKE+kLfXGy0SJduqqu3DbLtfSoBzqip5l2QXkUzil B7zXl5hb43kCdcI1GY3IddsQYg== X-Google-Smtp-Source: ABdhPJzRvVjmGkM2gGD4eHqpCGRKQ+3zxZuPZt2KTU+h45aC3THfvytrxcYbt4QFm2YyCW6n7kE+Ag== X-Received: by 2002:adf:c550:: with SMTP id s16mr5138535wrf.25.1631711694296; Wed, 15 Sep 2021 06:14:54 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id m29sm14501717wrb.89.2021.09.15.06.14.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 06:14:53 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Subject: [PATCH v6 11/22] ASoC: dt-bindings: q6dsp: add q6apm-lpass-dai compatible Date: Wed, 15 Sep 2021 14:13:22 +0100 Message-Id: <20210915131333.19047-12-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210915131333.19047-1-srinivas.kandagatla@linaro.org> References: <20210915131333.19047-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.de, plai@codeaurora.org, pierre-louis.bossart@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" on AudioReach audio Framework access to LPASS ports is via Q6APM(Audio Process Manager) service, so add a dedicated compatible string for this. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../sound/qcom,q6dsp-lpass-ports.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index e6148c17419b..dc7fba7b92d5 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -16,6 +16,7 @@ properties: compatible: enum: - qcom,q6afe-dais + - qcom,q6apm-lpass-dais reg: maxItems: 1 @@ -169,6 +170,32 @@ examples: #size-cells = <0>; #sound-dai-cells = <1>; + dai@22 { + reg = ; + qcom,sd-lines = <0 1 2 3>; + }; + }; + }; + }; + - | + #include + gpr { + compatible = "qcom,gpr"; + #address-cells = <1>; + #size-cells = <0>; + qcom,domain = ; + service@1 { + compatible = "qcom,q6apm"; + reg = ; + #address-cells = <1>; + #size-cells = <0>; + q6apmdai@1 { + compatible = "qcom,q6apm-lpass-dais"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + dai@22 { reg = ; qcom,sd-lines = <0 1 2 3>;