From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C144FC4332F for ; Mon, 25 Oct 2021 17:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A38B060F9D for ; Mon, 25 Oct 2021 17:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232260AbhJYRTm (ORCPT ); Mon, 25 Oct 2021 13:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbhJYRTl (ORCPT ); Mon, 25 Oct 2021 13:19:41 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54756C061745 for ; Mon, 25 Oct 2021 10:17:19 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id u18so10727797wrg.5 for ; Mon, 25 Oct 2021 10:17:19 -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=2dEl9+MXeU9ILc1heZjgbaev2CRPnvoQ4/YvbAvAmQM=; b=c7RQ8N0FckCPbiqFmHr2Iee9AMNPrl3pD5lRc9eL4NfuUR4tJMPIpLdgheVNyp3FAA o9FB3TUhWLz1cx7GqAhZoTqGkYiVNj/4edPQk2bu3one2Ppfr9HB38N6a6hzKYyWfQye dv93GlgjGXAWyXLfVfx99JD/Gcy5qCytQP5aXWO/eVdOSlNzLUOfYTreckiDNquPcId9 DqSyhHiwArAKvrbOPbPYrWgntQFfNa69b+Yq8klM0dF+XzRSKnmEccf+8HhAs4exaXCW QNo01v+bjebG2NUkdO5AF5SiCUWQff1GCAbuOypNPHaQgnDYjMIvsdIr0NbJY27fVb9N 7eAg== 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=2dEl9+MXeU9ILc1heZjgbaev2CRPnvoQ4/YvbAvAmQM=; b=AAve9Y+d2U1t9hcubMo21KMQ+NHaIgy2xndJneDu8O/B4XIed/HOlbKhfuFKGBMXxq z0wZrkr0RFYvzAgTE4iInuIy5aFBF8CdmLTu7cJgpNLQOGLGAi7bpVwJdGyIVCeDfOPh VRSVB1qAfw9V4TcX36Fu+mY7f/D6Y7NCnxqrEdP3p2iWiSpTCFHB6lJN5CrBiantmieL /zyTQRipeHZSa6qMsqkFL/XU9zTAsy6JU4g5VVxlC8r07He62H4M0bn6K5NQWUs0VdQx iTCrSdVztAOlbdyCGSuV574gbG6eVlSqHpoo2+ET/rs0iLlvx9ChzdikZzJtbAEEP6AZ G2pg== X-Gm-Message-State: AOAM5305/gAMnVsHruAZzPO8HHs2x/Ff1btj92KEagWAIKQ59ugFOyGa HFBd+r1z7P7FoDk4vz7dpvQmJw== X-Google-Smtp-Source: ABdhPJxasgPnoZsU+rgkUSB9kBqOkjrEXkuiCJapUg3WymuMefB64lEDzsdpNjAzVUPsD3JokBaOjQ== X-Received: by 2002:a5d:528b:: with SMTP id c11mr24672248wrv.35.1635182237960; Mon, 25 Oct 2021 10:17:17 -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 r11sm5181012wrt.42.2021.10.25.10.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 10:17:17 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, bjorn.andersson@linaro.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 v10 07/17] ASoC: dt-bindings: lpass-clocks: add q6prm clocks compatible Date: Mon, 25 Oct 2021 18:16:39 +0100 Message-Id: <20211025171649.17730-8-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20211025171649.17730-1-srinivas.kandagatla@linaro.org> References: <20211025171649.17730-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On AudioReach audio Framework access to LPASS ports is via Q6PRM (Proxy Resource Manager) service, so add a dedicated lpass-clock compatible string for this. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../sound/qcom,q6dsp-lpass-clocks.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml index c686164732aa..f83f00737a2f 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -16,6 +16,7 @@ properties: compatible: enum: - qcom,q6afe-clocks + - qcom,q6prm-lpass-clocks reg: maxItems: 1 @@ -54,3 +55,23 @@ examples: }; }; }; + + - | + #include + gpr { + compatible = "qcom,gpr"; + qcom,domain = ; + #address-cells = <1>; + #size-cells = <0>; + service@2 { + reg = ; + compatible = "qcom,q6prm"; + #address-cells = <1>; + #size-cells = <0>; + clock-controller@2 { + compatible = "qcom,q6prm-lpass-clocks"; + reg = <2>; + #clock-cells = <2>; + }; + }; + }; -- 2.21.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DDC7C433EF for ; Mon, 25 Oct 2021 17:19:10 +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 F208160C49 for ; Mon, 25 Oct 2021 17:19:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F208160C49 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 F02E516D4; Mon, 25 Oct 2021 19:18:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F02E516D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1635182348; bh=RrS/YC9yrka5UPSznR9amblm2X0hN9a4tClp4dX1oN4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=HvEK1tHvGEdoavaQRn+LCGU5nka2IQDQfPmu7YclDehDytoHmYHQ25M4qfayPF9Uc XnFO9AEbzCSved/bi6nDP+YiDEPTVWD3NSdGDZ+GESrLeYw6d3ugVb2UDtlb5jqWZW Yub7xt+376joAoSJEbuouFiXIqVmA767N6dEUNWo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 967FBF804F2; Mon, 25 Oct 2021 19:17:31 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 53869F804F1; Mon, 25 Oct 2021 19:17:28 +0200 (CEST) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 EF5A3F8025E for ; Mon, 25 Oct 2021 19:17:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EF5A3F8025E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="c7RQ8N0F" Received: by mail-wr1-x435.google.com with SMTP id z14so12976550wrg.6 for ; Mon, 25 Oct 2021 10:17:18 -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=2dEl9+MXeU9ILc1heZjgbaev2CRPnvoQ4/YvbAvAmQM=; b=c7RQ8N0FckCPbiqFmHr2Iee9AMNPrl3pD5lRc9eL4NfuUR4tJMPIpLdgheVNyp3FAA o9FB3TUhWLz1cx7GqAhZoTqGkYiVNj/4edPQk2bu3one2Ppfr9HB38N6a6hzKYyWfQye dv93GlgjGXAWyXLfVfx99JD/Gcy5qCytQP5aXWO/eVdOSlNzLUOfYTreckiDNquPcId9 DqSyhHiwArAKvrbOPbPYrWgntQFfNa69b+Yq8klM0dF+XzRSKnmEccf+8HhAs4exaXCW QNo01v+bjebG2NUkdO5AF5SiCUWQff1GCAbuOypNPHaQgnDYjMIvsdIr0NbJY27fVb9N 7eAg== 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=2dEl9+MXeU9ILc1heZjgbaev2CRPnvoQ4/YvbAvAmQM=; b=zXz0T71IztLVTpKCvqoYhJrp7j0u8P/L528x5c406768um4hyn8eNZaoAf68WIUfZX 0FomafOrvbxDdX8dACK1y7KOiTbK4JFcJoafPM8h9EkaZ0DwfZzyW/+NpMeddBQ3XQ3L tI7EcN/8UExMyF/IgvXI+7T5blqo3dm+QR16+2IPE8WeLPAZHQ6yKHHgSxKY8V8mzxQR 96RowMoZU9Zf3cnihaDwDb8BCaFpulZOFdw7aCkIpfIK2JbzAb51FPqOhSx6S1Zm/oqK 4L8vUSbqpllkMNKYOMp4op8yy6sZIauaENuK+fgMGn4Kqc31TFwA8iks2uzfVB09nY6d KsCQ== X-Gm-Message-State: AOAM532AT6uMEDryjISprtm2JE+Z6jnitP/q+ozqjPgevU5/Ld9zw27J 1xToJ+1Pm+qiu4qnLF9M5cOgFg== X-Google-Smtp-Source: ABdhPJxasgPnoZsU+rgkUSB9kBqOkjrEXkuiCJapUg3WymuMefB64lEDzsdpNjAzVUPsD3JokBaOjQ== X-Received: by 2002:a5d:528b:: with SMTP id c11mr24672248wrv.35.1635182237960; Mon, 25 Oct 2021 10:17:17 -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 r11sm5181012wrt.42.2021.10.25.10.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 10:17:17 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, bjorn.andersson@linaro.org, robh@kernel.org Subject: [PATCH v10 07/17] ASoC: dt-bindings: lpass-clocks: add q6prm clocks compatible Date: Mon, 25 Oct 2021 18:16:39 +0100 Message-Id: <20211025171649.17730-8-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20211025171649.17730-1-srinivas.kandagatla@linaro.org> References: <20211025171649.17730-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Q6PRM (Proxy Resource Manager) service, so add a dedicated lpass-clock compatible string for this. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../sound/qcom,q6dsp-lpass-clocks.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml index c686164732aa..f83f00737a2f 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -16,6 +16,7 @@ properties: compatible: enum: - qcom,q6afe-clocks + - qcom,q6prm-lpass-clocks reg: maxItems: 1 @@ -54,3 +55,23 @@ examples: }; }; }; + + - | + #include + gpr { + compatible = "qcom,gpr"; + qcom,domain = ; + #address-cells = <1>; + #size-cells = <0>; + service@2 { + reg = ; + compatible = "qcom,q6prm"; + #address-cells = <1>; + #size-cells = <0>; + clock-controller@2 { + compatible = "qcom,q6prm-lpass-clocks"; + reg = <2>; + #clock-cells = <2>; + }; + }; + }; -- 2.21.0