From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 17 Nov 2021 10:33:29 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mnHJp-00035d-At for lore@lore.pengutronix.de; Wed, 17 Nov 2021 10:33:29 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnHJn-0001RC-Rn for lore@pengutronix.de; Wed, 17 Nov 2021 10:33:29 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:References: Cc:To:From:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sjgIUkLT2g2qGZ+XEF1ec7ADWAd7dbDOz3xg3Hwk9Z4=; b=mM4LT3tzjuTiUoRU+CzG3+fZMm H8cnGurStm3hIej51sdOmlAO5hIVwRAdqXHo0yLIrlAH/AEIEX//z9RNjXq4nMCzXvqwxQw1xVjaS AcZXFZJfA9fr8o/XivngjQZODWqSFXZuO6m8WTUbioUOqQlGnrWp6O/Iv6/fqzIFIUmTJlfA+GFV+ yRqJB4M6EaFC9UseyxAjxufUSmv0hcnnhn0HWYp8la1JEV8aZ1yHDl37BFfWeNVGHt1wrS9TI1wXC 9+eTkweUm5+LYwMaQGeLSq/auHi9pZnbx7lqQ2tNPVPs9IQPdHaYjGpBd/WBmgSEx3lrJeljguZxt Jcq6ixRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnHHn-004GQa-PP; Wed, 17 Nov 2021 09:31:24 +0000 Received: from cpanel.siel.si ([46.19.9.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnHFm-004Feo-F7 for barebox@lists.infradead.org; Wed, 17 Nov 2021 09:29:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:References:Cc:To:From:Subject:Sender:Reply-To: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=uYlWZV3QJI3fIL/DthMrNhI9nyeyPEx0qww4W2hn8b4=; b=TUVlJNNBDQ2FhKI1GGhoThtxep jklZNmB1/gTfEx5xjtn4M678d+tyCnVGeSaHeMuqKtKi2K+F5dPeMKtJmYWevwRe9lSQPhdcfIDW6 dCP/qWdKhyWfjW32rJauK7RNwj39AXqA5NFWMkYrAwbU/ZKeXr0BkBLv53slrxiBoeaEU8SA9/kaO mFrD3dKCO2oAGqP7XTMvy5YH2T3vm0nMX6SV5ZopvaE/niQLJePwqUV0/BPetGTdQPAHGH6SQNhuC qQLrmI2/L86rnzxd8/UBeEEW+8Jdks+YhxBnw0kJ0LXCoWBieT0sGHUEx69/Zgf7cmtoaVec0U88W A3XjX4xw==; Received: from [89.212.21.243] (port=38380 helo=[192.168.69.215]) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mnHFY-003UZy-3v; Wed, 17 Nov 2021 10:29:12 +0100 From: Andrej Picej To: Sascha Hauer Cc: barebox@lists.infradead.org, Y.Bas@phytec.de, s.riedmueller@phytec.de References: <20211115130208.619443-1-andrej.picej@norik.com> <20211115130208.619443-4-andrej.picej@norik.com> <20211117072118.GH6556@pengutronix.de> Message-ID: Date: Wed, 17 Nov 2021 10:29:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211117_012918_878140_2D3713FB X-CRM114-Status: GOOD ( 25.95 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH 3/5] regulator: allow use of dummy regulator X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-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X3BhcmVudChub2RlKTsKPiArICAgICAgICAgICAgICAgaWYgKG9m X2dldF9wcm9wZXJ0eShub2RlLCAiYmFyZWJveCxhbGxvdy1kdW1teS1zdXBwbHkiLCBOVUxMKSB8 fAo+ICsgICAgICAgICAgICAgICAgICAgb2ZfZ2V0X3Byb3BlcnR5KG5vZGVfcGFyZW50LCAiYmFy ZWJveCxhbGxvdy1kdW1teS1zdXBwbHkiLCBOVUxMKSkgewo+ICsgICAgICAgICAgICAgICAgICAg ICAgIGRldl9kYmcoZGV2LCAiQWxsb3cgdXNlIG9mIGR1bW15IHJlZ3VsYXRvciBmb3IgIiBcCj4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiJXMtc3VwcGx5XG4iLCBzdXBwbHkpOwo+ ICsgICAgICAgICAgICAgICAgICAgICAgIHJpID0gTlVMTDsKPiArICAgICAgICAgICAgICAgICAg ICAgICBnb3RvIG91dDsKPiArICAgICAgICAgICAgICAgfQo+ICsKPiAgICAgICAgICAgICAgICAg cmV0dXJuIEVSUl9QVFIocmV0KTsKPiArICAgICAgIH0KPiAgCj4gICAgICAgICBsaXN0X2Zvcl9l YWNoX2VudHJ5KHJpLCAmcmVndWxhdG9yX2xpc3QsIGxpc3QpIHsKPiAgICAgICAgICAgICAgICAg aWYgKHJpLT5ub2RlID09IG5vZGUpIHsKCkJSLApBbmRyZWoKCl9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fCmJhcmVib3ggbWFpbGluZyBsaXN0CmJhcmVib3hA bGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xp c3RpbmZvL2JhcmVib3gK