From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators Date: Wed, 10 Feb 2016 18:43:27 +0000 Message-ID: <20160210184327.GB13270@sirena.org.uk> References: <1455023549-30836-1-git-send-email-georgi.djakov@linaro.org> <20160209222154.GB1646@linaro.org> <56BB32A9.7090002@linaro.org> <20160210183651.GH30978@codeaurora.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="j6zkAHxOZJkiczrA" Return-path: Received: from mezzanine.sirena.org.uk ([106.187.55.193]:44836 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752929AbcBJSnh (ORCPT ); Wed, 10 Feb 2016 13:43:37 -0500 Content-Disposition: inline In-Reply-To: <20160210183651.GH30978@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Stephen Boyd Cc: Georgi Djakov , Lina Iyer , lgirdwood@gmail.com, andy.gross@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org --j6zkAHxOZJkiczrA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 10, 2016 at 10:36:51AM -0800, Stephen Boyd wrote: > On 02/10, Georgi Djakov wrote: > > The purpose of this patch it to add support for 8064. Supporting other= =20 > > SoCs requires just read/writing at different offsets. To handle this we > > can convert the above defines to a table containing the offsets for each > > SoC. I don't think these are extensive changes or do i miss something? > In some designs we have to talk to the PMIC with SPMI > transactions to change the mode depending on the voltages. How do > we plan to handle that case where the regulator control is split > between two busses, SPMI and MMIO? Mixed control interfaces are in general a diaster with Linux, I'd suggest remonstrating with your system designers about doing them but in this case since it's a syscon presumably you could hang the device off the SPMI bus in the cases where that's in use. --j6zkAHxOZJkiczrA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWu4TNAAoJECTWi3JdVIfQDqIH/0saSldQtla3sjpfougoSEbd HooYvY2UKPBHVjtmMNbSzlbfY8AtiOTwXT13hDKryZvm9EdR7PpCTCi7d3laO3yC OCHsaJhz/Se/UWGYSBmbhh9fcnqa9964QiJEx2w3nzzAyube/KyzXR0UQk4J7cBE EGgP938d3/68FT8hHVr/gNV+/eAuaZ0CxCtywaIwxqYXsscYTmJqxK+g3r7K65bV LeiGbOYJUTipqMi/iKn3Xo2TSh0C3CzLlM8T+4F8HA1rmgvT2Lz2/boAgblEdzo9 zMglb8OZuIS7v9Fkf3kW3WIW2OYl5rfqvEnpktbIDyv/zxqnnU0HSyqmy7TMvYg= =f6fQ -----END PGP SIGNATURE----- --j6zkAHxOZJkiczrA--