Received: by 10.223.176.5 with SMTP id f5csp709942wra; Wed, 7 Feb 2018 06:20:24 -0800 (PST) X-Google-Smtp-Source: AH8x224EQrolpsjME/V0CagPJcEXFRCXNocB53NaneYSe7oEmbtMGHWZ27cmTF2ckNtrwNSHhS7I X-Received: by 2002:a17:902:5902:: with SMTP id o2-v6mr6139806pli.79.1518013224098; Wed, 07 Feb 2018 06:20:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518013224; cv=none; d=google.com; s=arc-20160816; b=edu8Re9n4+t98/M+9xWfjJmnjQ7lggAwCiJoy5aKShQYH/XlDWDNoZtuV+E+Ri8c9z 9xXjH0KyfeHqH0SA3n9bFg0G/MxEFQtl4hzX1eZyDER571WNIGUP2DenG0BeKAlgnotG vEywDi74BX7gvb35nyJUYNURxB/RDBrtm5A3mHYXdNXkBVQmLuw8a5CuIzgGlNzNid+M Ycum4LdFfrqdB6LZI25PjbsMZ+xkseT8yZZWNP8E8t/ul+x0ICT2shA0azKDnFZtV4JP Sqc9fe1T1fV96GmxafjnNgZ9eK3JyTjzcSnBdYBb3GbpjUDCMBA7eqTYyTYYUEIubKat G4VA== 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=rTWD7q2LT7Io+MfnHxGEpeUSTBG+3JE6d4TvEmE4XH8=; b=dWpDaTgwhUze/w8ojcEfkH3Lx60eyrQiTDFbDAtFLrOIirJfOveBrXm4wtzXYoAEwJ cALn3yCQP5ENOjLexcehY6jUzn21UoUbVMqI8zatMQS4SUP2MQxEeJ+sqQ3C2x28MXpz j5KrY/eGj9Cwh5hOsFenpayXmFYgl0XEUQkF584iMZ3CqkzZlpHqdStRusF/mxaCbaKG GhMyh93avohC9NQMJldITBKQ4dFwM6rIwgR2ebbLWxVviaAw7bthgYJGVvirhOKxykY6 +aHq/6ris3fKldByjwzm1rl3iHsZLnPzn1vA3H506WSMYQibUyS46//b+UeUFkCskKpI eZ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=H1fB/ZI8; 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 90-v6si1133593ple.599.2018.02.07.06.20.09; Wed, 07 Feb 2018 06:20:24 -0800 (PST) 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=H1fB/ZI8; 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 S1754353AbeBGOSx (ORCPT + 99 others); Wed, 7 Feb 2018 09:18:53 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:48590 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754008AbeBGOSv (ORCPT ); Wed, 7 Feb 2018 09:18:51 -0500 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=rTWD7q2LT7Io+MfnHxGEpeUSTBG+3JE6d4TvEmE4XH8=; b=H1fB/ZI8wzpG3eRGvWstzuQV7 MdbWDMK38G+Ktssyy+qCGGKZNlvndEDvdnpoMilteW7y2lA3Swi6JwA4B9/uqpS0vURsxOik9udyN sd8em2QYGsOyROr9LRhYoofFH4SeVKgcgHLcoUWl++LmkuyhVOLx6asZbR0IvcDS67dBw=; 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 1ejQYg-0001Jx-Rb; Wed, 07 Feb 2018 14:18:46 +0000 Received: from broonie by debutante with local (Exim 4.90) (envelope-from ) id 1ejQYg-000871-4U; Wed, 07 Feb 2018 14:18:46 +0000 Date: Wed, 7 Feb 2018 14:18:46 +0000 From: Mark Brown To: Peter De Schrijver Cc: linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Laxman Dewangan Subject: Re: [PATCH v3 01/11] regulator: core: add API to get voltage constraints Message-ID: <20180207141846.GC6003@sirena.org.uk> References: <1517934852-23255-1-git-send-email-pdeschrijver@nvidia.com> <1517934852-23255-2-git-send-email-pdeschrijver@nvidia.com> <20180206163544.GI5681@sirena.org.uk> <20180207084744.GG7031@tbergstrom-lnx.Nvidia.com> <20180207104351.GA6003@sirena.org.uk> <20180207123750.GA5850@tbergstrom-lnx.Nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2JFBq9zoW8cOFH7v" Content-Disposition: inline In-Reply-To: <20180207123750.GA5850@tbergstrom-lnx.Nvidia.com> X-Cookie: 15% gratuity added for parties over 8. User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2JFBq9zoW8cOFH7v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 07, 2018 at 02:37:51PM +0200, Peter De Schrijver wrote: > On Wed, Feb 07, 2018 at 10:43:51AM +0000, Mark Brown wrote: > > On Wed, Feb 07, 2018 at 10:47:44AM +0200, Peter De Schrijver wrote: > > > On Tue, Feb 06, 2018 at 04:35:44PM +0000, Mark Brown wrote: > > > > On Tue, Feb 06, 2018 at 06:34:02PM +0200, Peter De Schrijver wrote: > > > > > Add API to get min/max rail voltage configured from platform for > > > > > given rails. > > > > because... > > > of the next patch where this is used to retrieve the minimum rail voltage. > > And that in turn is needed for...? > To calculate the required voltage for each frequency. You're going to have to provide a much better explanation of what this is doing - right now it seems like an abuse of constraints. Client drivers can already determine if a particular voltage they want to set is available via regulator_list_voltage() and so on, that's what constraints are there to set. It sounds like you're trying to use them for something else but you're really not explaining your use case clearly. --2JFBq9zoW8cOFH7v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlp7CsUACgkQJNaLcl1U h9D8NQf9HArPCGOGdxVM2WXctuVLm1L69UeQZ4U5agoguZ9RA64DKMLKWWMWP9sm XmnSvULmxvpwoRJG0lhRGlQKnd9PpsBiKCIcIixPgWRqdjEdfV8eFd1rKlpqUgss ahAPnok+UzhsRJTXum2ibaZOyiQb6MDwyxvXvAXJrZ3fKQ68WpxMIvNLgTdx9YK0 /oEEbp4T/jSTLLm1Cf7+1OYJ64muqNh25QcxJR1S9UnlNw5qdEjUXaoQvL9XXxro Su1vPDfnb0E+W0DEIBW8wWyJLGU8nmAOFX+mbPSukmq+VwQjBMzp66khYbpgGjVQ p/CdoTHiJ+CI0E3ymlqYhkE6pkcXnQ== =IooP -----END PGP SIGNATURE----- --2JFBq9zoW8cOFH7v--