From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8E5FC3403B for ; Tue, 18 Feb 2020 13:49:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A887624649 for ; Tue, 18 Feb 2020 13:49:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582033770; bh=n51/KJs8L/cpLycv+iIuj87Sa4qT5s8XqN6SNM7S/NA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Id67STiuTwHjHPuLDoSTzvdiJq5lyZWJRJWOJnaevRdNi7NUidoTJHMiD22beUw7r oNcyvtlbnMc5963pVqCJNEfYCT2usdxHr8ROf89Tm+LDA51f0iUQWh/MqwX9a0mjNg oqg0kiiIKbIhVgUIi1DxfANg9hoi4Jzqjyu3Dsqs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbgBRNt3 (ORCPT ); Tue, 18 Feb 2020 08:49:29 -0500 Received: from foss.arm.com ([217.140.110.172]:52634 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbgBRNt3 (ORCPT ); Tue, 18 Feb 2020 08:49:29 -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 5B9FD1FB; Tue, 18 Feb 2020 05:49:28 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D34A53F6CF; Tue, 18 Feb 2020 05:49:27 -0800 (PST) Date: Tue, 18 Feb 2020 13:49:26 +0000 From: Mark Brown To: "Vaittinen, Matti" Cc: "mazziesaccount@gmail.com" , "mark.rutland@arm.com" , "linus.walleij@linaro.org" , "linux-kernel@vger.kernel.org" , "Mutanen, Mikko" , "sre@kernel.org" , "Laine, Markus" , "linux-pm@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [RFC PATCH 2/3] power: (regmap:) Add linear_range helper Message-ID: <20200218134926.GH4232@sirena.org.uk> References: <20b107ac6e40206b82d014a145abe0569d7a6f81.1581327762.git.matti.vaittinen@fi.rohmeurope.com> <20200211190614.GP4543@sirena.org.uk> <20200214114749.GB4827@sirena.org.uk> <375c7756fca56de4f2f85d1a1a4e0b01dadc290b.camel@fi.rohmeurope.com> <208a81c87e944c69d95da85d7fd0f3ea2bd61547.camel@fi.rohmeurope.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhtSGe8h3+lMyY1M" Content-Disposition: inline In-Reply-To: <208a81c87e944c69d95da85d7fd0f3ea2bd61547.camel@fi.rohmeurope.com> X-Cookie: No alcohol, dogs or horses. 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 --zhtSGe8h3+lMyY1M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 18, 2020 at 07:23:38AM +0000, Vaittinen, Matti wrote: > By the way - do you have some nice test cases for regulators hidden > somewhere? If so, do you think you could share them? I sure have some > for BD718x7 but they are somewhat clumsy and require special HW. (I've > never liked unit-tests but I must admit there are some specific cases > where they would be pretty usable). You can't really run tests on actual regulator drivers outside of test rigs as they're kind of important to the system they're running in. --zhtSGe8h3+lMyY1M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5L62UACgkQJNaLcl1U h9AmpQf/Sh9P3ryrmoMBEQp3tnpxxMRxZYKeqQpaMK347KrY7FF8v38AFpSwNIJJ 3fFTu3vXfSNgpf5io3pmWhwQt7P0qV6sHiAGp/HcWgbSTaWsS+WUawffc4Ktz2LY lQWg8mxosy7Ip/BKBB+h925C5id0M6afqZlgUg5ACzCYCRpGk+HPN1zb0gSeU5Oh qni/LyBFo+6ugvCuEspGStlDIIHOSD+eyUk+as8Hct1Ou/WQdqpCZH7ghhBwfbN+ IpLj7p+k6VCa2RXgrd/mdmHZQWE1x3r3JnUkpCdBCF94SXHC54khG3Syiznad9XQ UyxcwiQxUuv+DD9zP0ly2VKl6BcErg== =1sE4 -----END PGP SIGNATURE----- --zhtSGe8h3+lMyY1M--