Re: [RFC PATCH 7/8] dt-bindings: sound: qcom: add Tambora WCD9378 SDCA codec
Srinivas Kandagatla <[email protected]>
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/23/26 10:14 AM, Konrad Dybcio wrote: > On 7/23/26 1:42 AM, Srinivas Kandagatla wrote: >> Describe the WCD9378 SDCA peripheral node (compatible sdw20217011000) >> driven by the wcd9378-sdca codec driver for headphone playback, headset >> mic capture and jack detection via the SimpleJack SDCA function type. >> >> WCD9378 codec can be wired up in 2 different modes. >> "mobile mode" on phone/tablet SoCs is enumerated as tx and rx device, >> each of which has dedicated control and data lines. >> "compute mode" on compute platforms such as Glymur is enumerated as >> single standard MIPI SDCA class device. > > Does this require a different hardware wiring, or is that just a > difference for the driver? If the latter, can we choose whichever > mode we want (i.e. use compute mode on the Fairphone or use mobile > mode on a laptop, depending on what the OS supports)? AFAIU, Its not possible to change it because its fused and this also brings in some physical bus level changes to soundwire aswell. Ex: on compute we have one control lane for 2 soundwire masters driving 4 data lanes. on mobile every soundwire master has dedicated control and data lanes.. Bottom line is its not possible. However w.r.t to driver given that is same IP, I wanted to explore if we can have a single driver for both. --srini > > Konrad