Message ID | 20230622-topic-8998clk-v2-0-6222fbc2916b@linaro.org |
---|---|
Headers | show
Return-Path: <devicetree-owner@vger.kernel.org> 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 6E79FC30654 for <linux-devicetree@archiver.kernel.org>; Mon, 3 Jul 2023 18:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjGCSUN (ORCPT <rfc822;linux-devicetree@archiver.kernel.org>); Mon, 3 Jul 2023 14:20:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbjGCSUM (ORCPT <rfc822;devicetree@vger.kernel.org>); Mon, 3 Jul 2023 14:20:12 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AECEDD for <devicetree@vger.kernel.org>; Mon, 3 Jul 2023 11:20:11 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b5c2433134so59915481fa.0 for <devicetree@vger.kernel.org>; Mon, 03 Jul 2023 11:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688408409; x=1691000409; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=3709e8fFO7E8llHUHqUI0y08/wPoh5pT/hkxw+53yrA=; b=xlbJbUEX5Yd1k6PCD+ZYtC53K72Yd0PHdVCAy7vEuq16XkVIL+lMFsFw1n3acu0oFf QphUw8hLNrjcSvp2kR/WRKI+Sef2rfV8uiwOhQU3wzzxED5dwcKZN2IPmJTKHzYV0W8g XHaOPq4MvvRet0J9Bf+zA/UFQeKCqPCR2yW9BXduaILBZzKM1KalFbfxmnKzeGFk+2wl 1QpUAfJKXc6SOUKEaceuiswtw6j6fxph55L30BEj9VWgWEdYqtMOCY3ZeSTvVz4hrfyx qbK2+7tNF68yqWQsme5hygBypd0PFZX+tcIMKdpQM9w/ktCgn8qJYnnktuz+VeBuv9i+ c94w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688408409; x=1691000409; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3709e8fFO7E8llHUHqUI0y08/wPoh5pT/hkxw+53yrA=; b=Bg1wNxevxzvzJ5Bb/Z1D8fDv1WDrdrq3nfXWNO61eov657dSghONcqPYcHnOfnPPJC dvgyrysDI+mw7aQLziP62XBmfUSRpS4YOZu0Bz9R3x5ClWV7H7lEpiymZKMehExtQTjY a92FiiYQr/p0NwW+9AuEttS0Hr9G4uk1dGNEUnzzOhDW+WJox9oLI/QlG1HjrbX7BMva VJw9SehtXqck+G+ijFKoc4skCQOFkmuNxJssd9yVd+zFcN8MH+3D13dj0cbFXFmKtuV6 ZtNcHe/0Aiv+KAWgkYrmTjheh0Va/jD1flakslwt88awc6HOVajIKDQ2H9aOZxk9eUVq jNuw== X-Gm-Message-State: ABy/qLZZdp2ppIDryd7Fv8g+rpN1hAmbZEBizyz637Cj7i0AA22VheqX 4hCqjXTN5MyNB64IAsWmuoI6iw== X-Google-Smtp-Source: APBJJlGlQkOPQixu2L4tRQl8VLKaygBQZqyviz+FiZtst2YTgudx5n1zzFiZEjQMQEy/J956gCnpNA== X-Received: by 2002:a2e:800b:0:b0:2b6:cbdb:790c with SMTP id j11-20020a2e800b000000b002b6cbdb790cmr3658759ljg.1.1688408409514; Mon, 03 Jul 2023 11:20:09 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id s9-20020a2e9c09000000b002b6995f38a2sm4946224lji.100.2023.07.03.11.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 11:20:09 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 0/8] MSM8998 clk cleanups and fixups Date: Mon, 03 Jul 2023 20:20:04 +0200 Message-Id: <20230622-topic-8998clk-v2-0-6222fbc2916b@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFQRo2QC/3WNwQ6DIBAFf8Vw7jaArUJP/Y/GA+CqmxIwYE0b4 7+Xeu9xJnlvNpYxEWZ2qzaWcKVMMRSQp4q5yYQRgfrCTHJZ80ZKWOJMDpTWyvknXGrRatUMNee KlY01GcEmE9xUVuHlfZFzwoHeR+TRFZ4oLzF9juYqfvbf/SqAw9W2hvcNamXF3VMwKZ5jGlm37 /sXqei9+8AAAAA= To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Jeffrey Hugo <quic_jhugo@quicinc.com>, Taniya Das <tdas@codeaurora.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688408407; l=1720; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=phlPM9Cc876D80OS9Sc/anPCogRjxlTnuuGA5rJzqPI=; b=7dmYnDCVVvlGri8VIWKTTOkbE9P5gWVFlLT8wuUmBrmzdbLf5oD70Fg+iauFZMgQz+tdBHbiu RIbMXQauebHDezcAG0E87N7GJs3nlC2z11esmEwvb5TPh9dEDmMlAAx X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
MSM8998 clk cleanups and fixups
|
expand
|
The MSM8998 clock controller drivers have some rough edges around whether and how Linux should touch them, which this series tries to sand down a bit. MSM8998 maple seems not to explode, please give it a spin on your boards. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- Changes in v2: - Pick up tags (thanks a lot Jeffrey for testing) - Drop patch "Don't poke at some BIMC GPU clocks" - Link to v1: https://lore.kernel.org/r/20230622-topic-8998clk-v1-0-5b7a0d6e98b1@linaro.org --- Konrad Dybcio (8): dt-bindings: clk: qcom,gcc-msm8998: Add missing GPU/MMSS GPLL0 legs dt-bindings: clock: qcom,mmcc: Add GPLL0_DIV for MSM8998 clk: qcom: gcc-msm8998: Control MMSS and GPUSS GPLL0 outputs properly clk: qcom: mmcc-msm8998: Properly consume GPLL0 inputs clk: qcom: gpucc-msm8998: Use the correct GPLL0 leg with old DTs clk: qcom: gcc-msm8998: Don't check halt bit on some branch clks arm64: dts: qcom: msm8998: Use the correct GPLL0 leg for GPUCC arm64: dts: qcom: msm8998: Use the correct GPLL0_DIV leg for MMCC .../devicetree/bindings/clock/qcom,mmcc.yaml | 2 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 ++- drivers/clk/qcom/gcc-msm8998.c | 64 +++++++++++++++++++++- drivers/clk/qcom/gpucc-msm8998.c | 2 +- drivers/clk/qcom/mmcc-msm8998.c | 35 +++--------- include/dt-bindings/clock/qcom,gcc-msm8998.h | 3 + 6 files changed, 80 insertions(+), 34 deletions(-) --- base-commit: 296d53d8f84ce50ffaee7d575487058c8d437335 change-id: 20230622-topic-8998clk-4317986f3008 Best regards,