Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1318776imm; Fri, 11 May 2018 14:31:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqsbDz1egTXBQ3IZFoh7ghdIUFbFdr43rOB6qOlEd8Fg99rQaAXtkOnOMXIvi8zZ7OlTfYi X-Received: by 2002:a62:c6d9:: with SMTP id x86-v6mr445710pfk.192.1526074317723; Fri, 11 May 2018 14:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526074317; cv=none; d=google.com; s=arc-20160816; b=I76+JiYT/+vJGgL6+A5I1ZdGw0/IQdZvsDJMB2RPmtyQe3/7nZYarutppe2izpvlP4 HTcYNswl/7M9qSo1ojMAiYXQN5rWbbP5jOcPNQYFd5tqWX1q7gdq0KBbmgWXitXR8UzL r79zT6/E/ExWowDdtMuHGcB9mm1ejTvh6WUdwQxRb40IO9rEvoi4G9PK5SPcX/Mg8bje I4swnSFiVZ2gZnURejQIQIggPw6eE6A82uz72CdWtzk1s6Q+ZReg4fjn3GcOxkkekVxr pbMsrXDORbjEp9vJvsyCwLaje++4Oklain37vepV/Eu4PuoE19hTcGoFpjlIoQjvwylU I0tg== 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=+8t4OwUEgWaePjPqV7a9v69qYOjenhhrTHDQI+vtA4A=; b=MflZhJLAT1FPE4pO6MZnFI6Se1C7XCsoeFAaZiV//4Z2mnzSIpKPmSyttInwkkKqTg yedojruXDYldOELLDbWtyp9pdqYXeG1kMp/c4oK8ZJtM5ZlBGai5EeFKwiJ0pgACfnGC HM57IWlvf8tWWPCQdG6+nVOyHCGLKh5tDWb1czvh7e8MkqHdnWDdj6bhYo6Ii2pwszEs X9OUUKzCv06ddHFFzKlV1Dk1zQj8Z3a6CXwiG+GNOgKzXQNIzDhzODSi/n7eFTTP4ejH ofdk1JcLP28Mtfd66dBY0HyVwyiZRFmhEOAYmvAOx1wLzT/N0qy+/ZIRao1WFyA+aKh7 VkoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wawjk9uY; 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 b124-v6si3339876pgc.49.2018.05.11.14.31.41; Fri, 11 May 2018 14:31: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=@chromium.org header.s=google header.b=Wawjk9uY; 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 S1752037AbeEKVaz (ORCPT + 99 others); Fri, 11 May 2018 17:30:55 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:39117 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbeEKVay (ORCPT ); Fri, 11 May 2018 17:30:54 -0400 Received: by mail-oi0-f67.google.com with SMTP id n65-v6so5926181oig.6 for ; Fri, 11 May 2018 14:30:53 -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=+8t4OwUEgWaePjPqV7a9v69qYOjenhhrTHDQI+vtA4A=; b=Wawjk9uYoUsIf2YpuDzG7RozTjIhsDdBSTK1QQxgr27cUlBvdzbu1fJEahylvlRSCH b0mqI6ikyb7z5VJ75wmCxSAma/ODq2ixVMz+reI4NaCrITAV1n2Xb2+OXvXwQgsttNZj wArZ2TC+F+Nc3bd2kXBqnuFtEJhVR1BYoHPyk= 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=+8t4OwUEgWaePjPqV7a9v69qYOjenhhrTHDQI+vtA4A=; b=OZtDTkt2lVyazsVDeJO41bHz4cFq9tk8xKmGqG+Tn/5HFs3YouDKkdIqBxOsHfs1m2 CpqUddOPxrcTYvX4V3Gxj2EkvkhU1xPDz+lOzVfLArWxLMWHwTAyMufmT0oCP8QLmYGy mFikPQI0vHDRIor75Xu+5Mi8XtplYfXO5TeBuCZAJNFH6oz4KDRqPfr3wGNYsNqjApyc CzMPDFCQGFOAGFHvglJpXEHv9+nUPiNBGc+nWTEXbQmWSOvLF+JwnJ8J2gOhZhouMu/J ZycNFkizMOlKgdmyUSPLbaTPq1nBX5FI5P4fotZHqyjmzJtkHglP5Q1offy8L7KM7D/H 6GZA== X-Gm-Message-State: ALKqPwcljYZ7828gpPG9NuOoHJvJmUdqeA6u7G3PTkrjn6Vq0/b4DbFk i3m8QLl8a2XvQLtTaMnAJoq2xcJq+gk= X-Received: by 2002:aca:618a:: with SMTP id v132-v6mr345597oib.220.1526074253542; Fri, 11 May 2018 14:30:53 -0700 (PDT) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com. [209.85.218.52]) by smtp.gmail.com with ESMTPSA id t37-v6sm2441325otf.26.2018.05.11.14.30.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 14:30:53 -0700 (PDT) Received: by mail-oi0-f52.google.com with SMTP id n65-v6so5926150oig.6 for ; Fri, 11 May 2018 14:30:53 -0700 (PDT) X-Received: by 2002:aca:4ac7:: with SMTP id x190-v6mr336942oia.11.1526074252295; Fri, 11 May 2018 14:30:52 -0700 (PDT) MIME-Version: 1.0 References: <20180309210958.16672-1-georgi.djakov@linaro.org> <20180309210958.16672-5-georgi.djakov@linaro.org> In-Reply-To: <20180309210958.16672-5-georgi.djakov@linaro.org> From: Evan Green Date: Fri, 11 May 2018 14:30:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 4/7] interconnect: qcom: Add RPM communication 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, vincent.guittot@linaro.org, skannan@codeaurora.org, Bjorn Andersson , amit.kucheria@linaro.org, seansw@qti.qualcomm.com, davidai@quicinc.com, 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 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 Fri, Mar 9, 2018 at 1:11 PM Georgi Djakov wrote: > On some Qualcomm SoCs, there is a remote processor, which controls some of > the Network-On-Chip interconnect resources. Other CPUs express their needs > by communicating with this processor. Add a driver to handle comminication > with this remote processor. > Signed-off-by: Georgi Djakov > --- > .../devicetree/bindings/interconnect/qcom-smd.txt | 31 ++++++++ > drivers/interconnect/qcom/Makefile | 1 + > drivers/interconnect/qcom/smd-rpm.c | 90 ++++++++++++++++++++++ > drivers/interconnect/qcom/smd-rpm.h | 15 ++++ > 4 files changed, 137 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom-smd.txt > create mode 100644 drivers/interconnect/qcom/Makefile > create mode 100644 drivers/interconnect/qcom/smd-rpm.c > create mode 100644 drivers/interconnect/qcom/smd-rpm.h > diff --git a/Documentation/devicetree/bindings/interconnect/qcom-smd.txt b/Documentation/devicetree/bindings/interconnect/qcom-smd.txt > new file mode 100644 > index 000000000000..14e83ed7019b > --- /dev/null > +++ b/Documentation/devicetree/bindings/interconnect/qcom-smd.txt > @@ -0,0 +1,31 @@ > +Qualcomm SMD-RPM interconnect driver binding > +------------------------------------------------ > +The RPM is a dedicated hardware engine for managing the shared > +SoC resources in order to keep the lowest power profile. It > +communicates with other hardware subsystems via shared memory > +and accepts requests for various resources. You never say what RPM or SMD stands for. RPM is Resource Power Manager, right? But I'm not in the know about SMD. Can you define these somewhere? -Evan