Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4367964ima; Mon, 4 Feb 2019 15:22:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IZvUu4wAhqaf4xaKdnJkcRiTqBVv1zf7GZOPwFjk2ZJiNn0Dyj3driBm6C/+pUdC1q9+wgb X-Received: by 2002:a63:f34b:: with SMTP id t11mr1706516pgj.341.1549322567442; Mon, 04 Feb 2019 15:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549322567; cv=none; d=google.com; s=arc-20160816; b=xHglI4I4nTy6MCe+kkBa25pxFMG5hosYSz5xg+eL8sU1fuECcIDaZ79FYOqK1cvB0o d3E8k08k+itq0FfupqRIuatqtn2Hhsu+yhkhLIzQu/dgIYXhDRF892d74gjQdrF6csNG xSMv2vTCm8C9rbXHCwSz9IKOx2LbmjnurxUVCNCO9yutq0blyDEBugtjTXDVpIfGpxvv BJPeCGxkxUJJvE5zjdwHEnVUSN4zF9xl3a84Hl7huhZub0C0ggSSG8OUwupSzto5/dsj gndShts+emmX+EdbZKzRDOZQAI1Ubw9fPGElSj9BWzXChoOXf5kBPVb9Oo1ucvAwHP2M SMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:in-reply-to :references:mime-version:from:dkim-signature; bh=H192YLgCOg+eg/Aa/pmeLZbzCL4oRUd4Ap4lq8c1OsQ=; b=sAQqBkaNoonL7YmBEsTvYpkmEkiHjVq7kpKKY9WaS9E728HCEFr26gPpVbUI0JMERN KqotGF6Q4pFnkf+vM6F3Vh3dSKHbj+Sh0A04lBmHCl4ucBlJUxhDqo6BsgArT3+tPh2C j/lbbudtn7rUAaju7LEemAgoQ67GR/dhCnNPwJ4ff9WiDyjzV32ApSfLVz5cxj6bmE1g osEVZkd56sqf4BPKCyUEFJf3fE8VsbMyoKQZCR0zyuJHlNMMPS8bi19jI2ctGxq244cn OL9OTADqUwoOzzBFd2CT9LoZKbUBi43QszhsMWZjQi2URi5yEA5Lw8Nep/mquns5vXpj MmVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=LSCiYWm1; 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 t11si678524pgv.251.2019.02.04.15.22.32; Mon, 04 Feb 2019 15:22:47 -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=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=LSCiYWm1; 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 S1728551AbfBDXP3 (ORCPT + 99 others); Mon, 4 Feb 2019 18:15:29 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38553 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726086AbfBDXP2 (ORCPT ); Mon, 4 Feb 2019 18:15:28 -0500 Received: by mail-ot1-f68.google.com with SMTP id e12so2827944otl.5 for ; Mon, 04 Feb 2019 15:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:mime-version:references:in-reply-to:date:message-id:subject:to :cc; bh=H192YLgCOg+eg/Aa/pmeLZbzCL4oRUd4Ap4lq8c1OsQ=; b=LSCiYWm16lhfE16kLG/HeKf3AJJoZn4fv7UknHbOTXR7+Or2/HW91yrIvWZ7BmvE1i 0nmOGQ0sishhnByoeTzB0QMRKX79vg7NN3OwlW10A1W6wxfvflcnK+zi45Me0o08IkXk ptap1RBGJN7Xnip873hs6cTzgbP2vvjG6pZGC1MR82VjdRhoW4kb5uCyU1BOb1j92gfN IBh6plZUIbatY3dWoYod4+WY3306hTptDKmy+J2v2u/ccNIs2KVyat2Qy8Yrp/iHLT58 Jk7n/GJ1keJKFXV+PAX2XCWpMYv0mslE51q48g8n9nrcCQ3y+rzdElSq3jPUa4nQE7YZ ZNzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:references:in-reply-to:date :message-id:subject:to:cc; bh=H192YLgCOg+eg/Aa/pmeLZbzCL4oRUd4Ap4lq8c1OsQ=; b=liqmc2GObK+rerYysGd5ySc1WuZ7hdEeOzXZBC+CE3iUBSjRsaguvgnfsHfkWhlpcV DkLWiuZ1gve8c5UdsQwyl9z+N2yhyQTW8COCNHl8Vu0V9oNg7b8aCGb6D0eTSDFzWez6 Lm8RuLjrjeaNCoqwz8EvASp1fvpO4FZQ+nWtufcjaU+wYVV/IoeuvSqUyhy6dCAG/fep qC6ZPXqsnv79trYgJ+hWqVzpy8f6z33jOVk46YOwpbD0ZrNNI1D0+CtRV8VCcUO09w4C Y7C/7v5hWyEB1M5cGzBNqQtSrsNCEugOCFRlv0dEB9qhlr6XWvIEo7X9EpbCWRA+bRHI 4YGA== X-Gm-Message-State: AHQUAuYgNPp8KZwO3EAOE4quvLd772hvfhQaSbACit31dIL3mSBZZbPt rbM7h27nxCktTrzKP44h9X1ar8NLtwSj6g== X-Received: by 2002:a05:6808:13:: with SMTP id u19mr1003385oic.57.1549322127147; Mon, 04 Feb 2019 15:15:27 -0800 (PST) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com. [209.85.210.45]) by smtp.gmail.com with ESMTPSA id a201sm8515774oii.27.2019.02.04.15.15.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 15:15:26 -0800 (PST) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-ot1-f45.google.com with SMTP id v23so2774803otk.9 for ; Mon, 04 Feb 2019 15:15:25 -0800 (PST) X-Received: by 2002:a9d:842:: with SMTP id 60mr1014778oty.22.1549322125367; Mon, 04 Feb 2019 15:15:25 -0800 (PST) MIME-Version: 1.0 References: <20190204071051.16982-1-axel.lin@ingics.com> In-Reply-To: <20190204071051.16982-1-axel.lin@ingics.com> Date: Mon, 4 Feb 2019 21:15:13 -0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] regulator: rk808: Convert rk805 buck1/2 to use linear range To: Axel Lin Cc: Mark Brown , Otavio Salvador , Elaine Zhang , Liam Girdwood , Kernel development list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 4, 2019 at 5:10 AM Axel Lin wrote: > > It looks like linear range is suitable to describe the voltage table > for rk805 buck1/2: > > selector 0 ~ 59: 0.7125V with uV_step = 12500 > selector 60 ~ 62: 1.8V with uV_step = 200000 > selector 63: 2.3V > > With this change, then rk805 buck1/2 can reuse rk808_reg_ops_ranges. > > Signed-off-by: Axel Lin Cool! Thanks for looking at that! Tested-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750