From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753331AbcD0PBT (ORCPT ); Wed, 27 Apr 2016 11:01:19 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:49836 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927AbcD0PBS (ORCPT ); Wed, 27 Apr 2016 11:01:18 -0400 Date: Wed, 27 Apr 2016 16:01:08 +0100 From: Mark Brown To: Hans de Goede Cc: Liam Girdwood , Maxime Ripard , Chen-Yu Tsai , Linux Kernel Mailing List Message-ID: <20160427150108.GU3217@sirena.org.uk> References: <1461765825-15915-1-git-send-email-hdegoede@redhat.com> <1461765825-15915-2-git-send-email-hdegoede@redhat.com> <20160427142432.GR3217@sirena.org.uk> <20160427143711.GT3217@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MEjY+O1DDrZeiiq0" Content-Disposition: inline In-Reply-To: X-Cookie: Tomorrow, you can be anywhere. User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/2] regulator: core: Allow use of "status = disabled" in regulator dts nodes X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MEjY+O1DDrZeiiq0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 27, 2016 at 04:40:05PM +0200, Hans de Goede wrote: > Or, since regulator_of_get_init_data uses for_each_available_child_of_node > which checks the "status" value we can actually already use > "status=disabled" cool. So this simply already works :) To repeat you really shouldn't have *any* DT nodes for regulators that aren't in use, there should be nothing to put in their nodes. If there's anything there that's a sign that your DT has problems. --MEjY+O1DDrZeiiq0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXINQzAAoJECTWi3JdVIfQ9cwH/AkSEAzTyqua8X7blMB59Xzk IrmJwj1dmRd7E9hvq8DkQCK++b3/1dI9s3UgJYhPfVaIdQPm5fq22XEZitrS1lSF JUA9Z5ayebeFchiO5nnszElHdA81oXBUOM7h8rSY790ygir1+JS7XCWMKUEQbJtd xP0xcCjkg6bVawY8zj+ip1kPEINLyF9bny9usNWZGftyxO9Kov+My9DZMqS5l2W9 Y5kNMTLP9LlwmRNiRYmP9rexSwvUMqt0WZ4m7URmYj2Mg63M+uU0B7wL5jHxxsms 5Oj+hGFeZwsRipLLgwbmSzgQm5leoTac1IEVuxqcaai/5Jey+SjGwlWDUoIWWpg= =xrkn -----END PGP SIGNATURE----- --MEjY+O1DDrZeiiq0--