Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2217865imm; Tue, 10 Jul 2018 15:42:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpec+lGDzeJMbwP28OG68YRqE4bXE7/xdXgBTkQyZijyQmDwPZgXKvf5k58K2of8z8Byd2Pr X-Received: by 2002:aa7:808f:: with SMTP id v15-v6mr27656161pff.38.1531262554369; Tue, 10 Jul 2018 15:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531262554; cv=none; d=google.com; s=arc-20160816; b=KNbcgCwK3AIip/8wf6nDEt6md6t1a0NEEGXK6yXLQsnkqLp0RcQtNG9tDr8rMp/El0 qThdfe1ZDsLOTmNU1yC/UaAGcqrZg5YQbrsd7dEm8GHp24vg90VzyqNcPLKBC5vc9zNU q7s2INMfoYkMlHCzgMTRL2BRznf5WKDN4t6KuIPiuVvN+pjCuzc4BggMFHzo6yT8O6gz b7q2NdyPVfng9d5F2UDxtJ2Xi7SBaLcuFdH72pn3/B+iWZFccCs6GpEDGLNTdH4RU173 xnim3y9w0dqVWlaQJ6kIZS5hitaldJRrRsa0NiJd6PpfDMzmIzVt4+9DV378WUPxgM3c /wTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=Bl/OPW0Cbb9NhKnqwvj64bGfSynMjuNjZ3CBIRpObxU=; b=j8rc7ntJfiL6o6y5VbpJM4OJmIoNF9c3AjnggEqPYdq6KgO/2pPB4dwtnorl9Z6UpX 6PqYi2j6ktcqSZOwjvDm+uIJ2TQ1sE3hMZ0R4mzNkxqEd8y6C0EBudXURpmKdMUX/ufe y6AnoWJ8aZLlzLf3bLaUCqLhAl+6tOM9mYVWGB/5HyAmwZ1SdtDYM5yRxO7flRvl7lhq Xj0PI1tJ72kdv336b4ou+K3Nl872AmmRz2aMlm9xjp/XptW6FA/bWEwkjYPkpKCRvdSQ b8qr5nMv3Qkyhja/RI/8XgeewmExsN+Pe1MIJdsKUU/wa82Yro2fd4VKkeiZlSyDdd48 q3pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=k5VzXVnf; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si17472258plg.154.2018.07.10.15.42.18; Tue, 10 Jul 2018 15:42:34 -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=@chromium.org header.s=google header.b=k5VzXVnf; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732399AbeGJWmj (ORCPT + 99 others); Tue, 10 Jul 2018 18:42:39 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:46713 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732258AbeGJWmj (ORCPT ); Tue, 10 Jul 2018 18:42:39 -0400 Received: by mail-lf0-f65.google.com with SMTP id l16-v6so19667089lfc.13 for ; Tue, 10 Jul 2018 15:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bl/OPW0Cbb9NhKnqwvj64bGfSynMjuNjZ3CBIRpObxU=; b=k5VzXVnfonZ6vncEd0K9nsffLSaYFDjLN6eztf9SW+RPHjf5OoFB0zCJk8L2rFgUx2 hssfwv42PNkutkVeoB8rw0pRcRG3K3jF4wWz1ZpFruqMA0rUA16P4IwUD+vu31XOkeTS NfTI5tijoz78QogHcZZ2PQ+vwPS5kjUU9Flbs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bl/OPW0Cbb9NhKnqwvj64bGfSynMjuNjZ3CBIRpObxU=; b=AsqTvXCg7A0UUECOsN2NZstZQeOWn5wHU2GyRLaSDKraodRSHdD5kdoyx65eu7BvBp s2OSjLOxKFOewJC9GMT9vybCAt0vVeqWalgWoR7WIcEM99jwP7f8TLId8AdwaBwM9num oJLWn8E6hlK4CS6aWkQpAGusi85yCI9YFndLLn56K6iZ6HtBpbJ5uqKzkmpq0N2Q5Syt VI/4lGIzzwuneQ92ck0pYlmOHGe6aANGaYLKoDiiYIWldWv0oIUYjuo1pDgVvnyKEmiA TIGJqv50KEGBNl5+tfoIcjjVT4rgmf9wOH1o59+azx58tg9qV0wjHJ8OyEjpMuwePfFX rGLg== X-Gm-Message-State: APt69E35Ei08VEj5BucqTFLcTrOvOb3haOi6Vb8FUC3sLyFeHojiuNAf ubktl9SQ9zTdaUca8vOmxsmpGDg4cw0= X-Received: by 2002:a19:6d11:: with SMTP id i17-v6mr4225285lfc.103.1531262484518; Tue, 10 Jul 2018 15:41:24 -0700 (PDT) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com. [209.85.215.51]) by smtp.gmail.com with ESMTPSA id h40-v6sm92814lfi.84.2018.07.10.15.41.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 15:41:24 -0700 (PDT) Received: by mail-lf0-f51.google.com with SMTP id g6-v6so8974270lfb.11 for ; Tue, 10 Jul 2018 15:41:24 -0700 (PDT) X-Received: by 2002:a19:d754:: with SMTP id o81-v6mr3886562lfg.124.1531262115999; Tue, 10 Jul 2018 15:35:15 -0700 (PDT) MIME-Version: 1.0 References: <20180709155104.25528-1-georgi.djakov@linaro.org> <20180709155104.25528-7-georgi.djakov@linaro.org> In-Reply-To: <20180709155104.25528-7-georgi.djakov@linaro.org> From: Evan Green Date: Tue, 10 Jul 2018 15:34:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 6/8] interconnect: qcom: Add msm8916 interconnect provider driver To: georgi.djakov@linaro.org Cc: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, rjw@rjwysocki.net, robh+dt@kernel.org, Michael Turquette , khilman@baylibre.com, Alexandre Bailon , Vincent Guittot , Saravana Kannan , Bjorn Andersson , amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, mka@chromium.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, tfiga@chromium.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 8:51 AM Georgi Djakov wrote: > > Add driver for the Qualcomm interconnect buses found in msm8916 based > platforms. > > Signed-off-by: Georgi Djakov > --- > drivers/interconnect/Kconfig | 5 + > drivers/interconnect/Makefile | 1 + > drivers/interconnect/qcom/Kconfig | 10 + > drivers/interconnect/qcom/Makefile | 2 + > drivers/interconnect/qcom/msm8916.c | 499 ++++++++++++++++++++++++++++ > 5 files changed, 517 insertions(+) > create mode 100644 drivers/interconnect/qcom/msm8916.c > > diff --git a/drivers/interconnect/Kconfig b/drivers/interconnect/Kconfig > index a261c7d41deb..07a8276fa35a 100644 > --- a/drivers/interconnect/Kconfig > +++ b/drivers/interconnect/Kconfig > @@ -8,3 +8,8 @@ menuconfig INTERCONNECT > > If unsure, say no. > > +if INTERCONNECT > + > +source "drivers/interconnect/qcom/Kconfig" > + > +endif > diff --git a/drivers/interconnect/Makefile b/drivers/interconnect/Makefile > index 97fca2e09d24..7944cbca0527 100644 > --- a/drivers/interconnect/Makefile > +++ b/drivers/interconnect/Makefile > @@ -1,2 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0 > obj-$(CONFIG_INTERCONNECT) += core.o > +obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/ > diff --git a/drivers/interconnect/qcom/Kconfig b/drivers/interconnect/qcom/Kconfig > index b0c2ff928d88..a87afdef1bf7 100644 > --- a/drivers/interconnect/qcom/Kconfig > +++ b/drivers/interconnect/qcom/Kconfig > @@ -2,6 +2,8 @@ config INTERCONNECT_QCOM > bool "Qualcomm Network-on-Chip interconnect drivers" > depends on INTERCONNECT > depends on ARCH_QCOM || COMPILE_TEST > + help > + Support for Qualcomm's Network-on-Chip interconnect hardware. > > config INTERCONNECT_QCOM_SMD_RPM > tristate "Qualcomm SMD RPM interconnect driver" > @@ -9,3 +11,11 @@ config INTERCONNECT_QCOM_SMD_RPM > help > This is a driver for communicating interconnect related configuration > details with a remote processor (RPM) on Qualcomm platforms. > + > +config INTERCONNECT_QCOM_MSM8916 > + tristate "Qualcomm MSM8916 interconnect driver" > + depends on INTERCONNECT_QCOM > + select INTERCONNECT_QCOM_SMD_RPM I'm not a kconfig expert, maybe someone else could chime in. I have this impression that folks don't like select. Is there a way to do this with depends instead? If I'm way off here, ignore me.