[PATCH 1/1] dt-bindings: mediatek: update audio binding documentation

Kansho Nishida kansho at chromium.org
Fri Aug 13 05:19:57 PDT 2021


This patch updates audio binding documentation.
And change audio node names in dts files in the same manner.

Signed-off-by: Kansho Nishida <kansho at chromium.org>
---

 .../devicetree/bindings/arm/mediatek/mediatek,audsys.txt      | 4 ++--
 arch/arm64/boot/dts/mediatek/mt7622.dtsi                      | 4 ++--
 arch/arm64/boot/dts/mediatek/mt8183.dtsi                      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
index 699776be1dd3..409a425cbdd3 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
@@ -28,12 +28,12 @@ For common binding part and usage, refer to
 
 Example:
 
-	audsys: clock-controller at 11220000 {
+	audsys: audio-controller at 11220000 {
 		compatible = "mediatek,mt7622-audsys", "syscon";
 		reg = <0 0x11220000 0 0x2000>;
 		#clock-cells = <1>;
 
-		afe: audio-controller {
+		afe: mt7622-audio {
 			...
 		};
 	};
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 890a942ec608..a54c9cc2063d 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
@@ -590,12 +590,12 @@ uart4: serial at 11019000 {
 		status = "disabled";
 	};
 
-	audsys: clock-controller at 11220000 {
+	audsys: audio-controller at 11220000 {
 		compatible = "mediatek,mt7622-audsys", "syscon";
 		reg = <0 0x11220000 0 0x2000>;
 		#clock-cells = <1>;
 
-		afe: audio-controller {
+		afe: mt7622-audio {
 			compatible = "mediatek,mt7622-audio";
 			interrupts =  <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>,
 				      <GIC_SPI 145 IRQ_TYPE_LEVEL_LOW>;
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 9ea4c5001b1e..189e3545226e 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -1119,7 +1119,7 @@ audiosys: audio-controller at 11220000 {
 			compatible = "mediatek,mt8183-audiosys", "syscon";
 			reg = <0 0x11220000 0 0x1000>;
 			#clock-cells = <1>;
-			afe: mt8183-afe-pcm {
+			afe: mt8183-audio {
 				compatible = "mediatek,mt8183-audio";
 				interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>;
 				resets = <&watchdog MT8183_TOPRGU_AUDIO_SW_RST>;
-- 
2.33.0.rc1.237.g0d66db33f3-goog




More information about the Linux-mediatek mailing list