[PATCH] arm64: dts: renesas: sparrow-hawk: tidyup MSIOF Sound setting samples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sparrow Hawk has Headset (CONN3) AUX_IN (CONN4) for Sound input/output
which is using MSIOF. It needs DA7212 codec setting to use it, and
is difficult to understand for beginner. Let me explain a little more
in detail.

Suggested-by: Yusuke Goda <yusuke.goda.sx@xxxxxxxxxxx>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
---
 .../dts/renesas/r8a779g3-sparrow-hawk.dts     | 24 ++++++++++++-------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
index e3684ecc3e04d..6955eafd8d6ab 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
@@ -12,20 +12,28 @@
  *	> amixer set "Headphone" on
  *	> amixer set "Mixout Left DAC Left"  on
  *	> amixer set "Mixout Right DAC Right" on
+ *	> aplay xxx.wav
  *
  * for Capture (Aux/Mic)
- *	> amixer set "Aux" on
- *	> amixer set "Aux" 80%
+ *
+ *		on/off (B)
+ *	CONN3 (HeadSet) ---+----> MSIOF1
+ *			   |
+ *	CONN4 AUX ---------+ on/off (A)
+ *
  *	> amixer set "Mixin PGA" on
  *	> amixer set "Mixin PGA" 50%
  *	> amixer set "ADC" on
  *	> amixer set "ADC" 80%
- *	> amixer set "Mixin Left Aux Left" on
- *	> amixer set "Mixin Right Aux Right" on
- *	> amixer set "Mic 1" on
- *	> amixer set "Mic 1" 80%
- *	> amixer set "Mixin Left Mic 1" on
- *	> amixer set "Mixin Right Mic 1" on
+ *	> amixer set "Aux" on				^
+ *	> amixer set "Aux" 80%				| (A)
+ *	> amixer set "Mixin Left Aux Left" on		|
+ *	> amixer set "Mixin Right Aux Right" on		v
+ *	> amixer set "Mic 1" on				^
+ *	> amixer set "Mic 1" 80%			| (B)
+ *	> amixer set "Mixin Left Mic 1" on		|
+ *	> amixer set "Mixin Right Mic 1" on		v
+ *	> arecord -f cd xxx.wav
  */
 
 /dts-v1/;
-- 
2.43.0





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux