From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 309A3C38142 for ; Fri, 27 Jan 2023 12:20:53 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 095F0EC0; Fri, 27 Jan 2023 13:20:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 095F0EC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674822051; bh=zubF5hxw2biY59REpSIQyi1MVq2TZX3yBWHzKJcHgsY=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=Y6ZreUrQLl6SFZ85X503Y8SMVc3KYOqKW3HNtICTGXju+cz6c0J0dWc9Hn5bQNCPr 4mX+u+L89D618MsB9i4lAu53Betryjj3EtpfbAa1pDe0gSbFBdVrXNbg5OQOwD5XCS 2f4hNf1Hv0dFQfAf8WTSZNTWMnLXqvDwQCEOUsnU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 61E6BF802E8; Fri, 27 Jan 2023 13:20:00 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4756BF80424; Fri, 27 Jan 2023 13:19:58 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C65FBF80154 for ; Fri, 27 Jan 2023 13:19:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C65FBF80154 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=CA4az619 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 02927B82051; Fri, 27 Jan 2023 12:19:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 428F0C433EF; Fri, 27 Jan 2023 12:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674821993; bh=zubF5hxw2biY59REpSIQyi1MVq2TZX3yBWHzKJcHgsY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CA4az619VNsroI1+L26WMX2G37XeSavKkuoJzogafx38KlJ07A2APA7bH+hz+rJrL aZ017taa/gKy9u+SmYkhznbAESEvYUUhBrR8S5HC0RZFbekRluVn5LxzN9F8ZseVpP DczKpLZ/eSTwxjt66B9UnrCWftC2PZWaQgudNlwozg9Iq2LPx8uN7W+JbnWy2DwSh/ /dS1h+Xx02psOZipb1AJf2yqZULODekGVE3YUthR7miXEKLu2gdXX6OtZwKvuqShSr 57FgsvYi/3rz4b2Psz8KyRpMqtK1igzH6OCgwjD25rt+LF4dV7V9TlUiZif54iUC1Q meu2OU96+hktw== Date: Fri, 27 Jan 2023 12:19:50 +0000 From: Mark Brown To: Astrid Rost Subject: Re: [PATCH v3 2/3] ASoC: simple-card-utils: create jack inputs for aux_devs Message-ID: References: <20230123135913.2720991-1-astrid.rost@axis.com> <20230123135913.2720991-3-astrid.rost@axis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fuFuiNw5hNV4x0Gr" Content-Disposition: inline In-Reply-To: <20230123135913.2720991-3-astrid.rost@axis.com> X-Cookie: Serving suggestion. X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , kernel@axis.com, Krzysztof Kozlowski Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --fuFuiNw5hNV4x0Gr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 23, 2023 at 02:59:12PM +0100, Astrid Rost wrote: > Add a generic way to create jack inputs for auxiliary jack detection > drivers (e.g. via i2c, spi), which are not part of any real codec. > The simple-card can be used as combining card driver to add the jacks, > no new one is required. >=20 > Create a jack (for input-events) for jack devices in the auxiliary > device list (aux_devs). A device which returns a valid value on > get_jack_type counts as jack device; set_jack is required > to add the jack to the device. >=20 > Signed-off-by: Astrid Rost > --- > include/sound/simple_card_utils.h | 3 ++ > sound/soc/generic/simple-card-utils.c | 49 +++++++++++++++++++++++++++ > sound/soc/generic/simple-card.c | 4 +++ > 3 files changed, 56 insertions(+) Given that everyone is really supposed to be using the audio-graph cards for new systems this should be hooked up there too. --fuFuiNw5hNV4x0Gr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmPTwWUACgkQJNaLcl1U h9D7mwf+Igj87QjF+3lzDf5KS/kImXkgHpOujb/L88hKqV2wmVR20+aOYXJ3l16/ o88NNDzo9WM7DCHi3x/RrJT5ezFuMsxufIO5zd+dwlnAailGOLBObwM6Mc1O7xPU TWf+dfkS07QDZ4vs3+UWhRvQ4dcn1QskWFnjmnqNg7sDzmID3thA8ekDSsHtpSlF OUgBaJpaRB8d7C/iT4cHmmJ9F0lhdivdk51D50PFwFD9JLfsphSygZA8eD3nA5BH DaskyGe9RJM2bWvNk99dNjIf/QUKmtWChBaCZ5D8+6o1Iwr/ocQqeajo61vfO18d 1e3oqNMZ8X1w70OurF3732GlTToDHQ== =2ZBv -----END PGP SIGNATURE----- --fuFuiNw5hNV4x0Gr--