Received: by 10.192.165.156 with SMTP id m28csp757294imm; Thu, 19 Apr 2018 07:07:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+9vVRvuplWOrK5oDZ+8mqLuc5kuJks93YA8MJiKX1ZutxAWGYn7ZNSUGf0XkyI6Y6cxOwu X-Received: by 2002:a17:902:1aa:: with SMTP id b39-v6mr3019916plb.120.1524146830409; Thu, 19 Apr 2018 07:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524146830; cv=none; d=google.com; s=arc-20160816; b=VeE3y/98rVmYKXQYljwxNkNg8MsOzTOTlINEA4TIDIaKo1+LGyiMiq0oVIBR4tSR6g Y8M3x+EEXlvpuMdM6Rh5dmujM9YhqdhZUVNHc88is0ABdoVbSzWhC4lN6BznOXUMdKaE 6K7YDCHWT8uPffDPAXfMfidZmFnYLiq9yEP5Fo3+r4vG0PiSpPT9E3LxUcTP0zWgTGvs 1PFnWrWHIr5DWxuw4agXJiLJPyetvz92c26+w2InBNXgqrDjTN0hd84J0xyMZ/cDzDHb YkNXDUKXSgjUm3KO0ZYe73ehAWWjo6PhYUrzKQwab0IA/AYHDs9E1CFEGSOxAyKHenJs ru6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=g7Q/wgZhjE4guQLHV7KbCS2PDkhA7ZgXMvPENfm9z8o=; b=J2v1E/suZiE8fviXBzndCnjHUSZsVPkiIGcqE6Lg3vAa78SdLapNB7h9pkuNe7P6Yu Q83XwfLHpp70+D5vbi4y+GqNuUNK3h3dftuVJ/JOcVH21AofJ603bIEQw+LCOY8/itiw 8R09Ys7ulfJT+WWuzmS91EgYsNfoqKXkcOTB1gwNXPG2Td8sxQ2iuuaajhCAyrBweYao L69700xtCreetHCiH3lWgeVDSrtpIhXhH+ei9nEFd9tOzvYuAT/Byy8k0S9oyij6GQna WjSPv5B0coqeTRLwACdq+kF12YZoR+HB0if7S2ORdvbVU14ZcwBDM2RPH4Rsc/2uAyss mCgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=UEQm2QRQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a61-v6si3454400plc.402.2018.04.19.07.06.55; Thu, 19 Apr 2018 07:07:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=UEQm2QRQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838AbeDSOFj (ORCPT + 99 others); Thu, 19 Apr 2018 10:05:39 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:42640 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbeDSOFi (ORCPT ); Thu, 19 Apr 2018 10:05:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g7Q/wgZhjE4guQLHV7KbCS2PDkhA7ZgXMvPENfm9z8o=; b=UEQm2QRQislswDCTS3zklbUvT Jl9D45E6IofHw8qK+LJSJTYHsQogAcmsFrZgV1PTVMrLq8D4516eqe/fdAxNnpCMmCFD6Aa0SqIJP j6n9fwCsbQEQGjfsJSmazx33PHnlph1VK2Zgd7IiR5FWjte9daNKD0KCeKhp6gEGU58g8=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9ABr-00039N-PG; Thu, 19 Apr 2018 14:05:36 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f9ABq-00049g-Iq; Thu, 19 Apr 2018 15:05:34 +0100 Date: Thu, 19 Apr 2018 15:05:34 +0100 From: Mark Brown To: Linus Walleij Cc: Charles Keepax , Liam Girdwood , "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , patches@opensource.cirrus.com, Lee Jones Subject: Re: [PATCH 16/21] regulator: wm8994: Pass descriptor instead of GPIO number Message-ID: <20180419140534.GE27188@sirena.org.uk> References: <20180212131717.27193-1-linus.walleij@linaro.org> <20180212131717.27193-17-linus.walleij@linaro.org> <20180213111147.kr4kecqbhmcoq6w2@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pY3vCvL1qV+PayAL" Content-Disposition: inline In-Reply-To: X-Cookie: We've upped our standards, so up yours! User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pY3vCvL1qV+PayAL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 19, 2018 at 03:55:35PM +0200, Linus Walleij wrote: > drivers pass an enable GPIO to the regulator core. The wm2200 > for example is just managing the LDO without the use of the > regulator framework (I guess this is technically incorrect). It's fine if it's internal to the chip and there's no realistic mechanism to replace the regulator with an off-chip one. The reason the other two CODECs have explicit regulator drivers is that they're designed to support using an off-chip regulator instead so they need to look like external regulators do. --pY3vCvL1qV+PayAL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrYoi0ACgkQJNaLcl1U h9AKUAf/UeeGkHpltDIu0mgdXSmkD4XnUmXd50ir2OkW+LyfHCtpdx8OSg6ypSBR b1YQ4VsJ9W2Rh9MgqW+uo16bx18+BZ7zSI5Q+h+hzm67tdiO69+nABwf2DOJDVMC T5iQdda1izoT5BX08DI/UhsIenio3TLyshcnZ74bi/KMqLzYd5K2gcttjTd5bWwL YDzAgYmb1kduryrABK54FPPLvTmnT5Zu03AKQdrLQf2bpk1Y84ViWb7vJU9YSSiU bcDiB/PrNVLD6gG8UJeuPmulvHHMubbqOMtrxSwSyUgNFVtvdX+VGpLcLVhLiaFg ooHvLthBRq1n01Zu6DMe+35Fptf0rA== =UYSt -----END PGP SIGNATURE----- --pY3vCvL1qV+PayAL--