Skip to contentSkip to conversation

arm64: dts: meson: audio fixups

PATCH Applied Jerome Brunet 2 participants 5 messages Feb 24, 2020 – Feb 29, 2020

Subsystems (2)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

cover arm64: dts: meson: audio fixups

This patchset provides 3 minor fixups related to Amlogic audio devices. While related to the same topic, these fixups are independent. They just improve the compliance with DT spec and schema,so no functional change is expected.

Jerome Brunet (3):
arm64: dts: meson: add pdm reset line
arm64: dts: meson: s400: fix sound card codec nodes
arm64: dts: meson: sei510: fix sound card codec node

 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts    | 6 +++---
 arch/arm64/boot/dts/amlogic/meson-g12.dtsi        | 1 +
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 +-
 arch/arm64/boot/dts/amlogic/meson-sm1.dtsi        | 1 +
 4 files changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.24.1
author reviewer
#1 lore raw

PATCH 1/3 arm64: dts: meson: add pdm reset line

Add the reset line of the PDM device to g12 and sm1 SoCs.

---
 arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 1 +
 arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12.dtsi +1 -0
index 03054c478896..55d39020ec72 100644
@@ -56,6 +56,7 @@ pdm: audio-controller@40000 {
 			 <&clkc_audio AUD_CLKID_PDM_DCLK>,
 			 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
 		clock-names = "pclk", "dclk", "sysclk";
+		resets = <&clkc_audio AUD_RESET_PDM>;
 		status = "disabled";
 	};
 
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +1 -0
index d847a3fcbc85..d4ec735fb1a5 100644
@@ -448,6 +448,7 @@ pdm: audio-controller@61000 {
 			 <&clkc_audio AUD_CLKID_PDM_DCLK>,
 			 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
 		clock-names = "pclk", "dclk", "sysclk";
+		resets = <&clkc_audio AUD_RESET_PDM>;
 		status = "disabled";
 	};
 };
Signature · 1 line
2.24.1
author reviewer
#2 lore raw

PATCH 2/3 arm64: dts: meson: s400: fix sound card codec nodes

In reply to Jerome Brunet

Some codec nodes of the s400 sound card are numbered with the pattern codec@XX. This pattern should be used only if there is a reg property in the node which is not case here. Change this to something acceptable.

This change is only to better comply with the DT spec. No functional changes expected.

Fixes 6f59dc1afbb2 ("arm64: dts: meson-axg: s400: add sound card")
---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +3 -3
index 4cd2d5951822..cb1360ae1211 100644
@@ -313,15 +313,15 @@ dai-link-6 {
 			dai-tdm-slot-rx-mask-1 = <1 1>;
 			mclk-fs = <256>;
 
-			codec@0 {
+			codec-0 {
 				sound-dai = <&lineout>;
 			};
 
-			codec@1 {
+			codec-1 {
 				sound-dai = <&speaker_amp1>;
 			};
 
-			codec@2 {
+			codec-2 {
 				sound-dai = <&linein>;
 			};
 
Signature · 7 lines
2.24.1


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
author reviewer
#3 lore raw

PATCH 3/3 arm64: dts: meson: sei510: fix sound card codec node

In reply to Jerome Brunet

A codec node of the sei510 sound card is numbered with the pattern codec@XX. This pattern should be used only if there is a reg property in the node which is not case here. Change this to something acceptable.

This change is only to better comply with the DT spec. No functional changes expected.

Fixes 64c10554bf9c ("arm64: dts: meson: sei510: add sound card")
---
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +1 -1
index 2ac9e3a43b96..168f460e11fa 100644
@@ -269,7 +269,7 @@ dai-link-7 {
 			dai-tdm-slot-tx-mask-3 = <1 1>;
 			mclk-fs = <256>;
 
-			codec@0 {
+			codec {
 				sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
 			};
 		};
Signature · 1 line
2.24.1
#4 lore raw
In reply to Jerome Brunet
This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Hello:

This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Quoted 11 lines · On Mon, 24 Feb 2020 16:08:09 +0100 you wrote:

This patchset provides 3 minor fixups related to Amlogic audio devices. While related to the same topic, these fixups are independent. They just improve the compliance with DT spec and schema,so no functional change is expected.

Jerome Brunet (3):
arm64: dts: meson: add pdm reset line
arm64: dts: meson: s400: fix sound card codec nodes
arm64: dts: meson: sei510: fix sound card codec node

[...]

Here is a summary with links:
- [1/3] arm64: dts: meson: add pdm reset line

    https://git.kernel.org/khilman/linux-amlogic/c/ae5eed592c38608a7f67f72c21525ae075188c69
  - [2/3] arm64: dts: meson: s400: fix sound card codec nodes
    https://git.kernel.org/khilman/linux-amlogic/c/430049239f91cc287b1e63a4e3f2e626adcb33cc
  - [3/3] arm64: dts: meson: sei510: fix sound card codec node
    https://git.kernel.org/khilman/linux-amlogic/c/65b41849e10ca6fa745ba1a5cf461911fa95267a

You are awesome, thank you!

Signature · 7 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic