From patchwork Fri Jul 21 13:54:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 706005 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 305F0EB64DD for ; Fri, 21 Jul 2023 13:54:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230245AbjGUNyY (ORCPT ); Fri, 21 Jul 2023 09:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbjGUNyX (ORCPT ); Fri, 21 Jul 2023 09:54:23 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAEDC2737 for ; Fri, 21 Jul 2023 06:54:19 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fba74870abso3221706e87.0 for ; Fri, 21 Jul 2023 06:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689947658; x=1690552458; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=BKID3iVQH5n9h8RKBsuwUVNGEeysVbMR50pc5l3Ilu0=; b=HoH/uzLs5rN/KQTy/ozW4NalUSymBB9CYBNtvTJf1o7NbdtZu3VmE9rp0OERiPsiU1 cu4o1FqMMzkJSc4i3FpbQR8WXfA8fOqQb/+e2DENLH+tFTCpiFcnqHs9r/e7zG9+6Q0e AD6GP8vw/wzCmOzJHs2vLwHv2BA8djOtcQhhojc6bvtf8rIhvabosp5A2K+Vd3ZMWnX5 YBCTiKXn4g0QTewgm7ehiH4jpkqJe+7/JthbdWrcdAnyfy/v07ngEtni9+Zjl19a1hX4 ufD8KPu70R9tETjEPpW6XWo8wCiuD+taRZQX9BKW7cRrtl1WX/+J8YGI5LnSColsZSzh +j+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689947658; x=1690552458; 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=BKID3iVQH5n9h8RKBsuwUVNGEeysVbMR50pc5l3Ilu0=; b=b0dJ++EbtKjW7RNZHeLiopFw34mORbA6afK8F7K/1hrpHr6K7dvM4K2xmaa+8qXgag k+7DKaFbREo8E7ztkSbv41mSDr8/k0vQltHs70HpnWBBf4S3mNvzcWcw+sK/9/AXDOqV 1M8vvA0A+n8FrATuESAMyUbOQDaOUzOyzb6kO+X9iSf2QMIwL25zkG0cnSGaBAfHtwOO g0+5KOsos5RoIPpa+k1W4FTY2o04sLVy2BUKPjxOhwl5lO+eG1wadKhXy1NudoRPVnts Ls6uRxJ8ZEL5rqqCkGY2pResBKFhg7hxggosp3osTKFtCD7vH9yKvvHBbVlt+Sg895r/ mXxA== X-Gm-Message-State: ABy/qLZLPrDhPjznNs3kSkGrzwQrPcX7RciKdsCnCenofEI+jd/dbkGC yNHtFJdk45KcmCR480NkI8fzEw== X-Google-Smtp-Source: APBJJlEwRYvgUcZ2vs7ZV9h8nJeMgbF7zh+vWPUMZuhuyCxCAxZDIIdomJFZhF2xUTkzFsvuPIDNKg== X-Received: by 2002:a2e:7205:0:b0:2b9:383b:89fc with SMTP id n5-20020a2e7205000000b002b9383b89fcmr1599079ljc.0.1689947657987; Fri, 21 Jul 2023 06:54:17 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id k21-20020a2e92d5000000b002b6ad323248sm953838ljh.10.2023.07.21.06.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 06:54:17 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/7] Update RPM ICC bindings Date: Fri, 21 Jul 2023 15:54:10 +0200 Message-Id: <20230721-topic-icc_bindings-v1-0-93e2bc728fb7@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAKOumQC/x2N0QqDMAwAf0XyvEDb4Yr7lTFGW6MGJErjRBD/f WGPd3DcCUqVSeHZnFBpZ+VFDPytgTIlGQm5N4bgwt3F4HFbVi7IpXwyS88yKsbQ+ej8Y2i7Fiz MSQlzTVImS+U7zybXSgMf/9PrfV0/2uIg63kAAAA= To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: Marijn Suijten , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689947656; l=1988; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xqMYpd9F/kb53hSBYg/8pwD7vM3ZQ2FNDVHQCyN099Q=; b=kg392TliDi3WroYKThrRrZneSn9sSCIXlf/aQDHNb1GFqhp3vBMsPcjn57Ewxd4QmDdNyQGuh VmJBN3eykaqDehKBDDXT1QIiuVa+lgc54ysoMm+9oHIRgvKR4v91WNP X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The recent necessary overhaul [1] of how we represent SMD ICC and RPM bus clocks changed the way they're connected. The bindings however were not updated to reflect that. This series tries to address that, while also making the relevant bindings less convoluted. Now, instead of referencing RPM SMD bus clocks via clocks=<>, they're handled internally within the interconnect framework (via direct RPM calls from there). We still need to allow some "interface" clocks, which are necessary to access some registers and not managed for us. [1] https://lore.kernel.org/linux-arm-msm/20230526-topic-smd_icc-v7-0-09c78c175546@linaro.org/ Signed-off-by: Konrad Dybcio --- Konrad Dybcio (7): dt-bindings: interconnect: qcom: Introduce qcom,rpm-common dt-bindings: interconnect: qcom: qcm2290: Remove RPM bus clocks dt-bindings: interconnect: qcom: Fix and separate out MSM8916 dt-bindings: interconnect: qcom: Fix and separate out QCS404 dt-bindings: interconnect: qcom: Fix and separate out SDM660 dt-bindings: interconnect: qcom: Fix and separate out MSM8996 dt-bindings: interconnect: qcom: Fix and separate out MSM8939 .../bindings/interconnect/qcom,msm8916.yaml | 52 ++++ .../bindings/interconnect/qcom,msm8939.yaml | 74 ++++++ .../bindings/interconnect/qcom,msm8996.yaml | 165 ++++++++++++ .../bindings/interconnect/qcom,qcm2290.yaml | 54 +--- .../bindings/interconnect/qcom,qcs404.yaml | 52 ++++ .../bindings/interconnect/qcom,rpm-common.yaml | 31 +++ .../devicetree/bindings/interconnect/qcom,rpm.yaml | 281 --------------------- .../bindings/interconnect/qcom,sdm660.yaml | 131 ++++++++++ 8 files changed, 509 insertions(+), 331 deletions(-) --- base-commit: ae867bc97b713121b2a7f5fcac68378a0774739b change-id: 20230721-topic-icc_bindings-72917016f595 Best regards,