Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754137AbbEULKo (ORCPT ); Thu, 21 May 2015 07:10:44 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:49881 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753517AbbEULKm (ORCPT ); Thu, 21 May 2015 07:10:42 -0400 Date: Thu, 21 May 2015 12:10:28 +0100 From: Mark Brown To: Dylan Reid Cc: Lars-Peter Clausen , "alsa-devel@alsa-project.org" , Heiko =?iso-8859-1?Q?St=FCbner?= , zhengxing , Takashi Iwai , "linux-kernel@vger.kernel.org" , Douglas Anderson , Xing Zheng , Liam Girdwood , linux-rockchip@lists.infradead.org, Sonny Rao , "linux-arm-kernel@lists.infradead.org" Message-ID: <20150521111028.GZ21577@sirena.org.uk> References: <1431422797-31903-1-git-send-email-zhengxing@rock-chips.com> <1431422797-31903-2-git-send-email-zhengxing@rock-chips.com> <20150512192215.GZ3066@sirena.org.uk> <55535035.5070608@rock-chips.com> <20150513164250.GB2761@sirena.org.uk> <555659DB.9010204@metafoo.de> <20150519111602.GG2761@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1RfOVxRbNnn9f8MI" Content-Disposition: inline In-Reply-To: X-Cookie: Positively no smoking. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [alsa-devel] [PATCH 1/4] ASoC: rockchip: add rockchip machine driver X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1579 Lines: 42 --1RfOVxRbNnn9f8MI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 19, 2015 at 09:37:58AM -0700, Dylan Reid wrote: > Can the jacks can each be an aux_dev? The jack driver would create > the jack at probe time and register it with the card in aux_dev->init. > cht_bsw_max98090_ti.c is already doing something similar, although all > contained in the machine driver. Yes, that's just a CODEC driver registered without any DAIs connected so it'd just be another CODEC driver. > Then simple-card can have an optional property to specify aux devs. A > GPIO jack device could handle simple switch-based jack detection. That's useful anyway for external headphone/speaker drivers. --1RfOVxRbNnn9f8MI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVXb0jAAoJECTWi3JdVIfQJUYH+gO3w1Ghdn1mUnB5DC2vOhgx 9uMgzaWOjYWjLQA1oFtQp59OXnD7bYg981hLDLea9QIHvm/rZ/IGyWcG/+SpSbPG cebVsl3tdyH7aoBawRQHV4Xp/AfXcvg9Vcn18LNm0ADGkuVETSKk1LP5BAgPZCiw HpCU+ObmTS3qFStJRyE/ah0NnvULI32wJBAWHYaklOK+cHrzi6zatGiipJ4+V0rM TKHW7WO0Pmj+2vALvgWBwCEcaiOdaDTOngiB5hWiOkg9YmrUCx5zSlRQoI+ldYgm qRPm3KLA8tws2bDqHB8o9xzBIDIGD6y6zdm6GmFtQes0u9g+plUpmlY7to7WLSI= =avT0 -----END PGP SIGNATURE----- --1RfOVxRbNnn9f8MI-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/