From patchwork Fri Dec 4 07:53:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 337729 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp37985ilb; Thu, 3 Dec 2020 23:55:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB7SGxAfm/xwtjAm801QjeqbMMkZ7l5Ng/vTtXheM4/Tp3GlbX5TcxFBiNF5AZqXt9lNb0 X-Received: by 2002:a50:fd18:: with SMTP id i24mr6532318eds.146.1607068531265; Thu, 03 Dec 2020 23:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607068531; cv=none; d=google.com; s=arc-20160816; b=owPQKeFkVuzstr8MFFSz/JEf+nbWsGSveY/IV/19GJP+caniKv4sDxAKAzLwgtktSh 6afT+5KRJ2ssdNez3WlGhMFvZ1IvvzyAEtBjNWdVA66nh3mYNGkkwcZAiyKTFXvIgoPh m2VHAm0cbgCYziaZBhm+Yci3VYUaDD/2G/IzjgKtgPl3WcaHoKtw5uljOpuZr/z4g0ws 96HheqK4r6JAiliGmvnytMqFsGnyAKrh6+4Pu8adJZ0GamtVrf2jEsTuC86xB84169kC PJaRSnJJ2Fe75Ehf2m9F5I3WcoURYFLRlU8Rzpqpkp/dbm5IfXDv2OtblGh1UHn2GkWD 4XQQ== 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=OMm0nKiDmBwHG8iDL3MHBsOKztgWrAFlQDLF2eRwA6fVUuy3XncoKZmI663Em3iCEl W1gaD1TTr8ioNwh1PMQaM4p5laEZlCJ5c/qbQpmjJT4orIsS0fpnNYnrffWQWZZ4dBar RLcdHJSFSWyIxxj0ggDYClc3Tximn7O9rlXAqS2mxYwsxuX/WfQ7a+gcuOFf6u21lzQO qIfY/oIhgzyMOOeyOa4w78nYJDfH1F7F/+X1o3B4th+1FaeHWzeJSIxwEPUNzbKZztVI TZWd0KQ5CLbnXlUFM02WiD8pDLo7secuNvzG/Qz4f+RnqU82hqzIR1JFhSRe1Bo7xt+z H4PQ== 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-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 v22si2494355edt.77.2020.12.03.23.55.30; Thu, 03 Dec 2020 23:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1728839AbgLDHyt (ORCPT + 15 others); Fri, 4 Dec 2020 02:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728831AbgLDHyt (ORCPT ); Fri, 4 Dec 2020 02:54:49 -0500 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE42C061A53 for ; Thu, 3 Dec 2020 23:54:09 -0800 (PST) Received: by mail-pj1-x102b.google.com with SMTP id j13so2690002pjz.3 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=fZ9EBjwMRNKhVKiySDGRL8zH6DLfnsHpgNbRi0G7hdWoO8jTOCA82faQgVAR97DYlK 2pDr007cJ8tZMUgZbqo2heJvNycXj4ofzZpucfpc47ZLgUdXH6sHC0FY+U6l+BAv7pP/ S8tKKGhLvRikMG/QFzVCh7g3OKubyB35zt/wG8tgAuV1uvbbkvmXA7QvOnxhjNtSxgm9 RhBmkV3geqUGuR/UplQKeTue8Mn+HAobjS28MeDpS1okhyNImqDssa3l8vbOYpT3M0hh dME9p4uLz+xopd2E2DIH0Bs5GHPbJMGNCmOH6I5YIZQ3DrjIGGCUynVcJYyKCKdmpA42 Sbgg== X-Gm-Message-State: AOAM531OX/z4mhvx/Cw/5rx9aysm0zUJ3WU5j0WOCPbLm0gSwU9gdXOJ jFWvWd+w8pRYFiMhTj4fwf75Lg== 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-arm-msm@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