From patchwork Fri Nov 4 17:46:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 621398 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64CC2C4332F for ; Fri, 4 Nov 2022 17:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231204AbiKDRrK (ORCPT ); Fri, 4 Nov 2022 13:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231305AbiKDRrE (ORCPT ); Fri, 4 Nov 2022 13:47:04 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 076BF2018E for ; Fri, 4 Nov 2022 10:47:03 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id l9so3497279qkk.11 for ; Fri, 04 Nov 2022 10:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B76QcE1/cLW/pcKht8EMd2NMIgXAeFrVP9tClHGb9mw=; b=QKdI0L3xcZN7I6N+9krNHxAUHNhCmt4X9NwbrHH48F9ycDuFC/ryd+8Rz8LkFZEcEM 2X94kbeR72+ukoHXFRMyQsD+cyNeG8jxm1MItKifmURNK/YKnFzdbZtJFrV8Wi+cUUkY daFJt3abSmR8y5Qt22lIFq3+THoUmL4/bdt939fKxCMP5VKUtNXB9HCrOyV7jv+mY4Ef z1izr0gXxC3o9XH1vKwu588CNqVk7qHHGjWN6vZlHOJiSw2qT/THh3XWlAue5xPiZFDy PMMgnbQ8q0nV9AwOKEq4ScD71xTs0iQ6aKQbvxWW+s6E+Mf9roX8+k0Qq16YAzcoHT0p TrFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B76QcE1/cLW/pcKht8EMd2NMIgXAeFrVP9tClHGb9mw=; b=UC79xMFVipkd/RXaJGblbss8vSXY6+iHiv3lf7xxGegwDXutwlBHeKEb0A3ThxnVN8 oCSQgIX1tKczHjzy1u/rRW/ImHgMZIDUJiyp4erdNpoDgjGe0PUBxt5W7Kd202Nz0HRl N0FgVQR7jsHizxp7yEXBaT+saEBM3ly0L2Jvg0oGc6zcfWTzY8WjWhyxhW9ywQGo/mdB EMzIyrSwZTAOcO1gyYx61cYNOIc9h5QEsIr53SiMbhi1PfV1m6PB9J/GXxYUzWLCspHy wssCtNT5gCNok8CYO94GHt9CACjLtDPowudfe9JwqoR212ROzF1CZtB7bVam4SgpLAlD rJuQ== X-Gm-Message-State: ACrzQf0K5W4IYSDgOW0TNHKusp1wKKVn0tJ2kk3lvDeoQjqdqy/nia/Y ojMR2EPNIVx6s1isPCFwhb0oZA== X-Google-Smtp-Source: AMsMyM56w7jEpVAEYgRY5UQQmitJBjOa+UfOhdl9MY/a8BxJJKXM0raZmUTQtNgTrWlRR3y0x7YyyQ== X-Received: by 2002:a05:620a:2984:b0:6fa:6636:d4e5 with SMTP id r4-20020a05620a298400b006fa6636d4e5mr10888890qkp.622.1667584022168; Fri, 04 Nov 2022 10:47:02 -0700 (PDT) Received: from krzk-bin.. ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id c7-20020a05620a268700b006f84ee3a4f3sm3432908qkp.48.2022.11.04.10.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 10:47:01 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] dt-bindings: clock: qcom,aoncc-sm8250: fix compatible Date: Fri, 4 Nov 2022 13:46:54 -0400 Message-Id: <20221104174656.123979-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8250 AON Clock Controller compatible used by Linux driver and DTS is qcom,sm8250-lpass-aoncc. Fixes: 7dbe5a7a3f99 ("dt-bindings: clock: Add support for LPASS Always ON Controller") Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,aoncc-sm8250.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml b/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml index c40a74b5d672..59b0d3f571ef 100644 --- a/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml @@ -17,7 +17,7 @@ description: | properties: compatible: - const: qcom,sm8250-lpass-aon + const: qcom,sm8250-lpass-aoncc reg: maxItems: 1 @@ -50,7 +50,7 @@ examples: #include clock-controller@3800000 { #clock-cells = <1>; - compatible = "qcom,sm8250-lpass-aon"; + compatible = "qcom,sm8250-lpass-aoncc"; reg = <0x03380000 0x40000>; clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; From patchwork Fri Nov 4 17:46:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 621397 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB847C4321E for ; Fri, 4 Nov 2022 17:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231901AbiKDRrL (ORCPT ); Fri, 4 Nov 2022 13:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbiKDRrH (ORCPT ); Fri, 4 Nov 2022 13:47:07 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AEF165C4 for ; Fri, 4 Nov 2022 10:47:04 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id hh9so3442530qtb.13 for ; Fri, 04 Nov 2022 10:47:04 -0700 (PDT) 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=tiDABW7bEARi31X3gQUcFxKWv/mXed0xt7dumJ6D68A=; b=rA8hX/JYvwaJS7qnEIt+I4WNmOnKgrxfcICXuoRSTE2ywZCZaqywRYtfB9BbD/wXrx yhAe97A3NerR2T0tnWZB0RyJ4jDSfOszfiU+G5su0UxsBd9IJ0qzCVxOdQOIIE9aBOtV 7DPu2Bfx84jkVdCbrHEMFZfj3wDkrINj2UG0R86GQ5PRX69ZBSwa4TvrY9QpzUAod0c+ RsZaLbb4VETj0GGddUfSqQfwFcK7d7N59AiR0CkKanyOQssRhH+4AZ0XPL8HSTSHVaV/ SyhevXHEjbxsGomPcRcRhNumZaOgmuFZEz+Efs0B4l0wIbFvqWqrHRHNOVGPum4R+ld7 dsNA== 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=tiDABW7bEARi31X3gQUcFxKWv/mXed0xt7dumJ6D68A=; b=5t6AJJmPGrxzCr6D+nTJwSPToKKx1LYOy17glkUK2rHR9i/n5QV3J8tAbRm+pRTWKD gigeBkGyLiw1OKf5GwPjAeZR3+odP/Ou63Q9arvkkzsDF/TmEYNzcWlUYnScBQqvW5KQ psXQgK8f3/IuvlQOtVdIgzpeHaQy/zr/JACUPu+rRwPcb03N6+HQ6mQQ2xKZ1aOK24yt zNd+LcFRSvnfNuwV7QIqIZqDg4EohiGo11JDlmPKRTbBJUJk4xoKgQ/cEjTUauHrUtxw n+5godirwdsZ67MkkG1acagHmjhWCONL6JqdFtD+Y1SUOsx8aH9/4hnLC0nvT39RiHYf H4tg== X-Gm-Message-State: ACrzQf1kDtdJQG8PA/FkAKFioz0mofe/hYPb5T80Qgi5R3Rxue5dtCSl onwxIYrb8Ozga4JDq5WP+14pqw== X-Google-Smtp-Source: AMsMyM6R8rsHmHQotwudwVXib4QC2wkEzeKAsiRITg8iPH55/0hA0UTXed7JK0ZAR8FQ4W3ZHHVBvg== X-Received: by 2002:a05:622a:986:b0:3a5:1eca:a7e1 with SMTP id bw6-20020a05622a098600b003a51ecaa7e1mr25382110qtb.350.1667584023477; Fri, 04 Nov 2022 10:47:03 -0700 (PDT) Received: from krzk-bin.. ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id c7-20020a05620a268700b006f84ee3a4f3sm3432908qkp.48.2022.11.04.10.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 10:47:02 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: clock: qcom, aoncc-sm8250: add missing audio clock Date: Fri, 4 Nov 2022 13:46:55 -0400 Message-Id: <20221104174656.123979-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221104174656.123979-1-krzysztof.kozlowski@linaro.org> References: <20221104174656.123979-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8250 DTS uses three clocks as input to LPASS AON Clock Controller (althopugh Linux driver seems not needing it), so document the missing audio voting clock. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,aoncc-sm8250.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml b/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml index 59b0d3f571ef..7f24f640d102 100644 --- a/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml @@ -28,11 +28,13 @@ properties: clocks: items: - description: LPASS Core voting clock + - description: LPASS Audio codec voting clock - description: Glitch Free Mux register clock clock-names: items: - const: core + - const: audio - const: bus required: @@ -53,6 +55,7 @@ examples: compatible = "qcom,sm8250-lpass-aoncc"; reg = <0x03380000 0x40000>; clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - clock-names = "core", "bus"; + clock-names = "core", "audio", "bus"; }; From patchwork Fri Nov 4 17:46:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 621784 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77A43C43217 for ; Fri, 4 Nov 2022 17:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231868AbiKDRrK (ORCPT ); Fri, 4 Nov 2022 13:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231437AbiKDRrG (ORCPT ); Fri, 4 Nov 2022 13:47:06 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9230287 for ; Fri, 4 Nov 2022 10:47:05 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id fz10so3484014qtb.3 for ; Fri, 04 Nov 2022 10:47:05 -0700 (PDT) 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=wZUcE77o1yzWjb0fTasyoyk6GrW1k8wolBp/KJmZeFs=; b=aTJncUTU61csNDX0UGztNm3uJUH4a3rJMzv7m0JmGps3lnjVb1938abOlb8jxHYYcf rbBTBAgHQDpIfOCewXIS1dJDmufR78SfSlNORbhIYCpfex6MggHAYds9uYlP+9CQ3XZr V7M1HG/V4MG3tAwAraszwL7kCKKRnc2+9AFvzp7+T15wM5EZODPbvJCKk6g5qbw/qXZT bbu4xZEKGwPDhntH+PsTIHo5U6ThmfSHyCr3HapDp+4KjwFenwVPW6isLMGPwbm31QBA tdmKUoCYPMWmESRS81x1BhMc6oMZEyuFFIr+BeTkWxgpvyVFJ5EOaMZWfXUVMXnBleF1 xrOA== 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=wZUcE77o1yzWjb0fTasyoyk6GrW1k8wolBp/KJmZeFs=; b=kLbcamDbC4GFzj3TsfMS3pHc+jY/o3q3W6GrS3d68rB1LGclyXTPH6vqN74rsSW6B9 S9gOxYQWLoZ7zqGaLa4DVC6c6vlUsQLwomVxTB41BSmQGY2qIGOslerGnbkck5di56eV dN2LnsSBr8EAPgtQuNuSWBT0ARZ3T9Z9riaFomGYnAO1rk0xEUdanpjWs0w+N0P6c905 6aNNEBqHdO26mmMesaIlHUvFRP9EDV8fbllBX6oFxIJVGI4Umdba9eG5EeThuiIVPGiu g9ZuFcAH5fEFJtaV0fUWgLLjLMpQHdESdw1kyijrdd5rC0YJGJ3y+rdcq2RrhfgxewNQ oJOw== X-Gm-Message-State: ACrzQf35VEnB6fU8GnXr5PNFA5LqDVm7xK78LUyk1oYGYnQcqqd2y88a 1swRtRptxS+0aJ4IlN/Lr7gUEw== X-Google-Smtp-Source: AMsMyM45+S7Luyke1QTKNyUacM3gyzQXQHhhuHAb9M/YWli+5uvhotD+CNYWqDFz2zLNxQbC9Fn+aw== X-Received: by 2002:ac8:7f51:0:b0:3a5:5e3d:4b56 with SMTP id g17-20020ac87f51000000b003a55e3d4b56mr6175118qtk.519.1667584025047; Fri, 04 Nov 2022 10:47:05 -0700 (PDT) Received: from krzk-bin.. ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id c7-20020a05620a268700b006f84ee3a4f3sm3432908qkp.48.2022.11.04.10.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 10:47:04 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] dt-bindings: clock: qcom,audiocc-sm8250: add missing audio clock Date: Fri, 4 Nov 2022 13:46:56 -0400 Message-Id: <20221104174656.123979-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221104174656.123979-1-krzysztof.kozlowski@linaro.org> References: <20221104174656.123979-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8250 DTS uses three clocks as input to LPASS AudioClock Controller (althopugh Linux driver seems not needing it), so document the missing audio voting clock. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,audiocc-sm8250.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml b/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml index 915d76206ad0..48c7e10cc1b9 100644 --- a/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml @@ -28,11 +28,13 @@ properties: clocks: items: - description: LPASS Core voting clock + - description: LPASS Audio codec voting clock - description: Glitch Free Mux register clock clock-names: items: - const: core + - const: audio - const: bus required: @@ -53,6 +55,7 @@ examples: compatible = "qcom,sm8250-lpass-audiocc"; reg = <0x03300000 0x30000>; clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - clock-names = "core", "bus"; + clock-names = "core", "audio", "bus"; };