2020-11-27 16:47:19

by Guido Günther

[permalink] [raw]
Subject: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

This series enables components found on Purism's Librem 5
that are available in mainline.

- changes from v1
- As per review comments from Krzysztof Kozlowski
https://lore.kernel.org/linux-arm-kernel/CAJKOXPdEwiSTg+cMes_wes5oz2F1qEexsus6iHenuLs9SAXk6g@mail.gmail.com/
- Squash config changes into a single commit
- Add touch controller

Patches are on top of Shawn's imx/defconfig

Guido Günther (1):
arm64: defconfig: Enable more Librem 5 hardware

arch/arm64/configs/defconfig | 9 +++++++++
1 file changed, 9 insertions(+)

--
2.29.2


2020-11-27 22:28:15

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

Hi!

> This series enables components found on Purism's Librem 5
> that are available in mainline.
>
> - changes from v1
> - As per review comments from Krzysztof Kozlowski
> https://lore.kernel.org/linux-arm-kernel/CAJKOXPdEwiSTg+cMes_wes5oz2F1qEexsus6iHenuLs9SAXk6g@mail.gmail.com/
> - Squash config changes into a single commit
> - Add touch controller
>
> Patches are on top of Shawn's imx/defconfig

Thanks for bringing support for your hardware to the mainline.

Can I ask [email protected] to be cc-ed for phone-related
changes?

How complete is the support?

In particular, what interface do you use to configure audio routing
for the modem?

Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek


Attachments:
(No filename) (774.00 B)
signature.asc (188.00 B)
Digital signature
Download all attachments

2020-11-28 21:57:16

by Guido Günther

[permalink] [raw]
Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

Hi Pavel,
On Fri, Nov 27, 2020 at 09:09:08PM +0100, Pavel Machek wrote:
> Hi!
>
> > This series enables components found on Purism's Librem 5
> > that are available in mainline.
> >
> > - changes from v1
> > - As per review comments from Krzysztof Kozlowski
> > https://lore.kernel.org/linux-arm-kernel/CAJKOXPdEwiSTg+cMes_wes5oz2F1qEexsus6iHenuLs9SAXk6g@mail.gmail.com/
> > - Squash config changes into a single commit
> > - Add touch controller
> >
> > Patches are on top of Shawn's imx/defconfig
>
> Thanks for bringing support for your hardware to the mainline.
>
> Can I ask [email protected] 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.

> In particular, what interface do you use to configure audio routing
> for the modem?

https://salsa.debian.org/DebianOnMobile-team/callaudiod manages that.

Cheers,
-- Guido

>
> Best regards,
> Pavel
> --
> http://www.livejournal.com/~pavelmachek


2020-11-28 22:01:14

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

Hi!

> > > This series enables components found on Purism's Librem 5
> > > that are available in mainline.
> > >
> > > - changes from v1
> > > - As per review comments from Krzysztof Kozlowski
> > > https://lore.kernel.org/linux-arm-kernel/CAJKOXPdEwiSTg+cMes_wes5oz2F1qEexsus6iHenuLs9SAXk6g@mail.gmail.com/
> > > - Squash config changes into a single commit
> > > - Add touch controller
> > >
> > > Patches are on top of Shawn's imx/defconfig
> >
> > Thanks for bringing support for your hardware to the mainline.
> >
> > Can I ask [email protected] 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?

Best regards,

Pavel
--
http://www.livejournal.com/~pavelmachek


Attachments:
(No filename) (1.39 kB)
signature.asc (201.00 B)
Download all attachments

2020-11-29 11:50:26

by Guido Günther

[permalink] [raw]
Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

Hi Pavel,
On Sat, Nov 28, 2020 at 09:58:48PM +0100, Pavel Machek wrote:
> Hi!
>
> > > > This series enables components found on Purism's Librem 5
> > > > that are available in mainline.
> > > >
> > > > - changes from v1
> > > > - As per review comments from Krzysztof Kozlowski
> > > > https://lore.kernel.org/linux-arm-kernel/CAJKOXPdEwiSTg+cMes_wes5oz2F1qEexsus6iHenuLs9SAXk6g@mail.gmail.com/
> > > > - Squash config changes into a single commit
> > > > - Add touch controller
> > > >
> > > > Patches are on top of Shawn's imx/defconfig
> > >
> > > Thanks for bringing support for your hardware to the mainline.
> > >
> > > Can I ask [email protected] 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.

Cheers,
-- Guido


>
> Best regards,
>
> Pavel
> --
> http://www.livejournal.com/~pavelmachek


2020-12-18 22:31:57

by Pavel Machek

[permalink] [raw]
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 [email protected] 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


Attachments:
(No filename) (1.89 kB)
signature.asc (201.00 B)
Download all attachments