Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1161131
| From | Sascha Hauer <s.hauer@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/5] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit |
| Date | 2015-06-09 10:50 +0200 |
| Message-ID | <pznon-1lp-7@gated-at.bofh.it> (permalink) |
| References | <pznon-1lp-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
.../devicetree/bindings/soc/mediatek/scpsys.txt | 34 ++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
new file mode 100644
index 0000000..87f2091
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
@@ -0,0 +1,34 @@
+MediaTek SCPSYS
+===============
+
+The System Control Processor System (SCPSYS) has several power management
+related tasks in the system. The tasks include thermal measurement, dynamic
+voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
+The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
+domain control.
+
+The driver implements the Generic PM domain bindings described in
+power/power_domain.txt. It provides the power domains defined in
+include/dt-bindings/power/mt8173-power.h.
+
+Required properties:
+- compatible: Must be "mediatek,mt8173-scpsys"
+- #power-domain-cells: Must be 1
+- reg: Address range of the SCPSYS unit
+- infracfg: must contain a phandle to the infracfg controller
+
+Example:
+
+ scpsys: scpsys@10006000 {
+ #power-domain-cells = <1>;
+ compatible = "mediatek,mt8173-scpsys";
+ reg = <0 0x10006000 0 0x1000>;
+ infracfg = <&infracfg>;
+ };
+
+Example consumer:
+
+ afe: mt8173-afe-pcm@11220000 {
+ compatible = "mediatek,mt8173-afe-pcm";
+ power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
+ };
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4] Mediatek SCPSYS power domain support Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
[PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Kevin Hilman <khilman@kernel.org> - 2015-06-16 20:20 +0200
[PATCH 4/5] ARM64: MediaTek: Add generic pm domain support Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
[PATCH 2/5] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
[PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-15 09:50 +0200
[PATCH 1/5] soc: mediatek: Add infracfg misc driver support Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
csiph-web