aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-05-07 12:07:32 +0200
committerJohn Crispin <john@phrozen.org>2018-06-18 21:21:53 +0200
commitda8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d (patch)
treec8093d2f8d65636ed5a6e9b89fb68844b5ffdbc8 /target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch
parent763c0473c8137b236b6d7504b1c6df3d48f90ea4 (diff)
downloadupstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.tar.gz
upstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.tar.bz2
upstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.zip
mediatek: backport upstream mediatek patches
Signed-off-by: John Crispin <john@phrozen.org> (cherry picked from commit 050da2107a7eb2a571a8a3d0cee21cc6a44b72b8)
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch')
-rw-r--r--target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch b/target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch
new file mode 100644
index 0000000000..d92c0c50fb
--- /dev/null
+++ b/target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch
@@ -0,0 +1,50 @@
+From e6d9c3121f2a8b92bd6202d6a32e7d428990d7d7 Mon Sep 17 00:00:00 2001
+From: Ryder Lee <ryder.lee@mediatek.com>
+Date: Tue, 6 Mar 2018 17:09:29 +0800
+Subject: [PATCH 206/224] dt-bindings: clock: mediatek: update audsys
+ documentation to adapt MFD device
+
+The MediaTek audio hardware block that exposes functionalities that are
+handled by separate subsystems in the kernel. These functions are all
+mapped somewhere at 0x112xxxxx, and there are some control bits are mixed
+up with other functions within the same registers.
+
+This patch modifies example to illustrate child nodes.
+
+Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
+---
+ .../bindings/arm/mediatek/mediatek,audsys.txt | 19 ++++++++++++++-----
+ 1 file changed, 14 insertions(+), 5 deletions(-)
+
+diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
+index 9b8f578d5e19..97b304eaa47c 100644
+--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
++++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
+@@ -13,10 +13,19 @@ The AUDSYS controller uses the common clk binding from
+ Documentation/devicetree/bindings/clock/clock-bindings.txt
+ The available clocks are defined in dt-bindings/clock/mt*-clk.h.
+
++Required sub-nodes:
++-------
++For common binding part and usage, refer to
++../sonud/mt2701-afe-pcm.txt.
++
+ Example:
+
+-audsys: audsys@11220000 {
+- compatible = "mediatek,mt7622-audsys", "syscon";
+- reg = <0 0x11220000 0 0x1000>;
+- #clock-cells = <1>;
+-};
++ audsys: clock-controller@11220000 {
++ compatible = "mediatek,mt7622-audsys", "syscon";
++ reg = <0 0x11220000 0 0x2000>;
++ #clock-cells = <1>;
++
++ afe: audio-controller {
++ ...
++ };
++ };
+--
+2.11.0
+