From patchwork Fri Sep 3 11:20: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: 506517 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp906613jai; Fri, 3 Sep 2021 04:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRHfNmdSnAXYAALOXv1QMMjVynWjOD3aekfM2hkRYiXjPRytlcav6hiFdGTzP6eyToB/ZC X-Received: by 2002:a05:6638:34a6:: with SMTP id t38mr2214054jal.19.1630668115232; Fri, 03 Sep 2021 04:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630668115; cv=none; d=google.com; s=arc-20160816; b=lfxC3eEeSyG4NB96OA+TouYuD97qG3YnaWfZNTThXxxK/eIvLGT1vCBOuisDsdBrOX 3y6AkgKiRzhfvkOrKM5O9JmmFXySPbPRe8wgp8ok468r8GATkGDrR18W39ij9cpZLNPg gpznTlDO16liDDihO41ftMEE9y57CoB40DzSPOJRKT443VezMQJQW2dTX2uVoNUmw37l QhNDPO3A3FuooqqTUdW9nnfoGP5lOZ+naEw0sMOLR/JSO1ZfSRMvsSqEOrf8V8dmZP+d 0s1Y4lZmHdjD/3QJjsxbIXAplk2lCMhLij/b7emAz1jD01zXDHCFz3YVxY+vkGJbiyXR lcZg== 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=ZwS0pTLfaYvtmnmGSPY2CWYSjvjRmgOXbJ+a8m+7l0Q=; b=ks7IkkdqDMGDJtz48sGVooXmhWXIzkt8vTM1w/bUdDdYPgJCH6gZCM2gNS7LsGHp4R y5LYlXwOqGmFtsPO11fAX+t5NzDt0BNZJHTj5Ka7FjhSrpxLogtvan7p50xY4tHnIOh2 zu5xNB6OFjO4n0zOmdZ+IOZBAi3nmmwDOxnB53u35tBd9rXwUn0AIWtLZqh/tTA0pb7q 5AhXreEW9aIIPP6eXY7HRWTfqQLyBNO8IVRBlYuFbyuBnAIdlAKOsZBCJqHQaOgYeN6+ qxUZLUB8g+ZBsOgBp4GGeeu7Lo0pXMNkmgByJpt7Biw4co9dS1+ac2mt1hC5L3L2YgRk BXZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NthLu70j; 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 j9si175389ile.176.2021.09.03.04.21.55; Fri, 03 Sep 2021 04:21:55 -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=NthLu70j; 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 S1349288AbhICLWx (ORCPT + 6 others); Fri, 3 Sep 2021 07:22:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349219AbhICLWr (ORCPT ); Fri, 3 Sep 2021 07:22:47 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 932E5C061575 for ; Fri, 3 Sep 2021 04:21:47 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id q11so7719754wrr.9 for ; Fri, 03 Sep 2021 04:21:47 -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=ZwS0pTLfaYvtmnmGSPY2CWYSjvjRmgOXbJ+a8m+7l0Q=; b=NthLu70jVSNa9pEkEcYM0mSh3MxkSlrJqC6QtjhFW7W7pEJdifqWfKPqN/QcZfGydO T1IaFTjhOMACUbcQtTUA0WJ6VbDEZCOELmyogwljE6C5NAaj0fKytVnKr9iDU2dMqkx9 9r4GrNIp8w+XFYPcibSkw99GMh+/RhMVAh8JIRVqRfZknUUN1QifColyynJlKqPbMl4a VsFo7uRITU0lDZldkCEQYgMMcKEMMbtb3MO8WcrLDmElwAr2o7Es9b86C500fHH27g9h pI73nF1+F6alXZvQJqzHdyjlHh3go3bpGpQT4sg3lgqF/0RZHH32Os96kNpMqDIRg/j3 wxzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZwS0pTLfaYvtmnmGSPY2CWYSjvjRmgOXbJ+a8m+7l0Q=; b=PGPWjlcWr7anII51cwfo0B00ZGbItz9FqxUaVjJEiVP9mAhsKIY7cx8pkHk14Q55EG iSAiLSq92YLKZV+Nw2tQNjQa0M7QmKap4UXtGwP2rMiaFzT1YQ2rSpTDKmMNPQq+RYvu 7pnmhkubWbexZbBpPXbS4shzniDw+EPrWJDuImPIJxdqo76AsJ8vvSN0kE3cRq11kvBS ptgesXubMgtqXN4P+cmHKRm6xMaBEveHFretAjRC2EDN5umWaMWuBpVZ77I+WPzXY71Q /hrBFRWSOI/afEL2wnZBolJA6+pWqobGHreA/4H6htRFVlGWfWgs4I3JaT6V1xcQxUGB nv5w== X-Gm-Message-State: AOAM532T2zp8eLOI++SoPF6jgsNUGSN76dlxXAWKydcBHn4BK6ECiJ0y ImmF85QkmMyKKVnGHZqqWl6UMQ== X-Received: by 2002:adf:fb8d:: with SMTP id a13mr3569765wrr.164.1630668106206; Fri, 03 Sep 2021 04:21:46 -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 f20sm3881877wmb.32.2021.09.03.04.21.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 04:21:45 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Cc: plai@codeaurora.org, 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 v5 11/21] ASoC: dt-bindings: q6dsp: add q6apm-lpass-dai compatible Date: Fri, 3 Sep 2021 12:20:22 +0100 Message-Id: <20210903112032.25834-12-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210903112032.25834-1-srinivas.kandagatla@linaro.org> References: <20210903112032.25834-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 --- .../sound/qcom,q6dsp-lpass-ports.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.21.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index e6148c17419b..92a641dfe04f 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,29 @@ examples: #size-cells = <0>; #sound-dai-cells = <1>; + dai@22 { + reg = ; + qcom,sd-lines = <0 1 2 3>; + }; + }; + }; + }; + - | + #include + gpr { + #address-cells = <1>; + #size-cells = <0>; + gpr-service@1 { + 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>;