Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4389069pxk; Wed, 30 Sep 2020 01:18:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU7kyX9JRdUOqMtMonm4N3UAiEzSUqDBGGdMrQpnHDpxFPHZvh8/7t6pExpzyMucu30lOp X-Received: by 2002:a17:906:e18:: with SMTP id l24mr1630791eji.334.1601453924401; Wed, 30 Sep 2020 01:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601453924; cv=none; d=google.com; s=arc-20160816; b=g5E2F2rNNAnEr4gIf84nXDObAs33y64uhrjagtOSby3x5hu9DubHNBw9hssdKDOEHt LWvbYUBcib+xnyS7mCCpAnqS5FHllNl03MLCieHcvf0GjuB74qBTWWo+hKRun2F2lIo5 Y0I+TGRe4VzenLGum5VpYl+T6ovAxF/bAnChldZ3opF+Lew8lgtjhUoXaOIc41d9IPDY c1ux+u6DiD5Z9wEsstI3hmjZMnOJvNXgzr7ZzMpC9jnSBGat8/OuqIWjLLg2ACXT+h5C IGTURXJ1Gw4lV9iE2eXdK2slZArFFjNaO32DzwtQwpxIbE6AIq+Eav+q/Aik8L/rSo0t Ip2w== 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=/cvEEeM/Z0ruOyi2iZix2HZSBL+TU1UmTGUs1ZgCyb0=; b=gpfnt9Kwef1EhLwwQLhv+OtyEhMvAZfIJ5ea8snWZuM1yM3lfcfvSRubaLF7ni8U1a 80dmdc2CX+rFVmA6U3+rGZW6IvYfRPQekq/rGTCKjoPbBYXVbN9HtG0nap7uNrJwe1Ja 4dpEsR4s5XRss1lg7n1n2VfxuISOPee2SDxxiFy7lGHhTg7prMdPuFDj5hB001WcGFHC 6Fn1OYmXCfG/oBb+82hh+xNrfucWIdSZAEmm9stzdtQf4s/WOSzh9uiZQBO+0LDAaxh8 K54aHpS400AVij23r2nzEQP4x0FJmdl0RHNh9OWIoAY2h3pSGKV5KWbC09q5K5RBHX95 ZnFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JCEThkzL; 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 q24si571010edi.78.2020.09.30.01.18.22; Wed, 30 Sep 2020 01:18:44 -0700 (PDT) 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=JCEThkzL; 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 S1728644AbgI3IRK (ORCPT + 99 others); Wed, 30 Sep 2020 04:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727746AbgI3IRJ (ORCPT ); Wed, 30 Sep 2020 04:17:09 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27138C0613D0 for ; Wed, 30 Sep 2020 01:17:08 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id o8so564147pll.4 for ; Wed, 30 Sep 2020 01:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/cvEEeM/Z0ruOyi2iZix2HZSBL+TU1UmTGUs1ZgCyb0=; b=JCEThkzLTx4ooLRLiBbmFPfIsWDAfs5Lm6Wr+sO7vDFbjgeA7+dvgsGcDvbmukrfj1 VML8KgePgNcp+0EhJeDpNdZsmigMk6O5ZLFgYxlcTRTDDthNCCBRB9goQ9kJmIQb0xKj 4VgPMljdHIDfcSeYeuhJdQx79LnjTuqu6+HFjWeq+3krfjgrZhy1uwMXDICa1Co4ZjlS Xe+Vn3jLjqRsKfHtlLaM01AhqMEtHqHsI0phr9hELf6C25SEEds6Ank5DqKwtMKi8JFu ioZClvoh3+xcoT0nS2FVcwpYfAX0zM0yDeuULhfDLjo8hln5dHhL9y6hX5bVCTHKkKtP K+JQ== 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=/cvEEeM/Z0ruOyi2iZix2HZSBL+TU1UmTGUs1ZgCyb0=; b=BdKUsVZEH5WYx+eXyKFrlbdG2ia8E0bIAV82ah6hN8XIg2uKTtFjPCytksR6tkIWks w7+dYv2TzTkdtVzP+qSMQutpv6SsUbCI36s6F7m/Q3gwp38MaHQQsOHGHNIlgfPsm04a o1Q2566XaRhaaG3e5o/cBSKy9vzGtL48SywY0/+AqxxknqK0RnhkdDWqSP0NYisUpqtv ePxzXvm1SFfL+2S1rW7ksQ8sEmoKSGjzC30sowK7bWcthZCvqjJPyFQWXTKjejMRD0PI R0909tC/A04Zr7AX3KSSJq7DMKajlImhXv1quwsGlot4pQpoSSJzDue2K7Frg9wsmJqR BB8w== X-Gm-Message-State: AOAM5324+diDFPC1oZ4tgBVqaZ0avsU5x7CNowGKOjsXnW3plVy5h0iz K2UiRn+qR115NbbxdkgZ+yX8hQ== X-Received: by 2002:a17:902:768a:b029:d2:ac2f:8945 with SMTP id m10-20020a170902768ab02900d2ac2f8945mr1261857pll.61.1601453827631; Wed, 30 Sep 2020 01:17:07 -0700 (PDT) Received: from localhost.localdomain (li519-153.members.linode.com. [66.175.222.153]) by smtp.gmail.com with ESMTPSA id q15sm1385345pje.29.2020.09.30.01.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 01:17:07 -0700 (PDT) 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: shawn.guo@linaro.org, Jun Nie Subject: [PATCH 0/5] Consolidate RPM interconnect and support to MSM8939 Date: Wed, 30 Sep 2020 16:16:40 +0800 Message-Id: <20200930081645.3434-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. 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} | 28 +- drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 5 +- drivers/interconnect/qcom/icc-rpm.c | 194 ++++++++++ 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, 776 insertions(+), 553 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml rename Documentation/devicetree/bindings/interconnect/{qcom,msm8916.yaml => qcom,rpm.yaml} (72%) 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 -- 2.17.1