From 86329f0719c61405a17a0e5c6c04806d234ba086 Mon Sep 17 00:00:00 2001 From: Baozhu Zuo Date: Fri, 30 Mar 2018 03:21:40 +0000 Subject: [PATCH] Fix 2mic hat install failed --- seeed-2mic-voicecard-overlay.dts | 41 ++----------------------------- seeed-2mic-voicecard.dtbo | Bin 3465 -> 2392 bytes 2 files changed, 2 insertions(+), 39 deletions(-) diff --git a/seeed-2mic-voicecard-overlay.dts b/seeed-2mic-voicecard-overlay.dts index 5aee876..1bb5d7f 100644 --- a/seeed-2mic-voicecard-overlay.dts +++ b/seeed-2mic-voicecard-overlay.dts @@ -38,44 +38,8 @@ }; }; + fragment@3 { - target = <&sound>; - master_overlay: __dormant__ { - compatible = "simple-audio-card"; - simple-audio-card,format = "i2s"; - simple-audio-card,name = "seeed-2mic-voicecard"; - simple-audio-card,bitclock-master = <&dailink0_master>; - simple-audio-card,frame-master = <&dailink0_master>; - status = "okay"; - simple-audio-card,widgets = - "Microphone", "Mic Jack", - "Line", "Line In", - "Line", "Line Out", - "Speaker", "Speaker", - "Headphone", "Headphone Jack"; - simple-audio-card,routing = - "Headphone Jack", "HP_L", - "Headphone Jack", "HP_R", - "Speaker", "SPK_LP", - "Speaker", "SPK_LN", - "LINPUT1", "Mic Jack", - "LINPUT3", "Mic Jack", - "RINPUT1", "Mic Jack", - "RINPUT2", "Mic Jack"; - - - simple-audio-card,cpu { - sound-dai = <&i2s>; - }; - dailink0_master: simple-audio-card,codec { - sound-dai = <&wm8960>; - clocks = <&wm8960_mclk>; - clock-names = "mclk"; - }; - }; - }; - - fragment@4 { target = <&sound>; slave_overlay: __overlay__ { compatible = "simple-audio-card"; @@ -114,8 +78,7 @@ }; __overrides__ { - alsaname = <&master_overlay>,"simple-audio-card,name", - <&slave_overlay>,"simple-audio-card,name"; + alsaname = <&slave_overlay>,"simple-audio-card,name"; compatible = <&wm8960>,"compatible"; master = <0>,"=2!3"; }; diff --git a/seeed-2mic-voicecard.dtbo b/seeed-2mic-voicecard.dtbo index cbb75ab98293de5be3da45d6cf1656913ab4b8cc..904c04d8c6770526fbbadb3bc154c528d9297efd 100644 GIT binary patch delta 432 zcmYjNJxjw-6n!sAO_Q`#OFsxj2P@hSFafDl=+Hqy1aY;4gtXKTOj@Z$Q5;;|gyZH? z@E17w7epPLq_cyYpsNJ&zG%Swn!v2CIq42t*(FI_V=1zJJe#SM&)S? z)G{yPNws(dfm*g})^^X`@!Oq#eZg{^?oqqvxhIYzY{F%eYwh0*?xOX`1{E6!qIvai z9&R*)nwE%5z#$`t*6n@E65mjGCY4|4$sGjo`Pp& jHKD|%441|i9%HMf?;iHsJ$CF@mlka&{Fh&j<@m}E1&Ult delta 937 zcma)4&ubGw6rP#Q?ly#=Nu#t>+DOo*smTTtrHurNA{NEsQL4C3Hfve3lP#OIn3IAE z_UhA<2M_)O>Olnm06hv`lwO2-61)k52k}j^+a!cSAH1FS<9pw}nfJb?w`cO7lmC7Z zlH4YQED@4;jb|P;g?bnjg?_{My*GKC!mg5m3-mh}v;bGxwBGc5!P@}{c569?&`%PM zs-Q~$=a8?Wo%UM1i>DNcxsLES{9p}6bFiwsfQPXR{84g@*5O#JRG@VPu@H=e^ipWc zVkD$%!g5<^6UeY-T7@y51e)7~hr2`sw2p zd7{YIp{CjCiU!Q8DQZDkHK+%-)y4XjamVKy!fppE6~i>cX_=<1lW$VS(#QK?47jGx zRi_Z~e1NDTi??O_F7J-Ayc)tlR?EVUnpJV9=-a1SZf{Kr+KI#{u#)I^as;98;HH+N zAK-y@j()`N9PDUQr2=NY42mkXfcqPEP%D!`u(}t7q<&^$?4HqTM)!_Z6Rzm