Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4945630imu; Tue, 29 Jan 2019 10:06:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN4AsllWX2WyEYjC5o4zRw5RfbZA8Zz+QjSHCnViHn/UsuIwAze0fklRu6VsKDs/qpdCyCuo X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10mr26997823plb.192.1548785217718; Tue, 29 Jan 2019 10:06:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548785217; cv=none; d=google.com; s=arc-20160816; b=HZECUvZxTBV4TcHfbOTCb5JZueQX5pcc4lgZW/OWakaaLOE//ozhkY4X6n8A7yLh7+ igFiwSYZQgkc2Hb/HQPduGbi3I+/TjxxZCDH7g2seA+VSHYa1jJLc+U3k6jsymIji/y4 yeSrUdHjmGdyWKtl7M5/bWiXsoqcQSb4hCHfav254ghbx8BhozN1Fp/cfBtqbNa2IZW5 5QfdO9AsE9TvsI2ypf2g6KhctwgU6k9mctkk+L3o7KrIcS4ZFI0FZyjttlZrcOlDJAqP el4fDxz3ctJ7Q/UQYSDaQriuioJzfwPgxS7P/RlAaFUK/Q/2YnmLI0XNK9M7UY/GXoq9 E0uA== 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; bh=HYU0VpPkTwAVt0GjuWhhtdSHEStCm7KcfkROMzsXPvI=; b=Uq1bt17C5LiL4BA8KwVOhc2mK7utYmScS2GYEDPde+PdVotibwJoqmES8/5Zoawe6r k0N/9/EGPj233DdXE9AUKvJ2iihrxEE3B+/MqPcVOWPMACNAmyHl3ndqBFZ9pg8/IyJo LGteOpRxohi0lLg0bCx4Pa5wBmhJ6rtVtcdZMVsfGVplFXMjtPP8f/Ag10wMJFa6O/eE GcCbkhItEGoBl1MDOQ704wrxSXJDAHUhuI1L1k0Rbgpvn9HH9XbluGFGVnBf2fWT4B4Q V61nleKyLY0X8GRpELo1t3pkVSVdAFpTMAAXFLTPW121/PefC/EPTZx1MsClF2lr+zLW UHWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=wFy4lPDD; 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 m2si36075827pgs.96.2019.01.29.10.06.37; Tue, 29 Jan 2019 10:06:57 -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=wFy4lPDD; 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 S1729005AbfA2SF4 (ORCPT + 99 others); Tue, 29 Jan 2019 13:05:56 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:48938 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726846AbfA2SFz (ORCPT ); Tue, 29 Jan 2019 13:05:55 -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=HYU0VpPkTwAVt0GjuWhhtdSHEStCm7KcfkROMzsXPvI=; b=wFy4lPDDkAVtaIMPiO3BIVmCv PhtBOslTjdMImWD8yj7dVkceyc7lyGFpVBJyPMuXHaWd8mdyk0mayz/oNEFg9Oqxw8uMq9k/YSCHu +JBXRnQb4EVX0gZhRa2JtocxtEV8XesVfojrUY6KVLk0sfaYp24ihnbvwmclZR2C5mves=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1goXlc-0000vy-7T; Tue, 29 Jan 2019 18:05:48 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 949081127D50; Tue, 29 Jan 2019 18:05:47 +0000 (GMT) Date: Tue, 29 Jan 2019 18:05:47 +0000 From: Mark Brown To: Charles Keepax Cc: Axel Lin , Liam Girdwood , linux-kernel@vger.kernel.org Subject: Re: [PATCH] regulator: lochnagar: Fix n_voltages setting for VDDCORE Message-ID: <20190129180547.GI10524@sirena.org.uk> References: <20190129030156.2024-1-axel.lin@ingics.com> <20190129095438.GJ3837@imbe.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="svExV93C05KqedWb" Content-Disposition: inline In-Reply-To: <20190129095438.GJ3837@imbe.wolfsonmicro.main> X-Cookie: What foods these morsels be! 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 --svExV93C05KqedWb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 29, 2019 at 09:54:38AM +0000, Charles Keepax wrote: > Hmm... I think this might need a little more investigation, it > does indeed fail at present (amazing that it works upto exactly 1.2V > which is common the usecase) but this feels more like a core > problem. There are indeed only 57 valid voltage settings as the > range is 0x8 - 0x41, but it seems that presently the core treats > this less as n_voltages and more like max_selector. Should we > perhaps be teaching the core to understand the min_selector > instead? We've not had a need for this before but that seems like a reasonable addition. --svExV93C05KqedWb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxQlfoACgkQJNaLcl1U h9CWCwf/ZxzfLoEjq12l4scqJJJmpfhVqlHEDdjHea26783vz7S0ktdWmF0FMQ+x tRo+YaqxCs4jk/lufyvubY3jPaurP7388NSTZg7bpcZGO9MncO9UcGYq2FgjSlkS VkKSl4qFZ9rtZbSX+Mqav7+QPpTJak+6wLbN3x0MRgMmoemOfJOZl2PjBtmqpXF9 ikRcZaBKu2u+6P2RfTE83VUrNjgLW5BbYhWnzypmu09rNLIfbnwu22mV1jp1n1oW FfVFyCtp/pJHsOVOvNJymhi7fIbVSk2gxVo76Y8oJO+N8EG26urGLgEpZiHeWJ4Q LU9tlH8DlbkVpi7Dii7duNa5ocjLbw== =SbyI -----END PGP SIGNATURE----- --svExV93C05KqedWb--