diff options
author | John Crispin <john@openwrt.org> | 2015-11-02 10:18:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-02 10:18:50 +0000 |
commit | 25afe99b31f4ef3d835f96545e370770c230ac44 (patch) | |
tree | 5dbe83834a0a67121c557b7549a13221317f07eb /target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch | |
parent | 12e0d2737f558e886cf698e939f1758ab6a64947 (diff) | |
download | upstream-25afe99b31f4ef3d835f96545e370770c230ac44.tar.gz upstream-25afe99b31f4ef3d835f96545e370770c230ac44.tar.bz2 upstream-25afe99b31f4ef3d835f96545e370770c230ac44.zip |
mediatek: add support for the new MT7623 Arm SoC
the support is still WIP. next steps are to make the pmic and ethernet work.
this is the first commit to make sure nothing gets lost.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47354
Diffstat (limited to 'target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch')
-rw-r--r-- | target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch b/target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch new file mode 100644 index 0000000000..f7bdbd6e0c --- /dev/null +++ b/target/linux/mediatek/patches/0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch @@ -0,0 +1,57 @@ +From 06a1fd8a198771abc7c5badcf43a49a715ba4c76 Mon Sep 17 00:00:00 2001 +From: Sascha Hauer <s.hauer@pengutronix.de> +Date: Tue, 9 Jun 2015 10:47:00 +0200 +Subject: [PATCH 07/76] dt-bindings: soc: Add documentation for the MediaTek + SCPSYS unit + +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>; ++ }; +-- +1.7.10.4 + |