Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp176980pxu; Thu, 3 Dec 2020 23:58:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgd8AVGhNwkL1PX8ILc4PBU6sHVFpiR6kWWSrzS8qTcBP/KfsZ/jskvHSSRpeEtE+hzeNZ X-Received: by 2002:a17:906:ae14:: with SMTP id le20mr6087585ejb.451.1607068700753; Thu, 03 Dec 2020 23:58:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607068700; cv=none; d=google.com; s=arc-20160816; b=0vGRa20XkA/S85wvFmdqWc/y/AAzJjghhtDt2P0fW0pScq06EoXV4+ax5GMVGoovwt qnlzmLoXWMVV5RtXKCJ4cUxq2KIFU5RmKeK0dLs0yUWZCurQh5ZvNpmcx14k9FvBTD0J mMo/RmdUvfo1L9WP/5qxxuCRtFfOhPF17XSKmiuyZiulwXFdA3Y4mSTSrobIXZIwmXqu me+gJGoXjL+cqARFFkUAQPG0OI8EGYlb0m9h/oz3ZGTWYZoTb8W6BbDxrktKdckMwyJm HMEYc6wBb+dNKGSDeNj/tS/sNV6ir5FIA2tQe+Tal7bfRXgDvzsOJiuQgi81M/yBb1zY 5iCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Ued29EV1nTUCA0vnMZ9y9R5tRPXZpQokqluVCOGrs9Q=; b=Bpz4L2gWHRWR7I/J5WEhHGtCdIQTUxY1u+/8pPGdTukx/3YA1eLGLOho9ZPfCqnpmq HgAArHBCRrvjQbvdc3zlQvFdKZ6Pv+Pn+xrbKqCm4rzLXIqtyGXdelBl9jU0bO59+E6M aZb/g+Y6uTK5A5XGIeIG+F8FUFWcMYchJIAdwjeDOFIOhwv9ODnqLOeh/+RZDpS1228n VacvxgH6bTxOqg1gzveytIIRtGLe2OsyuRNpuzdKbTG+SYg3+BeB+mr3sGpKFnO9GSBg 6GxDrh0rGIZ+KlukfsWjsCH46fOkoAf1Z+u5jgpM1UIJyFBZFqCMOp+kq4LBOIPwwVuO fyRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gi1x84Ai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw4si897141ejb.196.2020.12.03.23.57.57; Thu, 03 Dec 2020 23:58:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gi1x84Ai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2387413AbgLDHyt (ORCPT + 99 others); Fri, 4 Dec 2020 02:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbgLDHyt (ORCPT ); Fri, 4 Dec 2020 02:54:49 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EB99C061A54 for ; Thu, 3 Dec 2020 23:54:09 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id m5so2689531pjv.5 for ; Thu, 03 Dec 2020 23:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Ued29EV1nTUCA0vnMZ9y9R5tRPXZpQokqluVCOGrs9Q=; b=Gi1x84AiKYzz2uYPnNmVGEBldtz1e4NAmNV1Ua7JmyI5JRMrFLW48nYm/3fcDLaY5d Y2XlhxcpjeitkYCtkCRUe5DdG81nSaHHccp4UXpSK1VA2awYelDXsUO+f4SODxeqFWXC BlssjTG7CldtMLjjV5i2SO6UbuFV4zZrisJgMELc6/I5AwG/xf4wH0FNfakZ/BfzsK4j C9Cz52cteImiKVl/+4i81sfMfupjILGEKpHULDYaDyzkkqYbjkc9e4Vtu67eiwFjhvcx T0fJdcL/CiFRZFnK+8jlktca2mbSB+EHJrxb/5NGVjd4gxb2plfbrKTlZ4rmZPSVH5mm FtMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ued29EV1nTUCA0vnMZ9y9R5tRPXZpQokqluVCOGrs9Q=; b=ggQKem9g28IAGqtyplw9BC89i4Py4tJ+S9gppDHcyzX7/vkU8D0kuKF1HdlAw9fH0I qLFTpFWEw6Zr1ovCturyvsYghaiBVEAZ9nH50+/cnoRFF911BoJ//8z7Qb5Kyk6gTo0I ehPy4dO5Z00Bz4h711Qnpx0lVXbJ2G1n5jklaMtPDpOg8m+FE3eDnXbPYE1OT7bhQzIJ RVfThMaHMekLg0PN4E5bgZsj+wrkjw272ASEcSddVRTmzzoANiqJoe6zpGUWDB4nGNwp 651LyzRby/WPxJaU5ajvtnu6kL5fTeelI/49c8WbivwH3d8Sv++GLzcyJPeYT9/5sqeV IXDQ== X-Gm-Message-State: AOAM5309wYFQrNbhr9wATrfpPCAeNZnq2g38yDpC4c9cH2d0QlDVCuxy my0e0JwnsAPhl6qJYbU/YE9gfw== X-Received: by 2002:a17:90a:c17:: with SMTP id 23mr2951818pjs.199.1607068448396; Thu, 03 Dec 2020 23:54:08 -0800 (PST) Received: from localhost.localdomain (li519-153.members.linode.com. [66.175.222.153]) by smtp.gmail.com with ESMTPSA id l190sm3822262pfl.205.2020.12.03.23.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 23:54:07 -0800 (PST) From: Jun Nie To: devicetree@vger.kernel.org, georgi.djakov@linaro.org, bjorn.andersson@linaro.org, agross@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Cc: vincent.knecht@mailoo.org, shawn.guo@linaro.org, Jun Nie Subject: [PATCH v2 0/5] Consolidate RPM interconnect and support to MSM8939 Date: Fri, 4 Dec 2020 15:53:40 +0800 Message-Id: <20201204075345.5161-1-jun.nie@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set split shared RPM based interconnect operation code and add support to MSM8939 interconnect. Changes vs V1: - Rebase to latest icc code. - Remove unnecessary comment and info. - Fix some format issues. Jun Nie (5): interconnect: qcom: Consolidate interconnect RPM support interconnect: qcom: qcs404: use shared code dt-bindings: interconnect: single yaml file for RPM interconnect drivers dt-bindings: interconnect: Add Qualcomm MSM8939 DT bindings interconnect: qcom: Add MSM8939 interconnect provider driver .../bindings/interconnect/qcom,qcs404.yaml | 77 ---- .../{qcom,msm8916.yaml => qcom,rpm.yaml} | 22 +- drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 4 +- drivers/interconnect/qcom/icc-rpm.c | 191 ++++++++++ drivers/interconnect/qcom/icc-rpm.h | 73 ++++ drivers/interconnect/qcom/msm8916.c | 241 +----------- drivers/interconnect/qcom/msm8939.c | 355 ++++++++++++++++++ drivers/interconnect/qcom/qcs404.c | 242 +----------- .../dt-bindings/interconnect/qcom,msm8939.h | 105 ++++++ 10 files changed, 769 insertions(+), 550 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml rename Documentation/devicetree/bindings/interconnect/{qcom,msm8916.yaml => qcom,rpm.yaml} (77%) create mode 100644 drivers/interconnect/qcom/icc-rpm.c create mode 100644 drivers/interconnect/qcom/icc-rpm.h create mode 100644 drivers/interconnect/qcom/msm8939.c create mode 100644 include/dt-bindings/interconnect/qcom,msm8939.h base-commit: bfd521e1af519bb7096efc845f6a64a7de28c472 -- 2.17.1