From patchwork Fri Apr 5 03:54:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 10886867 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C2071515 for ; Fri, 5 Apr 2019 03:55:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C950285FB for ; Fri, 5 Apr 2019 03:55:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C85F286FF; Fri, 5 Apr 2019 03:55:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E887B285FB for ; Fri, 5 Apr 2019 03:54:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729820AbfDEDy5 (ORCPT ); Thu, 4 Apr 2019 23:54:57 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:36484 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729641AbfDEDy5 (ORCPT ); Thu, 4 Apr 2019 23:54:57 -0400 Received: by mail-lf1-f68.google.com with SMTP id d18so3350298lfn.3 for ; Thu, 04 Apr 2019 20:54:56 -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:mime-version :content-transfer-encoding; bh=2fmX8L8mVM4NgXf1g6sWhqGWg2W4HcpcrPAHYFtDCt8=; b=UgBFdxGk4+iN7NvDvKO+FAV9JoRsB9UxPq2WVWObq3KFOG9x6fMEX/uwqBXfXk5Bet 1tkdntV+KpNxcUxH94mNAjoCXmfbAbaiplVTXPeNW4W/1jXBT/zkX/q6DGDUkGb8YkiH ov7R3zvrPHA7O6MBJqDVFrgjwjmTq6zFG1s1OM0a3GwlOM0DEaJ+4meFz4nTlCajlIwC vgIpsscQHE8xyxOQsAZCV6j4wlX9YIPK/HBjaqTW70OV2H21MGlee4gn5HrOqqN69tk7 MbcJC4fY7/VaUZCgfdCJ2/onV6ID9MpzhKsBHj8IXwBMZ9VFh4bm/eNc4G74o2FnlyiU glKw== 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:mime-version :content-transfer-encoding; bh=2fmX8L8mVM4NgXf1g6sWhqGWg2W4HcpcrPAHYFtDCt8=; b=MFKQHMge4OC897dGMoxt4ICk0fK0v//URZbB826SQw5h088klvOaWHcEEtC2PRwpbf 2ZMM7iHTY/96ijKqQ1K9ge0JUUHeOeUkmAvE7MYDINBviUwnC7eTIDpjdH53oX7KODOZ RCQZqHwTNmMqS8H0+xFCM+kJ40vIRkGiETwtDfqPkCNpJqGQ96QHKM+r/WJhSP0/Aa3k RKQbiZ+qC3SuSE0Zme009ExWnVtJS6lD3TbRoEAPHd0e7FYJtVb8DBEmzXNWBJP9U68O IJBwlN8YUTPkeEPFDG2IQITNtQoLUvUjEWexw9DSPl7y/ShTIy+sxbjyUpVRVflQ45El NE8w== X-Gm-Message-State: APjAAAXqSn0E3NKUz/UrAlEazQFs0mNsdO0iWEfGt19PmLARH4li0uxw n0Lh7/R+123N5Yphr7Lpcv4iaQ== X-Google-Smtp-Source: APXvYqxW/kC8uTisJp2RkN1WX4o9fXwBzzXDH6b88HrbQm73taNxn5gY59AOQsHBx6GKc0Or1kidFg== X-Received: by 2002:ac2:4554:: with SMTP id j20mr5518950lfm.112.1554436495446; Thu, 04 Apr 2019 20:54:55 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id i24sm4417633ljb.31.2019.04.04.20.54.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 20:54:54 -0700 (PDT) From: Georgi Djakov To: robh+dt@kernel.org, georgi.djakov@linaro.org Cc: bjorn.andersson@linaro.org, vkoul@kernel.org, evgreen@chromium.org, daidavid1@codeaurora.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/3] Add QCS404 interconnect provider driver Date: Fri, 5 Apr 2019 10:54:43 +0700 Message-Id: <20190405035446.31886-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add driver to support scaling of the on-chip interconnects on QCS404-based platforms. Also add the necessary device-tree nodes, so that the driver for each NoC can probe and register as interconnect-provider. Bjorn Andersson (1): interconnect: qcom: Add QCS404 interconnect provider driver Georgi Djakov (2): dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings arm64: dts: qcs404: Add interconnect provider DT nodes .../bindings/interconnect/qcom,qcs404.txt | 45 ++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 25 + drivers/interconnect/qcom/Kconfig | 8 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/qcs404.c | 488 ++++++++++++++++++ drivers/interconnect/qcom/qcs404_ids.h | 86 +++ .../dt-bindings/interconnect/qcom,qcs404.h | 88 ++++ 7 files changed, 742 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt create mode 100644 drivers/interconnect/qcom/qcs404.c create mode 100644 drivers/interconnect/qcom/qcs404_ids.h create mode 100644 include/dt-bindings/interconnect/qcom,qcs404.h