linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: dts: meson: audio fixups
@ 2020-02-24 15:08 Jerome Brunet
  2020-02-24 15:08 ` [PATCH 1/3] arm64: dts: meson: add pdm reset line Jerome Brunet
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jerome Brunet @ 2020-02-24 15:08 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-amlogic, devicetree, linux-kernel, Jerome Brunet

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(-)

-- 
2.24.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] arm64: dts: meson: add pdm reset line
  2020-02-24 15:08 [PATCH 0/3] arm64: dts: meson: audio fixups Jerome Brunet
@ 2020-02-24 15:08 ` Jerome Brunet
  2020-02-24 15:08 ` [PATCH 2/3] arm64: dts: meson: s400: fix sound card codec nodes Jerome Brunet
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Jerome Brunet @ 2020-02-24 15:08 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-amlogic, devicetree, linux-kernel, Jerome Brunet

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

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 1 +
 arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
index 03054c478896..55d39020ec72 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
@@ -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";
 	};
 
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
index d847a3fcbc85..d4ec735fb1a5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
@@ -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";
 	};
 };
-- 
2.24.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] arm64: dts: meson: s400: fix sound card codec nodes
  2020-02-24 15:08 [PATCH 0/3] arm64: dts: meson: audio fixups Jerome Brunet
  2020-02-24 15:08 ` [PATCH 1/3] arm64: dts: meson: add pdm reset line Jerome Brunet
@ 2020-02-24 15:08 ` Jerome Brunet
  2020-02-24 15:08 ` [PATCH 3/3] arm64: dts: meson: sei510: fix sound card codec node Jerome Brunet
  2020-02-29 18:21 ` [PATCH 0/3] arm64: dts: meson: audio fixups patchwork-bot+linux-amlogic
  3 siblings, 0 replies; 5+ messages in thread
From: Jerome Brunet @ 2020-02-24 15:08 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-amlogic, devicetree, linux-kernel, 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")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 4cd2d5951822..cb1360ae1211 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -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>;
 			};
 
-- 
2.24.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] arm64: dts: meson: sei510: fix sound card codec node
  2020-02-24 15:08 [PATCH 0/3] arm64: dts: meson: audio fixups Jerome Brunet
  2020-02-24 15:08 ` [PATCH 1/3] arm64: dts: meson: add pdm reset line Jerome Brunet
  2020-02-24 15:08 ` [PATCH 2/3] arm64: dts: meson: s400: fix sound card codec nodes Jerome Brunet
@ 2020-02-24 15:08 ` Jerome Brunet
  2020-02-29 18:21 ` [PATCH 0/3] arm64: dts: meson: audio fixups patchwork-bot+linux-amlogic
  3 siblings, 0 replies; 5+ messages in thread
From: Jerome Brunet @ 2020-02-24 15:08 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-amlogic, devicetree, linux-kernel, 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")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
index 2ac9e3a43b96..168f460e11fa 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
@@ -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>;
 			};
 		};
-- 
2.24.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] arm64: dts: meson: audio fixups
  2020-02-24 15:08 [PATCH 0/3] arm64: dts: meson: audio fixups Jerome Brunet
                   ` (2 preceding siblings ...)
  2020-02-24 15:08 ` [PATCH 3/3] arm64: dts: meson: sei510: fix sound card codec node Jerome Brunet
@ 2020-02-29 18:21 ` patchwork-bot+linux-amlogic
  3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-amlogic @ 2020-02-29 18:21 UTC (permalink / raw)
  To: Jerome Brunet; +Cc: linux-amlogic, khilman

Hello:

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

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!

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

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-29 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 15:08 [PATCH 0/3] arm64: dts: meson: audio fixups Jerome Brunet
2020-02-24 15:08 ` [PATCH 1/3] arm64: dts: meson: add pdm reset line Jerome Brunet
2020-02-24 15:08 ` [PATCH 2/3] arm64: dts: meson: s400: fix sound card codec nodes Jerome Brunet
2020-02-24 15:08 ` [PATCH 3/3] arm64: dts: meson: sei510: fix sound card codec node Jerome Brunet
2020-02-29 18:21 ` [PATCH 0/3] arm64: dts: meson: audio fixups patchwork-bot+linux-amlogic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).