Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2860285ybi; Mon, 17 Jun 2019 11:35:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdshk0iI08iYxjCYv2EhSXrB0FUkaJtyxy9qXD7VYtjiOvhHOfjAuPWHjv/A2pLS1PEvGZ X-Received: by 2002:a63:5961:: with SMTP id j33mr32661884pgm.89.1560791002413; Mon, 17 Jun 2019 10:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560791002; cv=none; d=google.com; s=arc-20160816; b=z3qt0KFSh53H5FYiji6+kc1NiHOPBKw70dVIOK4J/RHZzopK586p+BQXSYagXp94Wz 69twT4eeRl3/+nWoKt/yGDvvHiSpM+qdvPWE+UrnK+TX+GC4uNvprA+wYwXI0zM5XwmQ KY1dwjd8uwhHl5lYKAC129V+BMvO0BAdd1ZiS95neLO3mqjBzR/GoI/mQknMqHQeuNJd LBWAeajXzJU5XGwTzxk3ZQYsmkqRXs5tdAknZIUsnuDXG6HdVTtVmzlOtUf5KK1qzOOA G+bZVHgPCN8pupGuByLqIMrGZW8g1cD0gBZkvJvMUBJWvfiVo92R67WkM9OB74pTggjn fpAA== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=YCw5ZGqGwDO2jRR4SKrGPJxH9VYTLoFjpJ0IDkR4FtQ=; b=XKCstxZQPQt8qWl5Xk4THDbHOJSMBeZeop+RXHbKHIKL7UEfL/YvmaL7og0y0mBqXp mCs2vh0GNhHYKBNnN0+UjCG9anudx0s48NSSGEFT8UAP5gbIzLlKpNA7di//tNsisdVH 8e+Yk/SktSjAoFCv13pxehQ3FBUSY955+GLiXVfZwDlZsUlkbavYtw70GRVLhBPLFkZC Ilz5VW3O3SsXY+/CsX4mS6Ya1OKOC+fGsOp15gr/Bahj+2gzJ+HwC9OKmA+DzHsDCpDk qlZSQWAnhFEUdYgx3r8Wi72q0EXcJhbquvznqO63CuH0xjIv8zcbnMWZEbMYD5ntRjVy 5pHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="XswRJ/R5"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si11180287pgk.379.2019.06.17.10.03.06; Mon, 17 Jun 2019 10:03:22 -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="XswRJ/R5"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726715AbfFQRDC (ORCPT + 99 others); Mon, 17 Jun 2019 13:03:02 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:47708 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbfFQRDB (ORCPT ); Mon, 17 Jun 2019 13:03:01 -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=YCw5ZGqGwDO2jRR4SKrGPJxH9VYTLoFjpJ0IDkR4FtQ=; b=XswRJ/R50SFktB+oheI64colW YsD42tCs10vzDTouy2DDJI11BUaSItpL1SPF24/rX4cygyIcmS+tbQXESWRiY+zd+IoKFFJYYFK6X OCc6MN+TKGi1WCfQPlXOCOhlpD+3IiyTarnA3PV5Gr/ceX5gyAatnSy3neQw7tP2kqs/o=; Received: from [2001:470:1f1d:6b5:7e7a:91ff:fede:4a45] (helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcv20-0002GR-3Z; Mon, 17 Jun 2019 17:02:56 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id 4F2BB440046; Mon, 17 Jun 2019 18:02:55 +0100 (BST) Date: Mon, 17 Jun 2019 18:02:55 +0100 From: Mark Brown To: Andreas Kemnade Cc: tony@atomide.com, lgirdwood@gmail.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, sboyd@kernel.org, nm@ti.com, vireshk@kernel.org, letux-kernel@openphoenux.org Subject: Re: [PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030 Message-ID: <20190617170255.GF5316@sirena.org.uk> Mail-Followup-To: Andreas Kemnade , tony@atomide.com, lgirdwood@gmail.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, sboyd@kernel.org, nm@ti.com, vireshk@kernel.org, letux-kernel@openphoenux.org References: <20190615163314.28173-1-andreas@kemnade.info> <20190617103111.GM5316@sirena.org.uk> <20190617130357.41204ff7@kemnade.info> <20190617114048.GN5316@sirena.org.uk> <20190617182743.7f40f2ee@aktux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SO+9/CRZBGNspxuY" Content-Disposition: inline In-Reply-To: <20190617182743.7f40f2ee@aktux> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SO+9/CRZBGNspxuY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 17, 2019 at 06:27:43PM +0200, Andreas Kemnade wrote: > Citing tps65950 trm page 55: > The device contains three switch-mode power supplies (SMPS): > =E2=80=A2 VDD1: 1.2-A, buck DC/DC converter (VOUT =3D 0.6 V to 1.45 V, in= steps of 12.5 mV) > =E2=80=A2 VDD2: 600-mA buck DC/DC converter (VOUT =3D 0.6 V to 1.45 V, in= steps of 12.5 mV, and 1.5 V as a > single programmable value) > you are right, they are not really continuous. So should I add these > 68 steps they have as a voltage list? There's helpers for linear mappings, you should be able to use those (see helpers.c). > I think they are nearly continuous, so we should IMHO rather take that > not that strict. I guess there are no really continuous regulators, all > have steps as voltage is specified in a limited resolution. So what is > the exact meaning of that flag here? This was added for devices with extremely high resolution interfaces like some microcontroller interfaces that take voltage values directly (mirroring the regulator API) or PWM regulators - it's for cases where enumerating all the voltages is unreasonable. The TWL4030 regulators look fairly standard in comparison. --SO+9/CRZBGNspxuY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl0Hx74ACgkQJNaLcl1U h9CWNQf+MwgfRdIW7BcriKWVMF03v0jco6sVD6U8CVZVFsKKZcsnzI2Y68Z90jGL guU08JDMRePIz7mPhlBSLqwvOIAa7oF3difVoepvu5vyNmckQho4IBpja827vHLY w7zeVoEE1GIA2X9r4SjY5d0NHVSdfbAkEGXkJCyRvJE+COGUVw2btMe42st8Yh0F qud88Wj7O1RCHzFmSzK0Q2nIbXSKNzHk7vi6spYUU9TdbloMtiGny7kG9Fto37Kf wUqHzHHJRCI9KToy7AR3M3Oy1FdmuR8GBnmDcb+Js0kGMmDvcP9+7L7gGZkZV+Pq hwbZETb/MHtSj7MqotPchV9n1Y0wIA== =cjH3 -----END PGP SIGNATURE----- --SO+9/CRZBGNspxuY--