Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2038684yba; Mon, 15 Apr 2019 03:45:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwk+tIt8f72Jl/ICCHHxJQnJDYfyZHiViiVSo+NRFlt4wLRS+nRQr4wjq+/CZoOA3YBC6UK X-Received: by 2002:a17:902:1105:: with SMTP id d5mr50987389pla.311.1555325157069; Mon, 15 Apr 2019 03:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555325157; cv=none; d=google.com; s=arc-20160816; b=KolXDwz4wWK2P4vdWL5ShxzCBy9g3DgzkNzvoQFlhnzv9KxHZoDrByTrUA3RKsZ7qX fcLYnnpjm6YxDb+hWehuGR4shutS0ZPChs//Yo8UDRFxsNhPOLOnttLYwVqSxEXWfYlR 3vLWrmoOgvw1Bk5bEJs1BWyFss9H6ETCIf2Aepqq0voa5EXSmW41Y0OVdC72i16Y4Hzw P3wGyXOeWEnp44ASvVVR6R6Y/vx557YamqOHYxiaW52Z4jw6LKA2V0R0HLr11FGmYXEV ZSteZf+DRDQp8L7S41PEOEbAc7bUIQ0pVBbWk/aWUsAiSn7X49xfhPd04IEZ2YnUt6/k gf8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zPcRJN1/NzE6gNtSRy+MJcIXRb2hexYCT1b0WmO6hYU=; b=tV5sodKf7JRDZI4pqaVGj5Z+ZDWJnJFAJg/c99lKOp7QIgRBSOrgusExJ4yU/6GA5V udSxTW4S1ti0ipzNyjHKTx8G/inX6WI/Y3vPX+Z/SS8MjuUu30p32b92jiM9+WoM+5V7 QEazrarzdcLbrnH5atRMOcmpjFrZoCisQCF5E0/JuNW+6UMRN7FcJoN426jKI0bpYGRC lZIiwHZrnvYoLJEm9VsmkH/+tw2YM0ceF+e9i2ubnzjXpBSDiDt3liM4ZW2jDMY39hR/ MZHb8sT5tTmSxOCviLAHDyMcf2W2BZJd5PiW2l98tODsAAW+QNBsLxboEIPmwyWLP0De Exmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d7QEJ0pM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id a3si44697705pgg.127.2019.04.15.03.45.40; Mon, 15 Apr 2019 03:45:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d7QEJ0pM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727226AbfDOKoC (ORCPT + 99 others); Mon, 15 Apr 2019 06:44:02 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:41188 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbfDOKoB (ORCPT ); Mon, 15 Apr 2019 06:44:01 -0400 Received: by mail-lf1-f65.google.com with SMTP id t30so12670024lfd.8 for ; Mon, 15 Apr 2019 03:44:00 -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=zPcRJN1/NzE6gNtSRy+MJcIXRb2hexYCT1b0WmO6hYU=; b=d7QEJ0pMzQFYzjYWTgqOtQJwQwjwhewLQeVGN+jM39bsQV6azez2oVHqnEWLxx9fzQ tOjpYoc33JOP7aVJFwx1T686wASmefpvDwD1bi8xpeRuL0dv9QENmeqJFznFMUjQ9mdC jgZz3/2HRmifykVsczRQh6YguYMsBsD39JrQh7JIJHZ+EC27W7DfL9ivuHETD12NkDAs RqSBDEwV4hfvp7m7ZEaeTPUEGbiMnXNP5ycetYQho6qgvOr5puPLbmzvGaB99jQQPst2 wpK3PqbH4+Jj96OflWAWi0QRNvlUGXaZDgVn1M+dA6ltFpMcVEDpMDNIylad6z61e9e3 e1WQ== 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=zPcRJN1/NzE6gNtSRy+MJcIXRb2hexYCT1b0WmO6hYU=; b=jwIqtgiPeAp5LeJNfSAoZXkry3tFK74irzamYi3ZzsTCyVYuN4hmJNOO0RI0XYK+4N eeX4Nmr2IjkUObJQBNaoIk3QVbf8ob9PIUuySN5IR8P+y4rUjHJyleuwXBTxlvD5aTeE TP6ohPpOfWRmEHT0zDcDnut1zHAbPAOE4+eHHE1XgjSC/y1KrFEEuA8HVx5R+LYPJHpN L74sZkK7nQ+UjDvIdyVTMSOQzXu94cmICaMVLaQf6aMs2hCRcDXoUP3bDwgpyBWavP8+ nXH9nYlGU+trvTdom/QdsEUJ0hXBHmI87o6jWOcwn5p0U1PnYI0p4SEkZec+3akW3Oq+ 9O4w== X-Gm-Message-State: APjAAAWwAXpa7ArgA6JXvhW0wuopmt9YAAA55TQAG2mRd4/IoeZattE8 7J1srJCapTXFr6FHh3Xbfe53Gg== X-Received: by 2002:a19:f81a:: with SMTP id a26mr7861013lff.63.1555325039504; Mon, 15 Apr 2019 03:43:59 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id k21sm9812596ljk.21.2019.04.15.03.43.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Apr 2019 03:43:58 -0700 (PDT) From: Georgi Djakov To: robh+dt@kernel.org, bjorn.andersson@linaro.org, georgi.djakov@linaro.org Cc: 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 v2 0/4] Add QCS404 interconnect provider driver Date: Mon, 15 Apr 2019 13:43:53 +0300 Message-Id: <20190415104357.5305-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. v2: - Use the clk_bulk API. (Bjorn) - Move the port IDs into the provider file. (Bjorn) - Use ARRAY_SIZE in the macro to automagically count the num_links. (Bjorn) - Improve code readability. (Bjorn) - Add patch [4/4] introducing a qcom,qos DT property to represent the link to the MMIO QoS registers HW block. v1: https://lore.kernel.org/lkml/20190405035446.31886-1-georgi.djakov@linaro.org/ Bjorn Andersson (1): interconnect: qcom: Add QCS404 interconnect provider driver Georgi Djakov (3): dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings arm64: dts: qcs404: Add interconnect provider DT nodes dt-bindings: interconnect: qcs404: Introduce qcom,qos DT property .../bindings/interconnect/qcom,qcs404.txt | 76 +++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 25 + drivers/interconnect/qcom/Kconfig | 8 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/qcs404.c | 559 ++++++++++++++++++ .../dt-bindings/interconnect/qcom,qcs404.h | 88 +++ 6 files changed, 758 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt create mode 100644 drivers/interconnect/qcom/qcs404.c create mode 100644 include/dt-bindings/interconnect/qcom,qcs404.h