From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v2 2/4] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings Date: Fri, 9 Jan 2015 17:11:31 +0000 Message-ID: <20150109171131.GH2634@sirena.org.uk> References: <1420799989-10645-1-git-send-email-gregory.clement@free-electrons.com> <1420799989-10645-3-git-send-email-gregory.clement@free-electrons.com> <54AFF7E3.4070506@redhat.com> <54AFFFDC.7020307@free-electrons.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FOk1sPzRVyI5JND9" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org To: Chen-Yu Tsai Cc: Gregory CLEMENT , Hans de Goede , linux-kernel , Thomas Petazzoni , Boris BREZILLON , Jason Cooper , Tawfik Bayouk , Andrew Lunn , devicetree , Antoine =?iso-8859-1?Q?T=E9nart?= , Mark Rutland , Nadav Haklai , linux-ide@vger.kernel.org, Lior Amsalem , Ezequiel Garcia , Tejun Heo , Maxime Ripard , linux-arm-kernel , Sebastian Hesselbarth , Ulf Hansson List-Id: devicetree@vger.kernel.org --FOk1sPzRVyI5JND9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 10, 2015 at 12:29:32AM +0800, Chen-Yu Tsai wrote: > Since the AHCI library code already supports the generic phy subsystem, > with one phy possible for each port node, you could possibly add a > generic phy that just takes a regulator, and hook it up that way. > I don't know if the extra layer of indirection is good or not. > Just offering an alternative. Or if the supply is for the device at the other end of the link (which is what it sounded like) then use that. This just sounds like the same problem we have for all the enumerable buses in embedded systems where we need to be able to understand that the device exists prior to it being fully ready to appear in the system. Having the link/slot be a device in Linux does indeed seem to be a common way people think about doing this, it sounds like for this one it might be the most direct. --FOk1sPzRVyI5JND9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUsAvCAAoJECTWi3JdVIfQTM4H/2UO7wLAPT10oLokFxKC8HXb KP7QN4TELOy1HDifgnj3/qSDMrRehT51hVPq90sFgdzzop/FxEupk+AabC71nm32 w9ggTQejndTbFqr2rRHEKLiMLSvlPWi7kjXTvTSLb3nR0+CTR9cr82dvAbzUgyKo FqvJNZ0DAZrvRnia0roNSslFrVsjZmf+jMFLSA9CbmQ2hKOD1BqIUpe0L4L2R+w9 W/hzs/R89kBcwTfHTvoPD11Omqzz0yT2gIiwGTA5Kh/cKAt5hlclwkmbQagjNGKE sUdte9p/y32SLpS90qT3hYrQsFk5tYTzlFlKkpIBRpFFk4Fh1kaRpO0FDs8+vHo= =4wRN -----END PGP SIGNATURE----- --FOk1sPzRVyI5JND9--