Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2479186pxu; Fri, 18 Dec 2020 14:31:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwA2qt2RKGuTXAJ6pMp6FyWgOl3+oB3az+rCOkWWVhzCjnr80s+QNc8IwCsiw7DoWpzdg0q X-Received: by 2002:a17:907:1009:: with SMTP id ox9mr6155187ejb.37.1608330717399; Fri, 18 Dec 2020 14:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608330717; cv=none; d=google.com; s=arc-20160816; b=p6ETg0MFb6170KmR0nhl4gHXULSpN/tBbF6Jd7K2BoIoyk9JHRsLqTF3gozUIziohb RQG7sygy/U02dPO5KBnO1vnciEY/mRQCs1d0Y0NINUHhQMwHYwRTO1C3Ls65G87CLtpd Y2w9a/xAb/1jHOzrxsn+LDc2vEwjnKwremwXUXSh0ICFC2c0Ap19KmOPklNqNg31fKus vT8Ha8HfvpVtE9r5j2x8MtKvhbcaj8xL1KKEfHjji1sJR1HW5jPxxDpRg7Mn+6I3eEvb 0aU97A7ZyBv08dxrK9ncDJ5HqbdmIrhzGOGwXQ/UCS+96pnMRvFg94LIOBElLkuSLt1o uoJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AeoDRJ07r4StDFakLZUCNksWwvbPbMV/k68r5WbQS/w=; b=OeNuusFc/BeyFWUhh20JWgwcDHUpTvEqHswt/ogythrhs/HwqhlKBbX6oQcmp5EfgL PbXpN906GRKgZOcIL1lKfVN3CC1N16MVDePRqKiSrfP2QuNgXEL9aBGFNog1jU8IoEjl 23dgIUA6dK4IM+qUVmPaVbO7PYLRRJ0l8MpYkBQGfUY+/zrrQJLN4D4zgNnqT/9fkWZx 5wiBCSBIDikknIEBZY5jNq6koxGoQRmqyOK8HpH8AZL1DF8EK7NIz40BcamLe0p6Zqbd ul4Hj+sIpsOW5XlBTeWumEDE3d22yPOAcSv6OzZSn8g3MhIE9BBKquioeW24hqk8oit7 Lrdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si6976078edx.272.2020.12.18.14.31.34; Fri, 18 Dec 2020 14:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbgLRW3n (ORCPT + 99 others); Fri, 18 Dec 2020 17:29:43 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:52082 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbgLRW3n (ORCPT ); Fri, 18 Dec 2020 17:29:43 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 708001C0B7D; Fri, 18 Dec 2020 23:29:00 +0100 (CET) Date: Fri, 18 Dec 2020 23:29:00 +0100 From: Pavel Machek To: Guido =?iso-8859-1?Q?G=FCnther?= Cc: Catalin Marinas , Will Deacon , Bjorn Andersson , Shawn Guo , Li Yang , Vinod Koul , Anson Huang , Geert Uytterhoeven , Michael Walle , Krzysztof Kozlowski , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware Message-ID: <20201218222900.GA16661@duo.ucw.cz> References: <20201127200908.GA1162@amd> <20201128191019.GB6719@bogon.m.sigxcpu.org> <20201128205848.GA20920@duo.ucw.cz> <20201129114609.GA3242@bogon.m.sigxcpu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20201129114609.GA3242@bogon.m.sigxcpu.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > > Patches are on top of Shawn's imx/defconfig > > > >=20 > > > > Thanks for bringing support for your hardware to the mainline. > > > >=20 > > > > Can I ask phone-devel@vger.kernel.org to be cc-ed for phone-related > > > > changes? > > >=20 > > > Good point. Done with v3. > > >=20 > > > > How complete is the support? > > >=20 > > > The components enabled should work in 5.11 (there's some LCD/DSI patc= hes > > > in flight (that's why i did not send the corresponding DT addition ye= t) > > > and we need to submit a DT for Evergreen (imx8mq-librem5r4). > > >=20 > > > https://git.sigxcpu.org/cgit/talks/2020-debconf-mobile/plain/talk.pdf > > >=20 > > > is a bit outdated but has some numbers starting on page 24. > >=20 > > Thanks for pointer :-). > >=20 > > > > In particular, what interface do you use to configure audio routing > > > > for the modem? > > >=20 > > > https://salsa.debian.org/DebianOnMobile-team/callaudiod manages > > > > that. > >=20 > > Does kernel provide mixer interface for callaudiod to do its job? >=20 > 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. >=20 > 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 --=20 http://www.livejournal.com/~pavelmachek --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX90tLAAKCRAw5/Bqldv6 8slvAJ96rMENwzWOxe2ZenVTUyv/Ju/fyACggUCjpeRob6iSrb5SmtRP4SF9sew= =hB1m -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--