Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3030163ybc; Mon, 18 Nov 2019 08:26:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxJmhsMTm9Ycv/5yunY+ynzqCIqnCZneGlFI3Pe0J2oofM1X93qhwU03v3gIDrPY0dAXlPM X-Received: by 2002:a17:906:3393:: with SMTP id v19mr28574277eja.117.1574094395154; Mon, 18 Nov 2019 08:26:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574094395; cv=none; d=google.com; s=arc-20160816; b=aLcbQxVGGT6AHhTs3YWVJH16gh/aStlbW+v8696YsboUMjcXtjYlsp4sNT0H7cGC3a St+hUeKrc4fBGYMwQ0hS7CURq4GJXDbuBaEn+llxVx5Wzj5PvDC8p1AV2igqYJIGnCur 7kKcjFF+bZsLcvoXzITZjO22Fifne6ELWcAoLIstMBO/7+M4Db9bsle8ZJsJfKN3/UlI RmOUKqekvo8FNQ29QRqW1nL5ZGAZYnLnYMaTNezzmFfmU57D3ZB67I/bDX++Ab+WBz5J Zy7m1OUdk9BU/Gi4Lmcqb7iOUR3x3scyKM7NOnfdE2uu/dYzGYPAnGZg+cr2eRh320Tz 0mWQ== 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; bh=kmuqHTdEdByg7JdcRyri5xGfvLTN/1dqd1SdfYTc+UI=; b=HWi5TReCL78jUy70NYY5Ui8TUHxgGLllEFRle4SbIG3CkEujuEVNUpoqOhd1Sl0bFc AIyhb8wqr9pvtR6aDUXCoSAknGFwU5bu+uYejjAlnUGBmH3L/59DG5Y8UmEfOVYWh3Jj EkC8+XGirybbGija/keucUnW3+dol9GU5rftTwWfvwTLRkG/LuoNVOW32q72VwfcCn2K gS4KSYy4Pmyq5B2R8qrZP1Z19f7DjvwtUBqutUr8Ek+F4gSSDK3CiRPBi7bQMz+Tab/Y yTa+QOCm2EjTbVVG+lP2z2g8L4IHmESWr3ou/UUfOdeo0nwSN6fFca7wjHoGV9Olq6BN qjVw== ARC-Authentication-Results: i=1; mx.google.com; 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 z18si10254616ejw.349.2019.11.18.08.26.10; Mon, 18 Nov 2019 08:26:35 -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; 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 S1726760AbfKRQZG (ORCPT + 99 others); Mon, 18 Nov 2019 11:25:06 -0500 Received: from foss.arm.com ([217.140.110.172]:36762 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbfKRQZG (ORCPT ); Mon, 18 Nov 2019 11:25:06 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D16DEDA7; Mon, 18 Nov 2019 08:25:04 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 12FD93F703; Mon, 18 Nov 2019 08:25:04 -0800 (PST) Date: Mon, 18 Nov 2019 16:25:02 +0000 From: Mark Brown To: Matti Vaittinen Cc: mazziesaccount@gmail.com, Lee Jones , Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Mark Rutland , Liam Girdwood , Jonathan Corbet , Michael Turquette , Stephen Boyd , Linus Walleij , Bartosz Golaszewski , Alessandro Zummo , Alexandre Belloni , Mauro Carvalho Chehab , Jeff Kirsher , Wolfram Sang , Marek Szyprowski , Heiner Kallweit , Nicholas Mc Guire , Phil Edworthy , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v5 01/16] dt-bindings: regulator: Document ROHM BD71282 regulator bindings Message-ID: <20191118162502.GJ9761@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8tZVdKiiYitVG083" Content-Disposition: inline In-Reply-To: X-Cookie: no maintenance: 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 --8tZVdKiiYitVG083 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 18, 2019 at 08:53:57AM +0200, Matti Vaittinen wrote: > +#Supported default DVS states: > +#buck | run | idle | suspend | lpsr > +#-----------------------------------------------------------------------= ----- > +#1, 2, 6, and 7 | supported | supported | supported (*) > +#-----------------------------------------------------------------------= ----- > +#3, 4, and 5 | supported (**) > +#-----------------------------------------------------------------------= ----- > +#(*) LPSR and SUSPEND states use same voltage but both states have own = enable / > +# disable settings. Voltage 0 can be specified for a state to make r= egulator > +# disabled on that state. > +#(**) All states use same voltage but have own enable / disable settings. > +# Voltage 0 can be specified for a state to make regulator disabled = on that > +# state. > + > + rohm,dvs-runlvl-ctrl: > + description: | > + buck control is done based on run-level. Regulator is not > + individually controllable. See ../mfd/rohm,bd71828-pmic.yaml f= or > + how to specify run-level control mechanism. Only bucks 1, 2, 6 > + and 7 support this. > + type: boolean I don't think I saw this having the effect on set_voltage() that I'd have expected in the driver? =20 > + rohm,dvs-runlevel-microvolts: > + minimum: 0 > + maximum: 2000000 > + maxItems: 4 > + description: > + Array of voltages for run-levels. First value is for run-level= 0, > + second for run-level 1 etc. Microvolts. What's the mapping from array indexes to the names used elsewhere to support runlevels? --8tZVdKiiYitVG083 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl3Sxd0ACgkQJNaLcl1U h9CCTwf/XyyhpE5QABB0yoyT4n2JEfyYggDTfnGhWaILUDJBNnJ7inK77EpoLaGL ybxABHwiIONAnVzWxn+N2THjqO+fbukf7LO6DvYe8FCfoaIz8A6qgGm+P9IC1CWw xeWdZwGwWh63iRZ+fR422SlmmNtykgb4QHUdvwEZ9fqMhqPgRGP6YWl5RSuCnC8R oE9SPG2GlA/I4kadkV6O503q496yvB6hLiOgXWZ3yWJY2uYNYJvn0sNpd+k0iZK4 H4iyzLTOIUiD3RpLgNTPrmYXn1D/wClO+l2FqRjpzgq7tDO4xVyEOY8bTH9MrFoD 36C7jhTJbW2tecxGFK5eemuG+i4Vxg== =mxuN -----END PGP SIGNATURE----- --8tZVdKiiYitVG083--