From patchwork Mon Sep 27 13:55:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 514704 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp4144364jao; Mon, 27 Sep 2021 06:56:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCyv7S1OT0KT2gBppqHAUD2LNSRLew4O/QGEWPZNGOuAss8/fmRWQ4t4zbqThnRou0Q4Vh X-Received: by 2002:a17:902:ba8d:b0:13d:cb44:369c with SMTP id k13-20020a170902ba8d00b0013dcb44369cmr160518pls.40.1632751002634; Mon, 27 Sep 2021 06:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751002; cv=none; d=google.com; s=arc-20160816; b=gbBCDZldfpNaE1ZSYBHL9SdJulYDRikDC9JuzVNyXtIbXpQQxeZshoNt05KoG/oxvG UNj7zPel5flPXgrl9zZDIXNeB9Ctma4vuh0Mm7ixpIrid1ZT1FbzdsOpFrPM3U3xfzra Dp0RyndphFZuhvG6ySuvWeIrgQcpnQNfN0tYfvFQ6aJYge1aQzkE8k2LuIwlYf9phv0G 5NuThzxFltVb2oV72k3icA3g6d4Co56W0tJARvaSsUl6n/oLrP14pwkkdhu/W4Yt+y9Y ZJM0BdkRUSJ6ePtQxOkRVwuQ1SxH9xD5bpsJ1WEVB4ZwCacUtnAvuYB+qi91LQiXguN8 xgmw== 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=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=bCXNqmK/xrKVStMLAqelwhnRE3MWSPGfUrhR/aUNMKtVylzZSMfU/5UipLv7jpSdJW 6iKxq4gCMO356clq/7PcqUUjyuuA7VNDmETB5LIJqxpe1nuRgcmWidZoOyTyQyjjjQwg imQQDbi8j6Es/iI3bYLdHK4GUdquux5kcZ3KQG5QdQ+lMoeEyT3QIYHGWb33lkhehcBZ wJifU5xKjtZMrPDeppVVLExV5eptR9awBtUWRlaFSXdlsRItm7zCqkt0DJLmELzliuXr BNzfq5v8X7lMtdSyRnAeVRhDX45pkJVAEEfVT4XqZYC33Kw6F+EHsGppViwtqzzHgv6O 4+2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aD4CvHR+; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx2si22295696pjb.61.2021.09.27.06.56.42; Mon, 27 Sep 2021 06:56:42 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aD4CvHR+; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S234661AbhI0N6R (ORCPT + 7 others); Mon, 27 Sep 2021 09:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234690AbhI0N6Q (ORCPT ); Mon, 27 Sep 2021 09:58:16 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCB1C061575 for ; Mon, 27 Sep 2021 06:56:38 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id d6so51970965wrc.11 for ; Mon, 27 Sep 2021 06:56:38 -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=aD4CvHR+ZQkz5XAu0OSPF4jHMzIIAjOJIpI8+E8VvLfsjwiXTzETWzSI/VPbF4rfJi 2tBr0a6hoMbGlToBypfkItdLKZxgP9xUtudU3R0mwRZf+L0s5XiOC+Dcp3sxBxWQnTJL 5Yx6mx0SRoyPv4Ndx9OCVjlXdQjLK7EGoMuh9wEu/ytPwTStgJ4b2+GhsM+EBaLeD0H6 DdmULyIUp+LNh7i3C86ViHINrXtqg+gp7gbeBRk9TSo7ve9VBWahdsdI7pU7TbAlLLgy WAO5pUV00ePKVxD5vU4i63aBsswUDHOPuGoyVcQmIf1ENrx08eowXb4Een4XbTIbKymY q2nQ== 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=VXTWVLFdOKIOClD6pwHP2qioazpvnfAYmbv3FOa2zqXmz3a68dWVBigzYdjBohIvfP PZQ8/6n+tFJT7/1LdHTAfewLnOLwkKtjFuU2qFqwL+TTUhiWqIQE77AeenZpw5l2z9S8 NG6lODGUpPDR57PENNGNW/KIOodTi4RYUYHEKOkWeXj9qwHhhaji/A6DKHrHLZXqXZ0+ sGWi7OBTrxG/5+jP+ebjK5D6lZyAtj+rtlplEcew9Iwr+jI7Y37elgxkfmyVuacGNdi3 8ZKW3Oi40ZIZ7wJD7KG2EKL0y3P5Q5VpRqu/L5J2sJOyY8FhDvvzE2EcU3UqgdXXG4df ro6Q== X-Gm-Message-State: AOAM531Nz/Cc40OHgsjyUQvy7E8nYGlXxvyHWWlCTAJzXE89+dPygX0c 42y9COMycceojOAz1qNtXNReVErmyKHC5A== X-Received: by 2002:adf:ea45:: with SMTP id j5mr15408688wrn.291.1632750996922; Mon, 27 Sep 2021 06:56:36 -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 b7sm20485606wrm.9.2021.09.27.06.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 06:56:36 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Cc: plai@codeaurora.org, pierre-louis.bossart@linux.intel.com, tiwai@suse.de, devicetree@vger.kernel.org, perex@perex.cz, alsa-devel@alsa-project.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, Srinivas Kandagatla Subject: [PATCH v8 11/22] ASoC: dt-bindings: q6dsp: add q6apm-lpass-dai compatible Date: Mon, 27 Sep 2021 14:55:48 +0100 Message-Id: <20210927135559.738-12-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210927135559.738-1-srinivas.kandagatla@linaro.org> References: <20210927135559.738-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.21.0 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>;