Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7598840imu; Mon, 3 Dec 2018 15:53:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9zmXV/1qv0v8wVppP+URmhHneAS4coIrGiRvKYCtSmak2ytBoh93KT3IouHWh8H0svQIk X-Received: by 2002:a63:31d0:: with SMTP id x199mr14783628pgx.10.1543881183412; Mon, 03 Dec 2018 15:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543881183; cv=none; d=google.com; s=arc-20160816; b=ZpjcJn5rbSl9Wd5BG4W7JnHZWWslSpt7Rkluk6fX0XsxrbQH37JENDUwjgLJj5YBA0 Q+y5Yx5Wj4w+MkDIRFk5TNX2a4bSsEmzFkI6SlpYzIdYZIpnlpHJc57lYmKqpjkFRKxL YGMcrZN2qDOHsojuuow+vHt5tmn/xbEPyf9ZQaeMqMF+6XSZX2SqtyK1jifvAbjirBf7 j6MdcV7VVbHS3fk224URLgo7xoS0cJU0hluoKtqtidkma/NLtsuPV7bPk9PdVjwQomEC rWrrq+Erp7L+mxJuR8poxerEVWVT0sltB+U7lhEI11X/qH/8y1Bklc7Z14PWRpt26+B2 gdNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7kz3YLuocRsmihqXQI9LLFbs+KxuNq5m0QiZgl78RUM=; b=RRvaxBXUD6HR+WcdtbOgC4hzDpOPp42kYvtEXduANsKXLRUAVzmixbsj0n+y6wRnys 9sx6koMwJxAq9YID0mL028nTJHgl6if21S9csr3JHUamfbdsRlzM8J0N1YuvAPjS2xOo KqTjhfsHoGvT1JCIHT9EZ2HE3PE3AqaUCeT7Ew0WNXVH/0btxyWF9FDGeiXqAjLg3f36 2bFkp6XXnDCVbUzRowiHj+7WPgXrpiJ2ZofHfpOqLiJ39ayvRWYel4CD84e4Niupr7ff 8KXyap8R2QDYT/XtQHwaAZggIyc5FkHmTIurwmUHHNoFfobJbk4YTqjuZFQCMdi1DCYy ELuQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si14842433plo.417.2018.12.03.15.52.48; Mon, 03 Dec 2018 15:53:03 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726140AbeLCXvs (ORCPT + 99 others); Mon, 3 Dec 2018 18:51:48 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46956 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbeLCXvs (ORCPT ); Mon, 3 Dec 2018 18:51:48 -0500 Received: by mail-oi1-f195.google.com with SMTP id x202so12618866oif.13; Mon, 03 Dec 2018 15:51:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7kz3YLuocRsmihqXQI9LLFbs+KxuNq5m0QiZgl78RUM=; b=RYp4jxmPIJvvcohBxHjlSxtMtPJMrta+HaiGPOnKxsOVk/g+PiKiXHe88njto3jYK8 9IwHbGm/k+Ddi3br2jKQqGoHgmtlamaF7BF5XiBnAlkzoKn5SJfw0sSngZ6TvpE27U29 BR7Jibe1ZZCXyTzvmPMEoT97q9SZnjA3fJSgJ9vn1/D9oNZDBB9irRO3ulTyK4nzyXlT rxIydtepv3EC1u6yYdLeB3ammFWehbMs4DGAdW+TJ5SyjqrMTPSVZLq9cWbn004Xlb0g genBKlT7TgVJC1lzUR/PRjhMgqj7Jk7h4UOctxXN5uN0XLWdhXYPEFcaS+bt01yWs9AX MH2Q== X-Gm-Message-State: AA+aEWYOxy4i3yPO6k9+1I187M2wGjgV+8cbCK4CcGydOBg8oyG1zfla AOv2RTG19IuhPgTJPpxWvw== X-Received: by 2002:aca:cc8b:: with SMTP id c133mr10714955oig.256.1543881107075; Mon, 03 Dec 2018 15:51:47 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id o189sm5946642oif.23.2018.12.03.15.51.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 15:51:46 -0800 (PST) Date: Mon, 3 Dec 2018 17:51:45 -0600 From: Rob Herring To: Bjorn Andersson Cc: Andy Gross , David Brown , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: soc: qcom: Add AOSS QMP binding Message-ID: <20181203235145.GA30118@bogus> References: <20181112080557.22698-1-bjorn.andersson@linaro.org> <20181112080557.22698-2-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181112080557.22698-2-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 12:05:55AM -0800, Bjorn Andersson wrote: > Add binding for the QMP based side-channel communication mechanism to > the AOSS, which is used to control resources not exposed through the > RPMh interface. > > Signed-off-by: Bjorn Andersson > --- > .../bindings/soc/qcom/qcom,aoss-qmp.txt | 63 +++++++++++++++++++ > include/dt-bindings/power/qcom-aoss-qmp.h | 15 +++++ > 2 files changed, 78 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt > create mode 100644 include/dt-bindings/power/qcom-aoss-qmp.h > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt > new file mode 100644 > index 000000000000..e3c8cb4372f2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt > @@ -0,0 +1,63 @@ > +Qualcomm Always-On Subsystem side channel binding > + > +This binding describes the hardware component responsible for side channel > +requests to the always-on subsystem (AOSS), used for certain power management > +requests that is not handled by the standard RPMh interface. Each client in the > +SoC has it's own block of message RAM and IRQ for communication with the AOSS. > +The protocol used to communicate in the message RAM is known as QMP. > + > +- compatible: > + Usage: required > + Value type: > + Definition: must be "qcom,sdm845-aoss-qmp" > + > +- reg: > + Usage: required > + Value type: > + Definition: the base address and size of the message RAM for this > + client's communication with the AOSS > + > +- interrupts: > + Usage: required > + Value type: > + Definition: should specify the AOSS message IRQ for this client > + > +- mboxes: > + Usage: required > + Value type: > + Definition: reference to the mailbox representing the outgoing doorbell > + in APCS for this client, as described in mailbox/mailbox.txt > + > += AOSS Power-domains > +The AOSS side channel exposes control over a set of resources, used to control > +a set of debug related clocks and to affect the low power state of resources > +related to the secondary subsystems. These resources are described as a set of > +power-domains in a subnode of hte AOSS side channel node. Why does this need to be a sub-node? Are there other sub-nodes needed? > + > +- compatible: > + Usage: required > + Value type: > + Definition: must be "qcom,sdm845-aoss-qmp-pd" > + > +- #power-domain-cells: > + Usage: required > + Value type: > + Definition: must be 1