Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668070

[PATCH 4/5] dt-bindings: Document MIPS Broadcom STB power management nodes

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 4/5] dt-bindings: Document MIPS Broadcom STB power management nodes
Date Fri, 16 Jun 2017 23:40:01 +0200
Message-ID <tT78d-5MB-1@gated-at.bofh.it> (permalink)
References <tT78d-5MB-3@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rCA0U5TYnUuBHNM/IOqNI9BMLVjCZbgDVi3XZfPMLrk=; b=oCgQ/e8qav3RmizHS9F9Me25/xTvtp73bMzB5XuPC/GQodNeh4rPYuQCMKaABdVvRe bhptPDSjESLiU1kCYRhaNw+HM/pbWPfNj3n0oBvCJOWbhbz33eVeowE3LIfGch+YyjqJ eNFULZ802bpm1KAl3tf/wCfa3tW0V3xUQuhjZCAa9jCeu09LL+SyqS7PsnIL/1M/Ny4z pU4N0EJRitmNZoPMox6vHvV+nLkHbqz1nR7hVtTNDdBTmWlXAYeITlpm/oVPIwkTH9x6 siNNMzhMn2bZpvecKU3jEpoApeFivIjMSAWCgFuAGXJE1pNsbLw4qweU09Oj4GdUbslb fcHg==
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:in-reply-to :references; bh=rCA0U5TYnUuBHNM/IOqNI9BMLVjCZbgDVi3XZfPMLrk=; b=doB6NGN79UvnbkHchF/PoO7bjZHMKVhhK4vTzSVdHGlqqjJwvVTYMyQNNm3ujotchb AZvi/MOi5jD0TG1R0lguMVvbMWz61i3mlzrtbZMKt875c1Tv33Mx6UJ/yOmyKZJW9yuA OMO5Lx1cZGom0Q+mkHDai0nl2xtDi7R56NMRUUJWSKqqU/9nl5wgs3eA1Phq6HielIH7 YxLaLdzmxEiqq0rmbNgziJ9w0dno1Lp8i6+tMQbC1lQ0c96wE1hH1u0xn1xRms+XLSoh zkDreojMg4KvPdAdTlE0AsQ81MxE+Y+Ia7wvFM1ETiba1FWMRrSlXqyYPLvM9ByOnP4v fY+Q==
X-Gm-Message-State AKS2vOyFDCQdUhn6J/cbdPU+5ex4KXC1TT+bUOfESZJEx5B1ZwpORiLB UoaSoT4HZK8kvqZUuU4=
X-Received by 10.28.132.210 with SMTP id g201mr8629800wmd.26.1497649057057; Fri, 16 Jun 2017 14:37:37 -0700 (PDT)
X-Mailer git-send-email 2.9.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 95
Organization linux.* mail to news gateway
X-Original-Cc Florian Fainelli <f.fainelli@gmail.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Brian Norris <computersforpeace@gmail.com>, Gregory Fong <gregory.0xf0@gmail.com>, bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE), Hauke Mehrtens <hauke@hauke-m.de>, Rafał Miłecki <zajec5@gmail.com>, Ralf Baechle <ralf@linux-mips.org>, Markus Mayer <mmayer@broadcom.com>, Arnd Bergmann <arnd@arndb.de>, Eric Anholt <eric@anholt.net>, Justin Chen <justinpopo6@gmail.com>, Doug Berger <opendmb@gmail.com>, devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list), linux-mips@linux-mips.org (open list:BROADCOM BCM47XX MIPS ARCHITECTURE), linux-pm@vger.kernerl.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>
X-Original-Date Fri, 16 Jun 2017 14:37:02 -0700
X-Original-Message-ID <20170616213703.21487-5-f.fainelli@gmail.com>
X-Original-References <20170616213703.21487-1-f.fainelli@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1668070

Show key headers only | View raw


Document the different nodes required for supporting S2/S3/S5 suspend
states on MIPS-based Broadcom STB SoCs.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 .../devicetree/bindings/mips/brcm/soc.txt          | 77 ++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/Documentation/devicetree/bindings/mips/brcm/soc.txt b/Documentation/devicetree/bindings/mips/brcm/soc.txt
index e4e1cd91fb1f..f7413168d938 100644
--- a/Documentation/devicetree/bindings/mips/brcm/soc.txt
+++ b/Documentation/devicetree/bindings/mips/brcm/soc.txt
@@ -11,3 +11,80 @@ Required properties:
 
 The experimental -viper variants are for running Linux on the 3384's
 BMIPS4355 cable modem CPU instead of the BMIPS5000 application processor.
+
+Power management
+----------------
+
+For power management (particularly, S2/S3/S5 system suspend), the following SoC
+components are needed:
+
+= Always-On control block (AON CTRL)
+
+This hardware provides control registers for the "always-on" (even in low-power
+modes) hardware, such as the Power Management State Machine (PMSM).
+
+Required properties:
+- compatible     : should contain "brcm,brcmstb-aon-ctrl"
+- reg            : the register start and length for the AON CTRL block
+
+Example:
+
+aon-ctrl@410000 {
+	compatible = "brcm,brcmstb-aon-ctrl";
+	reg = <0x410000 0x400>;
+};
+
+= Memory controllers
+
+A Broadcom STB SoC typically has a number of independent memory controllers,
+each of which may have several associated hardware blocks, which are versioned
+independently (control registers, DDR PHYs, etc.). One might consider
+describing these controllers as a parent "memory controllers" block, which
+contains N sub-nodes (one for each controller in the system), each of which is
+associated with a number of hardware register resources (e.g., its PHY). See
+the example device tree snippet below.
+
+== MEMC (MEMory Controller)
+
+Represents a single memory controller instance.
+
+Required properties:
+- compatible     : should contain "brcm,brcmstb-memc" and "simple-bus"
+
+Should contain subnodes for any of the following relevant hardware resources:
+
+== DDR PHY control
+
+Control registers for this memory controller's DDR PHY.
+
+Required properties:
+- compatible     : should contain one of these
+	"brcm,brcmstb-ddr-phy-v64.5"
+	"brcm,brcmstb-ddr-phy"
+
+- reg            : the DDR PHY register range
+
+== MEMC Arbiter
+
+The memory controller arbiter is responsible for memory clients allocation
+(bandwidth, priorities etc.) and needs to have its contents restored during
+deep sleep states (S3).
+
+Required properties:
+
+- compatible	: should contain one of these
+	"brcm,brcmstb-memc-arb-v10.0.0.0"
+	"brcm,brcmstb-memc-arb"
+
+- reg		: the DDR Arbiter register range
+
+== Timers
+
+The Broadcom STB chips contain a timer block with several general purpose
+timers that can be used.
+
+Required properties:
+
+- compatible	: should contain "brcm,brcmstb-timers"
+- reg		: the timers register range
+
-- 
2.9.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 4/5] dt-bindings: Document MIPS Broadcom STB power management nodes Florian Fainelli <f.fainelli@gmail.com> - 2017-06-16 23:40 +0200

csiph-web