From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755911AbcLNNVa (ORCPT ); Wed, 14 Dec 2016 08:21:30 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:43096 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755424AbcLNNV2 (ORCPT ); Wed, 14 Dec 2016 08:21:28 -0500 Date: Wed, 14 Dec 2016 13:21:08 +0000 From: Mark Brown To: Doug Anderson Cc: Matthias Kaehlcke , Liam Girdwood , Brian Norris , Javier Martinez Canillas , Rob Herring , Mark Rutland , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Message-ID: <20161214132108.3d36vuxpcrc2b7v2@sirena.org.uk> References: <20160915143945.GJ27974@sirena.org.uk> <20160915180223.GE62872@google.com> <20160916163253.GA10189@sirena.org.uk> <20160924184133.seh6v6eayt7hwgue@sirena.org.uk> <20161028181521.ywzmow6bgndfotq3@sirena.org.uk> <20161212211502.GA96889@google.com> <20161213171904.ohsxc3xhscdinctt@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ilxnpwozouoj7lua" Content-Disposition: inline In-Reply-To: X-Cookie: I represent a sardine!! User-Agent: NeoMutt/20161126 (1.7.1) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v4 4/4] regulator: Prevent falling too fast X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ilxnpwozouoj7lua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 13, 2016 at 12:00:32PM -0800, Doug Anderson wrote: > On Tue, Dec 13, 2016 at 9:19 AM, Mark Brown wrote: > > No, not unless the prior descriptions of the hardware have been wildly > > inaccurate - my understanding had been that the DCDC was a normal DCDC > > with an analogue input intended to be biased to set the output voltage > > (presumably in terms of a full rail supply) and that the PWM had been > > connected to this analogue input. If the PWM is supplying the DCDC then > > the hardware design just seems bizzare, I can't see how this would even > > work. > As you can see from the datasheet ("Adjusting the Output Voltage" > section), it is intended that you stuff a resistor to make a voltage > divider and that's how you select the output voltage. In our case the OK, that's what I thought was happening. That's definitely something that should *not* end up in ->supply, that should hold the parent supply that the DCDC is regulating down to the target voltage. --ilxnpwozouoj7lua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlhRR0MACgkQJNaLcl1U h9AVAAf/Umm5lv/6aFHU+qrSgt2HEatXnEesu2gXcbFCRSYPPaFaIYdNmP0wuaU3 hdtIW0Ay1QtmFT4u7+lfQkI3jo4Df68ZhNdhOiYJ5YNKY92kJZxGRemX1niaIEgx 8ojPMg0zbsjWT/6noiCj2iqHRQfMV3vGNgzU8qVphDW53d67TJZkk1fev4W2sJX/ bls1imiRaV7XNdDv2m7y1DwGS/giZ1usKQL5EMyw8LybcWTDDMrTJ8HBSChmSlzu 1uNYRI2Qfl3XHenM6MUjOnNi9qDf8pmzC/uPD27uMPawRHm8jpgQoSMSEjnatbRI 9iw937/zJ5Ber0OEgVzq7hDAFwd7mw== =kA9n -----END PGP SIGNATURE----- --ilxnpwozouoj7lua--