[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201218222900.GA16661@duo.ucw.cz>
Date: Fri, 18 Dec 2020 23:29:00 +0100
From: Pavel Machek <pavel@....cz>
To: Guido Günther <agx@...xcpu.org>
Cc: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Shawn Guo <shawnguo@...nel.org>, Li Yang <leoyang.li@....com>,
Vinod Koul <vkoul@...nel.org>,
Anson Huang <Anson.Huang@....com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Walle <michael@...le.cc>,
Krzysztof Kozlowski <krzk@...nel.org>,
Olof Johansson <olof@...om.net>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware
Hi!
> > > > > Patches are on top of Shawn's imx/defconfig
> > > >
> > > > Thanks for bringing support for your hardware to the mainline.
> > > >
> > > > Can I ask phone-devel@...r.kernel.org to be cc-ed for phone-related
> > > > changes?
> > >
> > > Good point. Done with v3.
> > >
> > > > How complete is the support?
> > >
> > > The components enabled should work in 5.11 (there's some LCD/DSI patches
> > > in flight (that's why i did not send the corresponding DT addition yet)
> > > and we need to submit a DT for Evergreen (imx8mq-librem5r4).
> > >
> > > https://git.sigxcpu.org/cgit/talks/2020-debconf-mobile/plain/talk.pdf
> > >
> > > is a bit outdated but has some numbers starting on page 24.
> >
> > Thanks for pointer :-).
> >
> > > > In particular, what interface do you use to configure audio routing
> > > > for the modem?
> > >
> > > https://salsa.debian.org/DebianOnMobile-team/callaudiod manages
> > > > that.
> >
> > Does kernel provide mixer interface for callaudiod to do its job?
>
> callaudiod handles selecting e.g. earpiece vs. speaker by selecting the
> right pulseaudio ports (it's invoked by calls (the phone call handling
> application via DBus) and only relies on the codec being an alsa
> device and hence handled by pulseaudio/alsa-ucm.
>
> Wys (https://source.puri.sm/Librem5/wys) manages the routing between the
> modem and codec by listening to ModemManager's state and connecting audio
> source and sink (again solely via pulsaudio so again just relying on
> modem and codec being alsa devices). Since the modem is not part of the
> SoC on the Librem 5 it's a completely separate device.
Aha, yep, sorry -- I forgot. I was hoping to copy solution for Librem
5 to Droid 4, but that won't work, as Droid 4 is doing audio in
hardware, while Librem does it in wys.
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists