Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5271688rwd; Mon, 12 Jun 2023 02:33:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Y0RyFuiv2MVlopHkJevioxJnttm5Tttbq9z8i8hY0VTpXdOJuBokxUp0jkWUIWjS2SSGz X-Received: by 2002:a05:6a20:c18c:b0:111:90f6:a847 with SMTP id bg12-20020a056a20c18c00b0011190f6a847mr8823699pzb.38.1686562389279; Mon, 12 Jun 2023 02:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686562389; cv=none; d=google.com; s=arc-20160816; b=iKO/AzM8XkyIZ/6ujBaKyOEhR6vKvnhcrPiNWt39hkM6CfBxigEj4tMalXBOGzTWs0 sJPDIzNUdA4MLIVe74AMqwarCD9GquRdbJvYLh3Nhxuk8wYZdC6bcIh83HISK+9x26GV 3NahmXczAKZISR/546A1n8AbcoTWRSfhKuX8xX7dDOctFpBiBY9wSzMx/UaiOP2+0Q5q xSNV91GKK1oxF7XeuvtuOd1EYJ2g5n25uFwOHlys3KbD02zH3Jtpz8BzS3la2VBhQJyy Vio5F2UDAdgnesc51voC7JTlkoTO3yo4vDVV4YQG7eMXRZ0hvg1rHQ4aKX29+9GB5toN 3MRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=CTvM0/5vYqFmgppa/MMz+hr4WB15JyIjORxI7h9qATo=; b=OQODtyXnTmL2BUsZZ7QbDfLQ+qfjP5aO9FyxuEBmS3duinC7HkifhUfDmZqr/gK3R6 wRDQ0ajow441y20xi170BkbU+TgBJovg2FUF3pi1h4ZJ86IuFp76QUyd8oqnhfTAj0Dt ZvQ+PsZjewQ4D2a4/eTTiWMhpXyUS060Kc9U77NySKjpyMPb7I2tDo3pM2s7zejURmdF 2oD5j0Drd9cU//f4XsIfXe+uPGb/FBz6z8wBsa8gpKCx/mdytFwfBvAp8HaYJheyEYin V+SDem+fX7RWHvxv/GBE0VNohEo0A4in2XT+jqeJTYL68BsuALCR23sMHqni9nDve30r En/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GeCL+/WR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv185-20020a632ec2000000b0054f904a0a0dsi1111352pgb.624.2023.06.12.02.32.56; Mon, 12 Jun 2023 02:33:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GeCL+/WR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S234679AbjFLJ2x (ORCPT + 99 others); Mon, 12 Jun 2023 05:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234649AbjFLJ2R (ORCPT ); Mon, 12 Jun 2023 05:28:17 -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 A908B10E4 for ; Mon, 12 Jun 2023 02:22:51 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b1bb2fc9c6so45875411fa.0 for ; Mon, 12 Jun 2023 02:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686561770; x=1689153770; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=CTvM0/5vYqFmgppa/MMz+hr4WB15JyIjORxI7h9qATo=; b=GeCL+/WRC3EfrnMon1p1PCiCuyFVzX9x7WthmyC/Ruz1+m4OvGajbC9/Y9CYDbcpTX Rw8JwFxS2Nr0BkA2ZUmdLrM0lzARzmL43Tm54tSQLrw7pPpCws7QJ8v20ZzMt9n5Nxcj UQTUjtFKFmW8jKQTYhbXA6PcfkK4B2m774HFYna9pZjRzhNge3SbNiYBGHySkrez9igr /dKXzAcyVPhke5zkD+j6zfhaY6jTZSgNpuShH5wIX5wVA2Bhnh8DOWrZD34JwSDpIas2 VsIotkLp6CIzCGjiboToPPzLr5gltmD/4L8H4zu06vu/j/J0dxT947PRP7XpE8TwKwhT 9QjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686561770; x=1689153770; 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=CTvM0/5vYqFmgppa/MMz+hr4WB15JyIjORxI7h9qATo=; b=BFEGdqTb8W2esGX3+2nwLkgaCZyUFJvnEu6bFprVDVwmcggPm2HB1gxGgGegADV3rO o7UI6YhAhTpQuRRJAybNLQXCGfeTqLGipcEozdtJ5Cb2CgKAgsy1Hfg38SHzAV7i6Tdi tQO+zxmxwC8erFwAof+Qqqp0FAdvjCr2OKNoPX904przPUY9Z/Htjp1QUZqTm0arBoHT 1Zri9jn9mi0am1suqmwH5LcMQvosBfRxHqq+q5EC3uoRgA80IpNyA6yfEKjHFx5qp4HR q87cnvYfqvMxs8cbd8DB9PPbCX4ENO3SEnur3zLy+giauEXaYxp3IAJd8p3nQS0eVGfr yFEQ== X-Gm-Message-State: AC+VfDzKplOQB7DQ5NdTwJaCjeyACqedZpMi+fqOMqaAEt1kWjwxivLi yqHkgE8/4B9cZBsXrNG//EGiVQ== X-Received: by 2002:a2e:6e18:0:b0:2b1:c751:e570 with SMTP id j24-20020a2e6e18000000b002b1c751e570mr2130729ljc.16.1686561769925; Mon, 12 Jun 2023 02:22:49 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id o20-20020a2e7314000000b002adc2fe3fc8sm1681722ljc.4.2023.06.12.02.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 02:22:49 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] Add read-only RCG2 ops Date: Mon, 12 Jun 2023 11:22:46 +0200 Message-Id: <20230612-topic-rcg2_ro-v1-0-e7d824aeb628@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAObjhmQC/x2N0QqDMAwAf0XyvEBbp2P7lSEj1kwD0kqqQxD/f cHHOzjugMIqXOBVHaD8kyI5GfhbBXGiNDLKYAzBhdq1PuCaF4mocQwfzejvjSP3aHmgJ1jTU2H slVKcrErbPJtclL+yX5N3d55/mjhjVnQAAAA= To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686561768; l=839; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=/h98EN6JKaTYaVlWW6LQ86vKe1OCNxNPv9lvrLNJD4w=; b=qCrTsOUc8uZm9QUtNrVCmalVL3bsLS0l8bPe1BSawTzzy4MTKgtJQQjVH41LJvErdLIiWToHS zOOzY6nPjxmAx1/oSGHu5mo/3/W95qyCXqb842GeStOILFlz5VH5p/8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some of the clocks are managed by remote cores and we're not supposed to alter their parameters. Monitoring them may still be useful, e.g. for getting the correct rates of their children. This series attempts to solve this problem without compromising on either of them. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): clk: qcom: rcg2: Introduce read-only RCG2 ops clk: qcom: gcc-msm8996: Use read-only RCG ops for RPM bus clocks drivers/clk/qcom/clk-rcg.h | 1 + drivers/clk/qcom/clk-rcg2.c | 8 ++++++++ drivers/clk/qcom/gcc-msm8996.c | 6 +++--- 3 files changed, 12 insertions(+), 3 deletions(-) --- base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669 change-id: 20230612-topic-rcg2_ro-1450a076eda9 Best regards, -- Konrad Dybcio